Fixed the junit tests. They now work through the ant script as well as when run directly.

The fix required adding all the build/* folders to the "compile tests" libraries listing as well as moving the junit.jar in that listing to the top of the list.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10644 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rac..om 12 years ago
parent 9b6bd1fdc4
commit 1f111c11ce
  1. 38
      engine/nbproject/project.properties

@ -28,6 +28,24 @@ dist.jar=${dist.dir}/jMonkeyEngine3.jar
dist.javadoc.dir=${dist.dir}/javadoc dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath= endorsed.classpath=
excludes= excludes=
file.reference.build-android=build/android
file.reference.build-blender=build/blender
file.reference.build-bullet=build/bullet
file.reference.build-classes=build/classes
file.reference.build-core=build/core
file.reference.build-desktop=build/desktop
file.reference.build-effects=build/effects
file.reference.build-empty=build/empty
file.reference.build-ios=build/ios
file.reference.build-jbullet=build/jbullet
file.reference.build-jogg=build/jogg
file.reference.build-jogl=build/jogl
file.reference.build-lwjgl=build/lwjgl
file.reference.build-networking=build/networking
file.reference.build-niftygui=build/niftygui
file.reference.build-plugins=build/plugins
file.reference.build-terrain=build/terrain
file.reference.build-test=build/test
file.reference.src-test-data=src/test-data file.reference.src-test-data=src/test-data
includes=** includes=**
jar.archive.disabled=${jnlp.enabled} jar.archive.disabled=${jnlp.enabled}
@ -51,9 +69,27 @@ javac.processorpath=\
javac.source=1.5 javac.source=1.5
javac.target=1.5 javac.target=1.5
javac.test.classpath=\ javac.test.classpath=\
${libs.junit_4.classpath}:\
${javac.classpath}:\ ${javac.classpath}:\
${build.classes.dir}:\ ${build.classes.dir}:\
${libs.junit_4.classpath} ${file.reference.build-core}:\
${file.reference.build-android}:\
${file.reference.build-blender}:\
${file.reference.build-bullet}:\
${file.reference.build-classes}:\
${file.reference.build-desktop}:\
${file.reference.build-effects}:\
${file.reference.build-empty}:\
${file.reference.build-ios}:\
${file.reference.build-jbullet}:\
${file.reference.build-jogg}:\
${file.reference.build-jogl}:\
${file.reference.build-lwjgl}:\
${file.reference.build-networking}:\
${file.reference.build-niftygui}:\
${file.reference.build-plugins}:\
${file.reference.build-terrain}:\
${file.reference.build-test}
javadoc.additionalparam=-protected javadoc.additionalparam=-protected
javadoc.author=false javadoc.author=false
javadoc.encoding=${source.encoding} javadoc.encoding=${source.encoding}

Loading…
Cancel
Save