Thanks for tracking that down. I've fixed it in the bootstrap. The build just produced on the CI machine doesn't duplicate the files anymore.

On 13-Jul-08, at 11:39 AM, Jason van Zyl wrote:


On 13-Jul-08, at 10:56 AM, Benjamin Bentmann wrote:

Benjamin Bentmann wrote:

Sonatype's Hudson instance just started re-building

... and happily failed at running the ITs. The bottom line of the build

Exception in thread "main" java.lang.NoClassDefFoundError: /home/ j2ee-hudson/apache-maven-2/1-SNAPSHOT/boot/plexus-classworlds-1/2- alpha-13/jar

indicates a relation with my change.

I believe I tracked this down to some problematic setup: It appears the bootstrapping is not deleting the previous Maven distribution, i.e. never deletes files but only adds/updates files. Hence, the contents of M2_HOME/boot will be
- plexus-classworlds-1.2-alpha-12.jar (from before) and
- plexus-classworlds-1.2-alpha-13.jar (by my change)

I'll check this as at the bottom of the bootstrap it should delete all the installed files for the installation.

Can I see a tree of the structure it left there? (You can also take a look at the build.xml file in the bootstrap, maybe I mucked up the Ant).



Then the line
-classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
from the Unix shell scripts will pick up both these JARs but separates them with a space, making the later JAR to be interpreted as the main class for the JVM.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

You are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of
dogmas or goals, it's always because these dogmas or
goals are in doubt.

 -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

believe nothing, no matter where you read it,
or who has said it,
not even if i have said it,
unless it agrees with your own reason
and your own common sense.

 -- Buddha


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to