"Nice" feature from BEA ... Jan
> -----Urspr�ngliche Nachricht----- > Von: Peter Reilly [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 9. Mai 2005 12:13 > An: Ant Users List > Betreff: Re: AW: InstantiationException using ant.bat > > Weblogic has it's own ant classess from ant 1.5.x. > This has caused the problem you are seeing for other people. > > Do a jar tf on the weblogic.jar file to see the issue. > > Some people has success by extracting the ant classes from > weblogic.jar - > making a weblogic_noant.jar file. > > Peter > > [EMAIL PROTECTED] wrote: > > >What is your PATH, CLASSPATH and ANT_HOME? > > > >Jan > > > > > > > >>-----Urspr�ngliche Nachricht----- > >>Von: Andreas Bothner [ MTN - Innovation Centre ] > >>[mailto:[EMAIL PROTECTED] > >>Gesendet am: Montag, 9. Mai 2005 11:43 > >>An: [email protected] > >>Betreff: InstantiationException using ant.bat > >> > >> > >>Hi, > >> > >>I extracted ANT 1.6.2 on Windows XP Professional with JDK 1.4.2_05. > >> > >>D:\>ant > >>java.lang.InstantiationException: org.apache.tools.ant.Main > >> at java.lang.Class.newInstance0(Class.java:293) > >> at java.lang.Class.newInstance(Class.java:261) > >> at > org.apache.tools.ant.launch.Launcher.run(Launcher.java:245) > >> at > org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) > >> > >>I then deleted the ANT 1.6.2 folder and extracted ANT 1.6.3 with the > >>same exception when I ran it. > >> > >>However, I also have version 1.5.3 of ANT that was installed > >>as part of > >>the BEA Weblogic 8.1 installation, and this works fine from > >>the command > >>line. > >> > >>What is the problem? > >> > >>Regards, > >>Andreas > >> > >> > >>NOTE: This e-mail message is subject to the MTN Group > >>disclaimer see http://www.mtn.co.za/default.aspx?pid=34411 > >> > >> > >>------------------------------------------------------------ > --------- > >>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] >
