users@glassfish.java.net

Re: Zip files of GF v3 builds

From: Vince Kraemer <Vince.Kraemer_at_Sun.COM>
Date: Mon, 31 Aug 2009 15:56:21 -0700

On 08/31/09 13:19, Paul Sandoz wrote:
>
> On Aug 31, 2009, at 7:16 PM, Vince Kraemer wrote:
>
>> How do you suggest we serve the users that want to merge the new bits
>> over a previous install?
>>
>
> Zip files are not really an appropriate mechanism for directly
> upgrading existing software bits.
>
> Here are five prominent zip files:
>
> http://apache.multidist.com/ant/binaries/apache-ant-1.7.1-bin.zip
>
>
> http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.zip
>
>
>
> http://apache.cict.fr/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip
>
>
>
> http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download
>
>
>
> http://s3.amazonaws.com/dist.springframework.org/snapshot/SPR/spring-framework-3.0.0.CI-207.zip
>
>
> How many of the above unzip into a directory without the version present?

None of the 'release' zips unzip into a directory without an embedded
version. And none of them would be suitable to merge new bits over a
previous 'install' from their nightly counter part (if it existed).

So, what should our users that want to unzip today's build over
yesterday's build do?

vbk

>
> Paul.
>
>
>> vbk
>>
>> On 08/31/09 00:53, Paul Sandoz wrote:
>>>
>>> On Aug 29, 2009, at 10:08 AM, Alexis Moussine-Pouchkine wrote:
>>>
>>>> the v3 zip archive is a very welcome addition to the v2 poor man's
>>>> installer.
>>>> Let's keep this zip what it is, an archive, not an installer.
>>>
>>> Right, and lets correctly name it such that consumers of the archive
>>> don't have to do something extra to avoid merging with a previous
>>> unzipped version e.g. often desktops have a useful feature to
>>> download and unzip, but i cannot use this feature as i do not want
>>> to overwrite the previous version.
>>>
>>> Paul.
>>>
>>>> -Alexis
>>>>
>>>> On Aug 28, 2009, at 23:53, Arun Gupta wrote:
>>>>
>>>>> Ah, depends what you mean by installer :)
>>>>>
>>>>> I meant the layman's installer which pops up the license screen
>>>>> and unzips everything, not the fancy one.
>>>>>
>>>>> I think weekly promotions should have the name embedded in the zip
>>>>> file since most of us download them every week and create our own
>>>>> folders. Stable builds are anyways named, like v3-preview or
>>>>> something similar.
>>>>>
>>>>> -Arun
>>>>>
>>>>> Vince Kraemer wrote:
>>>>>> Actually, Arun is right...
>>>>>> Paul should be using the installer, not the dot-zip file.
>>>>>> problem solved. no code change necessary.
>>>>>> Good save, Arun.
>>>>>> vbk
>>>>>> On 08/28/09 09:13, Arun Gupta wrote:
>>>>>>> +1
>>>>>>>
>>>>>>> There are lots of us who download GlassFish promotions every
>>>>>>> week. Instead of creating my own folder, I'd certainly
>>>>>>> appreciate if GlassFish installer do it for me.
>>>>>>>
>>>>>>> 'Download Now' can perform little bit more magic to keep it
>>>>>>> transparent from the user. Wondering, does it have to because
>>>>>>> there is an option to specify the directory name anyway ?
>>>>>>>
>>>>>>> -Arun
>>>>>>>
>>>>>>> Paul Sandoz wrote:
>>>>>>>>
>>>>>>>> On Aug 28, 2009, at 5:08 PM, vince kraemer wrote:
>>>>>>>>
>>>>>>>>> -1 : adds unnecessary complication to 'Download Now' feature
>>>>>>>>> in Eclipse and NB integration.
>>>>>>>>>
>>>>>>>>
>>>>>>>> It makes my life more complicated as a human consumer of that
>>>>>>>> file having to do a repetitive task that a computer can make
>>>>>>>> easier for me.
>>>>>>>>
>>>>>>>> Cannot the code for 'Download Now' be updated?
>>>>>>>>
>>>>>>>> Paul.
>>>>>>>>
>>>>>>>>> vbk
>>>>>>>>>
>>>>>>>>> Paul Sandoz wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Is it possible to change the way GF v3 builds are zipped up
>>>>>>>>>> so that when you unzip it the contents are placed in a
>>>>>>>>>> directory with the build number?
>>>>>>>>>>
>>>>>>>>>> Currently if i have downloaded say:
>>>>>>>>>> glassfish-v3-preview-b61.zip
>>>>>>>>>> http://download.java.net/glassfish/v3/promoted/glassfish-v3-preview-b61.zip
>>>>>>>>>>
>>>>>>>>>> it will unzip into the directory "glassfishv3" and not into
>>>>>>>>>> the directory "glassfish-v3-preview-b61" as i would expect.
>>>>>>>>>> Thus before i unzip i have to create such a directory and
>>>>>>>>>> place the zip file in there, so i do not overwrite older
>>>>>>>>>> builds of GF i have obtained.
>>>>>>>>>> Paul.