J
junyoung
hi, I am questions to configure an ant to execute a class file.
okay, here is the file structures I have.
|-root --- src/test/A.java
| |
| --- classes/test/A.class
|- build.xml
$> cat A.java
package test;
......
.......
$>
inside of build.xml
.....
<target name="test">
<junit printsummary="yes" haltonfailure="yes">
<test name="test.A" haltonfailure="no" outfile="result">
<formatter type="plain"/>
</test>
</junit>
</target>
.....
to execute the target "test" normally, I have move my build.xml into
root/classes, not root/.
I am sure that you know already the reason.
so, Is there some ways to execute A.class in root directory, not root/
classes.
thanks u.
okay, here is the file structures I have.
|-root --- src/test/A.java
| |
| --- classes/test/A.class
|- build.xml
$> cat A.java
package test;
......
.......
$>
inside of build.xml
.....
<target name="test">
<junit printsummary="yes" haltonfailure="yes">
<test name="test.A" haltonfailure="no" outfile="result">
<formatter type="plain"/>
</test>
</junit>
</target>
.....
to execute the target "test" normally, I have move my build.xml into
root/classes, not root/.
I am sure that you know already the reason.
so, Is there some ways to execute A.class in root directory, not root/
classes.
thanks u.