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 | 1aac35ef41780a6c082989794a6b918d64c91f1f (patch) | |
| tree | b2e4e7342ad3b72a4a45a08afdd69f76b4f92909 /java/module.xml | |
| parent | c78a89e15c31c61d700112ae4a1a02ab2d878deb (diff) | |
| download | qpid-python-1aac35ef41780a6c082989794a6b918d64c91f1f.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/qpid@473283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/module.xml')
| -rw-r--r-- | java/module.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/module.xml b/java/module.xml index e6bb5ba3eb..252871095a 100644 --- a/java/module.xml +++ b/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> |
