dev@glassfish.java.net

Re: FCS build question

From: Michael Bouschen <Michael.Bouschen_at_Sun.COM>
Date: Fri, 07 Apr 2006 15:04:51 +0200

Hi Dinesh,

thanks!

I still have problems with the FCS branch, but maybe I misunderstood the
process. I noticed the branch build instructions do not mention 'maven
bootstrap'. Does this mean 'maven bootstrap' is not supported on the
branch, such that I need to checkout all the source in order to build?

I tried 'maven bootstrap' and it could not find the image to download
(see details below).

Another question:
it tries to find an image called glassfish-image-SNAPSHOT.jar which has
the same name as the image downloaded by 'maven bootstrap' in the trunk.
Maven stores both images in the same local maven repository. So the
branch image would overwrite the trunk image, unless we are using
different groupids for branch and trunk. This implies I cannot have
both: a FCS workspace and a trunk workspace on the same machine.

Here is the output from calling 'maven bootstrap' on the branch:

% maven -b bootstrap
Starting the reactor...
Our processing order:
glassfish
+----------------------------------------
| Downloading SNAPSHOT jar files now glassfish
| Memory: 3M/4M
+----------------------------------------
Attempting to download glassfish-image-SNAPSHOT.jar.
WARNING: Failed to download glassfish-image-SNAPSHOT.jar.

BUILD FAILED
File...... d:\sjsas9\FCS\glassfish\bootstrap\maven.xml
Element... maven:reactor
Line...... 50
Column.... 40
The build cannot continue because of the following unsatisfied dependency:

glassfish-image-SNAPSHOT.jar

Regads Michael

> I just integrated this change, so just follow the instructions
> <https://glassfish.dev.java.net/public/BuildGlassFish.html#Branch> to
> checkout glassfish/bootstrap module from SJSAS90_FCS_BRANCH and
> bootstrap will download FCS snapshot image from
> http://download.java.net/javee5/fcs_branch/nightly location now.
> thanks
> Dinesh
>
> Dinesh Patil wrote:
>
>> Michael, yes we have plan to do this.. Looks like staging is done now,
>> will test it and update the workspace for FCS branch today.
>> thanks
>> Dinesh
>>
>> Michael Bouschen wrote:
>>
>>> Hi Dinesh,
>>>
>>> calling 'maven bootstrap' in a SJSAS90_FCS_BRANCH bootstrap directory
>>> downloads the glassfish SNAPSHOT image:
>>> Attempting to download glassfish-image-SNAPSHOT.jar.
>>>
>>> Are there any plans to change the dependency in the FCS branch to
>>> refer to a FCS build instead of the SNAPSHOT?
>>>
>>> Regards Michael
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>