My project structure is as follows:

Java Code:
Math
|
--- src //contains the source for the project
|
--- test //contains the JUnit test cases for the project
|
--- BuildScripts
          |
           --- build.xml
           --- build.properties
|
--- Config
        |
         --- SystemMessages_en.properties
         --- Messages.properties

Utl
|
--- ResourceHelperUtl //calls java.util.ResourceBundle.getBundle(String baseName, Locale locale)
The parameters passed to getBundle are SystemMessages and en_US. I have a test case that intentionally throws an exception and in the process tries to load the locale specific error message from the SystemMessages_en.properties file contained in the Config directory. I am continually getting an unexpected exception

Caused by: java.util.MissingResourceException: Can't find bundle for base name SystemMessages, locale en_US
at java.util.ResourceBundle.throwMissingResourceExcep tion(ResourceBundle.java:836)
at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:805)
at java.util.ResourceBundle.getBundle(ResourceBundle. java:576)

The ant target that I'm using to run my tests is as follows:
PHP Code:
<target name="run-tests" depends="init">
		<mkdir dir="${test.output.dir}" />
		<junit fork="yes" haltonfailure="no" printsummary="yes">
			<formatter type="xml" usefile="true" />
			<classpath refid="run.classpath" />
			<batchtest todir="${test.output.dir}">
				<fileset dir="${build.dir}">
					<include name="**/*Tests.class" />
				</fileset>
			</batchtest>
		</junit>
		<junitreport todir="${test.output.dir}">
			<fileset dir="${test.output.dir}">
				<include name="TEST*.xml" />
			</fileset>
			<report format="frames" todir="${test.output.dir}" />
		</junitreport>
	</target>
test.output.dir is ../TestResults and build.dir is testBinaries
The base directory for my build script is ../

The classpath from the JUnit generated report is
Java Code:
/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/myProject/myProject.utl.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/ant-opencms-1.0.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/axis/axis-ant-1.4.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/dom4j/dom4j-1.6.1.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/fest/fest-assert-1.0a1.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/fest/fest-util-0.4.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/hivemind-1.1.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/janino/janino.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/jaxen/jaxen-1.1.1.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/jep/jep-2.4.0.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/junit/junit-4.3.1.jar:/home/adamd/WorkspaceRoot/MathJava/ThirdParty/Binaries/Buildtime/log4j/log4j-1.2.14.jar:/home/adamd/WorkspaceRoot/MathJava/Binaries/myProject.math.jar:/home/adamd/WorkspaceRoot/MathJava/testBinaries/myProject.math.junit.jar:/home/adamd/WorkspaceRoot/MathJava/Config/Messages.properties:/home/adamd/WorkspaceRoot/MathJava/Config/SystemMessages_en_US.properties:/home/adamd/Applications/eclipse/plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-launcher.jar:/home/adamd/Applications/eclipse/plugins/org.apache.ant_1.7.0.v200706080842/lib/ant.jar:/home/adamd/Applications/eclipse/plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-junit.jar
I feel like the error I'm getting is surely a classpath issue but I can't seem to figure out why. The test runs fine when executing through eclipse with the "Run as JUnit test" option.

I also posted this on the forum at JUnit.org