Author: nickboldt
Date: 2010-10-04 12:32:31 -0400 (Mon, 04 Oct 2010)
New Revision: 25461
Modified:
trunk/build/target-platform/targetUpdateFromRepo.xml
Log:
add help target to expose useful commandline options
Modified: trunk/build/target-platform/targetUpdateFromRepo.xml
===================================================================
--- trunk/build/target-platform/targetUpdateFromRepo.xml 2010-10-04 16:30:33 UTC (rev
25460)
+++ trunk/build/target-platform/targetUpdateFromRepo.xml 2010-10-04 16:32:31 UTC (rev
25461)
@@ -1,12 +1,22 @@
-<project default="custom.build" name="jbosstools target platform
pom.xml + site.xml generator">
+<project default="custom.build" name="jbosstools target platform
updater">
+
+ <!-- must set these commandline if not using defaults -->
+ <property name="targetFile" value="e361-wtp322.target" />
+ <property name="repoDir" value="./REPO" />
+
<property name="tmpDir"
value="${java.io.tmpdir}/targetUpdateFromRepo" />
- <property name="targetFile" value="e361-wtp322.target" />
- <property name="repoDir" value="./REPO_SR1" />
<property name="outputDir" value="${basedir}" />
<!-- Instead of overwriting, can also create a new .target file in a different
outputDir
<property name="outputDir" value="${tmpDir}" />
-->
+ <target name="help">
+ <echo>Must set these properties (or use defaults shown):
+
+ ant -f targetUpdateFromRepo.xml -DrepoDir=${repoDir} \
+ -DtargetFile=${targetFile}</echo>
+ </target>
+
<target name="custom.build" depends="check.content.xml,
get.content.xml, copy.content.xml, contentXml2artifactVersions.xsl,
target2targetTemplate.xsl, updateTargetFile, cleanup" />
<target name="check.content.xml" description="if content.jar, unpack
to get content.xml">
Show replies by date