ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: AW: InstantiationException using ant.bat
Date Mon, 09 May 2005 10:21:16 GMT
"Nice" feature from BEA ...

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Peter Reilly [mailto:peterreilly@apache.org]
> 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
> 
> Jan.Materne@rzf.fin-nrw.de wrote:
> 
> >What is your PATH, CLASSPATH and ANT_HOME?
> >
> >Jan
> >
> >  
> >
> >>-----Urspr√ľngliche Nachricht-----
> >>Von: Andreas Bothner [ MTN - Innovation Centre ]
> >>[mailto:Bothne_A@mtn.co.za]
> >>Gesendet am: Montag, 9. Mai 2005 11:43
> >>An: user@ant.apache.org
> >>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: user-unsubscribe@ant.apache.org
> >>For additional commands, e-mail: user-help@ant.apache.org
> >>
> >>    
> >>
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message