Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » ant build parameters
ant build parameters [message #201516] Wed, 20 April 2005 20:08
Eclipse UserFriend
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.
Previous Topic:Ant Run menu missing on 3.1M6
Next Topic:How does the JDT do really cool Javadoc TextHover??
Goto Forum:
  


Current Time: Wed Jul 17 23:30:39 GMT 2024

Powered by FUDForum. Page generated in 0.03647 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top