Would it make sense to pack i18nedit.properties in the core .jar so that we can read the list of supported locales from it? Right now we have this list in at least three places (the GUI, the bean resources tests, the resources/messages.properties test).
-- Salut,
Jordi.
En/na BAZLEY, Sebastian ha escrit:
Hopefully this will fix the following Gump test error:
2004/01/21 12:51:13 ERROR - jorphan.test.AllTests: error adding test : java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.jorphan.test.AllTests.suite(AllTests.java:339) at org.apache.jorphan.test.AllTests.main(AllTests.java:201) Caused by: java.lang.Error: No default bundle for class org.apache.jmeter.timers.ConstantThroughputTimer at org.apache.jmeter.testbeans.gui.PackageTest.suite(PackageTest.java:219)
In case you have not seen the error in local testing, and are wondering why, this is probably because: - by default Eclipse (and other IDEs?) copies properties files to the build directory - previously, when building components and other jars, build.xml slurped up all the contents of the build sub-tree.
The change also means that the i18nEdit .metaprop files are no longer put in the jars.
If you are using Eclipse, you might want change the project properties to suppress the copying non-java source files to the build directory. Makes it easier to find files using Ctrl+Shift+R.
S.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 15:54 To: [EMAIL PROTECTED] Subject: cvs commit: jakarta-jmeter build.xml
sebb 2004/01/21 07:54:07
Modified: . build.xml Log: Tweaks to jar creation:
- only classes are now picked up from build tree
- properties are now picked up from all branches of source tree
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
