ant build parameters [message #201516] |
Wed, 20 April 2005 16:08 |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
I have a plugin project which builds under, and requires, a 1.5 JRE. It is
in a workspace whose default settings are (necessarily) for 1.4.
When I generate an ant build script for the project, and try to run it, it
fails unless I go into the "Run As... -> Ant Build..." settings Properties
tab and manually change the bootclasspath property point to 1.5 jar files.
Simply selecting a 1.5 JRE in the JRE tab is *not* sufficient. The failures
I get are compiler failures, apparently due to not finding java.lang.Enum (a
1.5-only class) in rt.jar.
So I have a couple of questions.
1. Why isn't it enough to set the JRE to 1.5?
2. Where is this information stored, so that I can make sure the other
developers on the team are getting the same build properties when they
build?
3. It seems that if I regenerate the build.xml, the ant Run As settings get
blown away. Is that the right interpretation of events, and how can I get
them to be set correctly and then stay that way?
Thanks!
Walter Harley
BEA Systems Inc.
|
|
|
Powered by
FUDForum. Page generated in 0.03033 seconds