| |||||||||||||||||||||||
| |||||||||||||||||||||||
| [CHAG-607] - Codebeamer 的 ANT 核心是否可指定外部JDK版本 |
| Tracker: | Feature Request or Question | Priority: | Normal | Status: | -- |
| Category: | -- | Severity: | -- | Resolution: | -- |
| Detected Version: | -- | Target Version: | -- |
| Description: | |
| Details: | |
| Submitted | Comment | ||
|---|---|---|---|
|
jeffery Apr 04 2008 14:16 |
Write the follwing javac target inside your "compile" target,
runtime-libs:: It will point your project lib directory. declared in properties.
<javac
bootclasspath="${runtime-libs}/rt.jar"
target="1.3"
source="1.3"
includeJavaRuntime="false"
includeAntRuntime="false"
debug="yes"
destdir="${build-dir}">
<classpath refid="project.class.path"/>
<src path="${code}"/>
</javac>
|
||
|
jeffery Apr 02 2004 22:00 |
it not possible to configure CodeBeamer which JDK should be used for an ant build, however you can start an external script from the ant script started by CodeBeamer and in that script you can start an other ant script (or whatever) with a user specific JDK. |