summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2009-11-11 14:47:22 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2009-11-11 14:47:22 +0100
commitb8cd09dd64e2b6cb843daa5b4aeaaaee77859068 (patch)
treef4cd88d5726c48cc778e107c81ac18983e887c15 /build
parentc40129413685624adb9646b3ade4b975eaf83c10 (diff)
[Build]Added java.nobuild and cpp.nobuild params
Add the -Dcpp.nobuild=true or -Djava.nobuild=true to the ant command line to unactivate the build of the cpp or java plugin.
Diffstat (limited to 'build')
-rw-r--r--build/build.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/build/build.xml b/build/build.xml
index fd53b36..ad30bd8 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -52,6 +52,13 @@
-Dopenoffice.home=/path/to/your/ooo/
-Declipse.home=/path/to/your/eclipse/
+ To disable the build of a language plugin, define the corresponding
+ variable amongst the following ones. By default all the plugins are
+ built. The value of these parameters can be anything: they only have
+ to be defined.
+ -Dcpp.nobuild=true
+ -Djava.nobuild=true
+
These arguments can be either put in the command line or in an
environment variable called ANT_ARGS.
@@ -114,18 +121,12 @@
<mkdir dir="${out.path}/plugins" />
<mkdir dir="${out.path}/features" />
</target>
-
- <target name="clean" description="Cleans the temporary output results"
- depends="init-env, core.clean, java.clean, cpp.clean">
- <delete dir="${out.path}" />
- </target>
<target name="purge" description="Cleans all the output results"
- depends="clean, core.purge, java.purge, cpp.purge">
+ depends="core.purge, java.purge, cpp.purge">
<delete file="ooeclipseintegration_site.zip" />
</target>
-
<target name="site" depends="init-env, core.site, java.site, cpp.site"
description="Creates the Eclipse update site">