java - Error during ant startting -



java - Error during ant startting -

i want run ant as:

$java_home/bin/java -xmx512m -djavax.xml.parsers.saxparserfactory=org.apache.xerces.jaxp.saxparserfactoryimpl -classpath $test_home/implementation/lib/dbflux3.1.5.jar:$java_home/lib/tools.jar:$classpath org.apache.tools.ant.main -buildfile build.xml $*

my classpath variable is

echo $classpath

/opt/oracle/middleware/modules/org.apache.ant_1.7.0/lib/ant.jar

when starting ant.sh as

./ant.sh test

i error:

the java class not found: org/apache/tools/ant/launch/antmain

how can prepare it? or can read it?

i read jdk development tools documenation, didn't find reply issue.

thanks.

update.

thanks help suresh sajja. reply might found on

https://ant.apache.org/manual/running.html

running ant via java

java unix ant

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -