0

hi

these days im trying to use ANT build tool.

but when runing a given example in ant documentation it will give an error

build process is success

when try to execute the following target

[COLOR=Sienna]<target name="run" depends="jar">
        <java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/>
    </target>

it will give the following error

<target name="run" depends="jar">
        <java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/>
    </target>

please any one can help me thanks.........!

Edited by happygeek: fixed formatting

3
Contributors
5
Replies
6
Views
10 Years
Discussion Span
Last Post by jwenting
0

same kid posted the much the same thing a few days ago. He doesn't want to cooperate in solving his problem.

0

same kid posted the much the same thing a few days ago. He doesn't want to cooperate in solving his problem.

Yup, found that.

0

oh i am very sory...
this is the error


run:
[java] java.lang.NoClassDefFoundError: oata/HelloWorld
[java] Exception in thread "main"
[java] Java Result: 1

main:

BUILD SUCCESSFUL

thanks...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.