On Saturday, January 15, 2011 23:38:46 Wade Walker [via jogamp] wrote:
>
> Hi guys,
>
> I noticed when I download
>
https://jogamp.org/deployment/webstart/gluegen-rt.jar, the file actually
> downloads as gluegen-rt.gz. This seems a bit odd -- is it meant to be this
> way? I figured it out quickly enough, but it seems like it might be
> off-putting to new users.
This is due to our .htaccess in the deployment folder:
+++
AddType application/x-java-archive .jar
AddType application/x-java-archive-diff .jardiff
AddType application/x-java-jnlp-file .jnlp
<Files *.jar.pack.gz>
AddEncoding pack200-gzip .jar
RemoveEncoding .gz
</Files>
RewriteEngine on
RewriteCond %{HTTP:Accept-Encoding} pack200-gzip
RewriteCond %{REQUEST_FILENAME}.pack.gz -f
RewriteRule ^(.*\.jar)$ $1.pack.gz [NC,L]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{REQUEST_FILENAME}.gz -f
RewriteRule ^(.*\.jar)$ $1.gz [NC,L]
+++
1) pack200-gzip
2) gz
3) jar
>
> Also, it seems strange to have half the files jarred, and half of them
> gzipped, and to have them all separate. Couldn't we just make one zip for
> each platform like we have for autobuilds?
we do have this, of course - look in 'archive'
http://jogamp.org/deployment/webstart/archive/Hope this helps.
~Sven