| Summary: | Eclipse does not respect JVM settings when starting Ant | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Eugene Kuleshov <ekuleshov> |
| Component: | Ant | Assignee: | Platform-Ant-Inbox <platform-ant-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | ||
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Eugene Kuleshov
The existing possibilities: you can configure your javac task to compile to a 1.3 compatible target (see the documentation for the Ant javac task about the "source" and "target" attributes) you can specify an alternate JRE for an Ant build using the JRE tab for the Ant launch configuration (just like Java apps and unit tests). Thank you for the hints. The only suggestion I have is to make such JVM settings not project specific, but global. And then allow to overwite it on a project level. Usually entire workspace has to be build on a similar manner. |