dev@glassfish.java.net

Re: "maven checkout" broken for modules

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Mon, 14 May 2007 17:27:59 -0700

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?

>> 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.

Have I done something to corrupt my workspace?