diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2006-11-10 09:23:19 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2006-11-10 09:23:19 +0000 |
| commit | 44c78cb8b3d8433f0a64fc33badaa9961c6cd00d (patch) | |
| tree | b2a97f2f2970fa40314bddfa9615c6b68e06033e /qpid/java/module.xml | |
| parent | cfc96dbe537f818c80d5d2859fe8ac0a883d710d (diff) | |
| download | qpid-python-44c78cb8b3d8433f0a64fc33badaa9961c6cd00d.tar.gz | |
Created module.vm.version to set X-Compile-Source-JDK in jars default is 1.4 Broker overrides to 1.5
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@473283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/module.xml')
| -rw-r--r-- | qpid/java/module.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/java/module.xml b/qpid/java/module.xml index e6bb5ba3eb..252871095a 100644 --- a/qpid/java/module.xml +++ b/qpid/java/module.xml @@ -200,12 +200,14 @@ <manifest file="${module.manifest}"> <attribute name="Main-Class" value="${module.main}"/> <attribute name="Class-Path" value="${module.manifest.classpath}"/> + <attribute name="X-Compile-Source-JDK" value="${module.vm.version}"/> </manifest> </target> <target name="manifest-lib" unless="module.main"> <manifest file="${module.manifest}"> <attribute name="Class-Path" value="${module.manifest.classpath}"/> + <attribute name="X-Compile-Source-JDK" value="${module.vm.version}"/> </manifest> </target> @@ -220,6 +222,10 @@ </and> </condition> + <condition property="module.vm.version" value="${module.vm.version}" else="1.4"> + <isset property="module.vm.version"/> + </condition> + <condition property="dist.destlib.dir" value="${dist.dest.dir}/${lib.dir}"> <isset property="dist.dest.dir"/> </condition> |
