dev@glassfish.java.net

Re: "maven checkout" broken for modules

From: Dinesh Patil <Dinesh.Patil_at_Sun.COM>
Date: Mon, 14 May 2007 17:54:11 -0700

Bill Shannon wrote:

> Dinesh Patil wrote:
>
>> Bill Shannon wrote:
>>
>>> It seems that some recent updates broke by module build instructions.
>>> When I try to do a "maven -Dmodules=activation,mail checkout" I get:
>>>
>>> [echo] ----------------------------------
>>> [echo] - Checking out GlassFish modules -
>>> [echo] ----------------------------------
>>> [echo] WARNING: Invalid CVS module: activation
>>> [echo] WARNING: Invalid CVS module: mail
>>>
>> Just now I ran "maven -Dmodules=activation,mail checkout" after
>> checking out "glassfish/bootstrap" module, and see following.
>>
>> [cvs] U
>> glassfish/mail/src/java/javax/mail/util/SharedFileInputStream.java
>> [cvs] U glassfish/mail/src/java/javax/mail/util/package.html
>> build:end:
>> [echo] ----------------------------------
>> [echo] - Checking out GlassFish modules -
>> [echo] ----------------------------------
>> [echo] WARNING: Invalid CVS module: activation
>> [echo] WARNING: Invalid CVS module: mail
>> BUILD SUCCESSFUL
>>
>> Two modules: activation, mail are checked out successfully, last two
>> statements are WARNING, which can be fixed by merging those PE, EE
>> module-list variables (but can be ignored as these are not any severe
>> issues, just a warning)
>
>
> Well, except that the warning is wrong. Can someone please fix it
> to not produce the warning in this case?

yes I will fix this.

>>> After fixing that in my build script the build then fails with:
>>
>>
>> what did you fix here? and later which command you run to expose
>> following error message?
>
>
> I changed "checkout" to "checkout-pe". After that I did
> "maven bootstrap build". The bootstrap works, but the
> build fails.

We don't use any "-pe" goals now, instructions are updated for this.
You checked out only 2 modules by passing -Dmodules flag, but while
building you are trying to build all the modules by not passing
-Dmodules flag (which is default case)

    It seems that some recent updates broke by module build instructions.
    When I try to do a "maven -Dmodules=activation,mail checkout" I get:

so if you do "maven -Dmodules=activation,mail clobber bootstrap build"
build will go through fine. You may have to run "clobber" again to
cleanup any corrupted glassfish image.
thanks
Dinesh

> Have I done something to corrupt my workspace?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>