This content has been marked as final.
Show 3 replies
-
1. Re: Missing junit.jar lib in ant tests
ropalka Apr 2, 2008 8:42 AM (in response to adinn)"adinn" wrote:
I tried this but I get another problem because tools/ant/bin/ant unpacks without execute permission so the call to search() fails to find it. n.b. this is not a problem with the unpack -- the permissions in the zip file entry do not include execute.
Yes, after unpack of src or binary distribution, users have to chmod 755 these files:
./build.sh
./tools/ant/bin/ant
./tools/ant/bin/antRun -
2. Re: Missing junit.jar lib in ant tests
tmt Apr 26, 2008 6:47 AM (in response to adinn)Hi,
<target name="tests-init" depends="prepare,tests-classpath"> <path id="ws.stack.classpath"> ... </path> <path id="tests.extra.classpath"> <pathelement location="${thirdparty.dir}/policy.jar"/> <pathelement location="${thirdparty.dir}/jaxws-tools.jar"/> <pathelement location="${thirdparty.dir}/wstx.jar"/> <pathelement location="${basedir}/tools/lib/junit.jar"/> </path> </target>
There's no such a thing, tools/lib/junit.jar.
By creating the folder and putting the junit jar file, the compiler problem was solved.
Thanks,
Takenori -
3. Re: Missing junit.jar lib in ant tests
ropalka Apr 26, 2008 9:54 AM (in response to adinn)You can also use ./build.sh(.bat) files instead of ant to run the tests ;)