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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to