ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30611] - java.lang.InstantiationException - starting ANT
Date Fri, 13 Aug 2004 00:18:56 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30611>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30611

java.lang.InstantiationException - starting ANT





------- Additional Comments From mombasa@ptolemy.arc.nasa.gov  2004-08-13 00:18 -------
The problem occurs with having "weblogic.jar" in the classpath. This does have
the weblogic ANT tasks in the packaging, but does not have the ANT classes as
found in an "ant.jar" file.

 However when I add the ANT 1.6 jar file (repackaged with "Class-path" defined
in the MANIFEST.MF to include the 31 other ant optional jar files) ahead in the
classpath as follows:

setenv CLASSPATH ${ANT_HOME}/lib/ant.jar:${CLASSPATH}

 I see the following :

${ANT_HOME}/bin/ant -h
/usr/people/cip/local/apache/apache-ant-1.6.2/bin/ant [script options] [options]
[target [target2 [target3] ..]]
Script Options:
  --help, --h            print this message and ant help
  --noconfig             suppress sourcing of /etc/ant.conf,
                         $HOME/.ant/ant.conf, and $HOME/.antrc
                         configuration files
  --usejikes             enable use of jikes by default, unless
                         set explicitly in configuration files
  --execdebug            print ant exec line generated by this
                         launch script
  
Invalid implementation version between Ant core and Ant optional tasks.
 core    : 1.6.2
 optional: 1.5


 I'm not clear how I really ensure that what was once the "optional.jar"

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message