summaryrefslogtreecommitdiff
path: root/qpid/java/common.xml
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2011-04-05 09:49:14 +0000
committerRobert Gemmell <robbie@apache.org>2011-04-05 09:49:14 +0000
commit46af59d8cf7b8ab05e0a3e4db969d19c791deaed (patch)
treee4a4a8f1de1825add864bb015ca8b36f58879fdf /qpid/java/common.xml
parent2b13c21b7bbe49834703b3ec882750e5afc74ecc (diff)
downloadqpid-python-46af59d8cf7b8ab05e0a3e4db969d19c791deaed.tar.gz
QPID-3181: addition of new task 'eclipse' to the Java build system to support the creation of .classpath and .project files for the Eclipse IDE. Relies on http://ant-eclipse.sourceforge.net/
Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088946 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common.xml')
-rw-r--r--qpid/java/common.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/qpid/java/common.xml b/qpid/java/common.xml
index a8d9c0dea4..30a442c90c 100644
--- a/qpid/java/common.xml
+++ b/qpid/java/common.xml
@@ -63,6 +63,11 @@
<property name="mllib.dir" value="${project.root}/../python" />
<property name="findbugs.dir" value="${project.root}/lib/findbugs" />
+ <!-- properties used to control Ant Eclipse for Eclipse classpath/project files etc -->
+ <property name="eclipse.updatealways" value="false"/>
+ <property name="eclipse.compilercompliance" value="5.0"/>
+ <property name="eclipse.container" value="JVM 1.5"/>
+
<path id="cobertura.classpath">
<fileset dir="${cobertura.dir}">
<include name="cobertura.jar" />
@@ -322,6 +327,20 @@
results directory:
${build.results}
+
+ ant eclipse
+
+ Generates project and classpath files for the Eclispe IDE. Requires that
+ the Ant Eclipse task (http://ant-eclipse.sourceforge.net/) has been installed
+ in $ANT_HOME/lib.
+
+ The following system properties will be passed to the task. These can be usefully
+ overridden from the command line.
+
+ eclipse.updatealways - forces Eclipse files to be regenerated even if they are newer then the build.xml (default ${eclipse.updatealways}).
+ eclipse.container - controls the Eclipse container (default ${eclipse.container}).
+ eclipse.compilercompliance" - controls the Eclipse compiler compliance (default ${eclipse.compilercompliance}).
+
</echo>
</target>