Maybe you have no ant-optional-x.y.jar in that repo??? Or a bad one....try 
blowing it away.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"David Zeleznik" <[EMAIL PROTECTED]> wrote on 02/04/2003 07:13:18 AM:

> Hi Jason,
> 
> I have done some more testing. FYI, my environment is Win2000, Ant 
1.5.2,
> and jUnit 3.8.1.
> 
> > > > > After using beta8 for several weeks, I tried unsuccessfully
> > > > several times to
> > > > > build Maven from source. In the end, I discovered that if you 
have a
> > > > > ${user.home}/build.properties file, this must be deleted or
> > temporarilly
> > > > > renamed before starting the bootstrap build.
> > > >
> > > > No, it does not. I have a ~/build.properties file and I bootstrap 
all
> > > > the time.
> > >
> > > Are you defining maven.repo.local to point to a directory other than
> > > $MAVEN_HOME/repository? This seemed to be the problem for me.
> >
> > Yes I am.
> 
> Yes, I confirm. I am able to point maven.repo.local to an initially 
empty
> directory and the bootstrap builds okay. However, if maven.repo.local 
points
> to the local repo I was using with beta8, then I get the following 
failure
> building the plugins:
> 
>      [echo]
> +------------------------------------------------------------------+
>      [echo] |
> |
>      [echo] | B U I L D I N G  T H E  P L U G I N S
> |
>      [echo] |
> |
>      [echo]
> +------------------------------------------------------------------+
>      [echo]
>      [exec] java.lang.reflect.InvocationTargetException
>      [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>      [exec]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:39)
>      [exec]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>      [exec]     at java.lang.reflect.Method.invoke(Method.java:324)
>      [exec]     at com.werken.forehead.Forehead.run(Forehead.java:543)
>      [exec]     at com.werken.forehead.Forehead.main(Forehead.java:573)
>      [exec] Caused by: java.lang.NoClassDefFoundError:
> org/apache/tools/ant/task
> defs/optional/junit/FormatterElement$TypeAttribute
>      [exec]     at
> org.apache.commons.jelly.tags.ant.AntTagLibrary.<clinit>(AntT
> agLibrary.java:120)
>      [exec]     at
> org.apache.maven.jelly.tags.jeez.JeezTagLibrary.<init>(JeezTa
> gLibrary.java:32)
>      [exec]     at
> org.apache.maven.jelly.tags.jeez.MavenJeezTagLibrary.<init>(M
> avenJeezTagLibrary.java:73)
>      [exec]     at
> org.apache.maven.jelly.MavenJellyContext.initializeContext(Ma
> venJellyContext.java:141)
>      [exec]     at
> org.apache.maven.jelly.MavenJellyContext.<init>(MavenJellyCon
> text.java:104)
>      [exec]     at
> org.apache.maven.MavenUtils.createContext(MavenUtils.java:806
> )
>      [exec]     at
> org.apache.maven.MavenUtils.createContext(MavenUtils.java:738
> )
>      [exec]     at
> org.apache.maven.cli.App.initializeRootContext(App.java:342)
>      [exec]     at org.apache.maven.cli.App.initialize(App.java:281)
>      [exec]     at org.apache.maven.cli.App.doMain(App.java:447)
>      [exec]     at org.apache.maven.cli.App.main(App.java:1080)
>      [exec]     ... 6 more
>      [echo]
>      [echo]
> +------------------------------------------------------------------+
> 
> The bootstrap build ignores this initial error and continues until it 
later
> trips over its own feet trying to build itself:
> 
>      [echo]
> +------------------------------------------------------------------+
>      [echo] |
> |
>      [echo] | B U I L D I N G  M A V E N  W I T H  I T S E L F
> |
>      [echo] |
> |
>      [echo]
> +------------------------------------------------------------------+
>      [echo]
>      [exec] java.lang.reflect.InvocationTargetException
>      [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>      [exec]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:39)
>      [exec]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>      [exec]     at java.lang.reflect.Method.invoke(Method.java:324)
>      [exec]     at com.werken.forehead.Forehead.run(Forehead.java:543)
>      [exec]     at com.werken.forehead.Forehead.main(Forehead.java:573)
>      [exec] Caused by: java.lang.NoClassDefFoundError:
> org/apache/tools/ant/task
> defs/optional/junit/FormatterElement$TypeAttribute
>      [exec]     at
> org.apache.commons.jelly.tags.ant.AntTagLibrary.<clinit>(AntT
> agLibrary.java:120)
>      [exec]     at
> org.apache.maven.jelly.tags.jeez.JeezTagLibrary.<init>(JeezTa
> gLibrary.java:32)
>      [exec]     at
> org.apache.maven.jelly.tags.jeez.MavenJeezTagLibrary.<init>(M
> avenJeezTagLibrary.java:73)
>      [exec]     at
> org.apache.maven.jelly.MavenJellyContext.initializeContext(Ma
> venJellyContext.java:141)
>      [exec]     at
> org.apache.maven.jelly.MavenJellyContext.<init>(MavenJellyCon
> text.java:104)
>      [exec]     at
> org.apache.maven.MavenUtils.createContext(MavenUtils.java:806
> )
>      [exec]     at
> org.apache.maven.MavenUtils.createContext(MavenUtils.java:738
> )
>      [exec]     at
> org.apache.maven.cli.App.initializeRootContext(App.java:342)
>      [exec]     at org.apache.maven.cli.App.initialize(App.java:281)
>      [exec]     at org.apache.maven.cli.App.doMain(App.java:447)
>      [exec]     at org.apache.maven.cli.App.main(App.java:1080)
>      [exec]     ... 6 more
> 
> The only thing I can guess is that some dependency cached by beta8 in my
> local repo is somehow satisfying a beta9 dependency, but is incompatible
> with it. Note, that when I do a bootstrap build against my beta8 local 
repo,
> I do not see any new downloads from ibiblio. I hope this helps pinpoint 
the
> issue for you. Regards,
> 
> --------------------------------------
> David Zeleznik
> ILOG - Changing the rules of business
> mailto:[EMAIL PROTECTED]
> http://www.ilog.com
> --------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to