You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.xml 23 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. <?xml version="1.0"?>
  2. <!--
  3. =======================================================================
  4. Ant own build file
  5. =======================================================================
  6. -->
  7. <project name="Ant" default="main" basedir=".">
  8. <!-- Give user a chance to override without editing this file
  9. (and without typing -D each time it compiles it) -->
  10. <property file=".ant.properties" />
  11. <property file="${user.home}/.ant.properties" />
  12. <property name="Name" value="Ant"/>
  13. <property name="name" value="ant"/>
  14. <property name="version" value="1.4alpha"/>
  15. <property name="debug" value="false" />
  16. <property name="deprecation" value="false" />
  17. <property name="optimize" value="true" />
  18. <property name="junit.fork" value="false" />
  19. <!--
  20. ===================================================================
  21. Set the properties related to the source tree
  22. ===================================================================
  23. -->
  24. <property name="src.dir" value="src"/>
  25. <property name="java.dir" value="${src.dir}/main"/>
  26. <property name="script.dir" value="${src.dir}/script"/>
  27. <property name="lib.dir" value="lib"/>
  28. <property name="docs.dir" value="docs"/>
  29. <property name="tests.dir" value="src/testcases"/>
  30. <property name="tests.etc.dir" value="src/etc/testcases"/>
  31. <property name="ant.package" value="org/apache/tools/ant"/>
  32. <property name="optional.package" value="${ant.package}/taskdefs/optional"/>
  33. <property name="manifest" value="src/etc/manifest"/>
  34. <!--
  35. ===================================================================
  36. Set the properties for the build area
  37. ===================================================================
  38. -->
  39. <property name="build.dir" value="build"/>
  40. <property name="bootstrap.dir" value="bootstrap"/>
  41. <property name="build.classes" value="${build.dir}/classes"/>
  42. <property name="build.lib" value="${build.dir}/lib"/>
  43. <property name="build.javadocs" value="${build.dir}/javadocs"/>
  44. <property name="build.tests" value="${build.dir}/testcases"/>
  45. <path id="classpath">
  46. </path>
  47. <path id="tests-classpath">
  48. <pathelement location="${build.classes}" />
  49. <pathelement location="${build.tests}" />
  50. <path refid="classpath" />
  51. </path>
  52. <!--
  53. ===================================================================
  54. Set up properties for the distribution area
  55. ===================================================================
  56. -->
  57. <property name="dist.name" value="jakarta-${name}-${version}"/>
  58. <property name="dist.base" value="distribution"/>
  59. <property name="defaultdist.dir" value="dist"/>
  60. <target name="setup-distproperties">
  61. <property name="dist.dir" value="${defaultdist.dir}"/>
  62. <property name="dist.bin" value="${dist.dir}/bin"/>
  63. <property name="dist.lib" value="${dist.dir}/lib"/>
  64. <property name="dist.docs" value="${dist.dir}/docs"/>
  65. <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
  66. <property name="src.dist.dir" value="dist-src"/>
  67. <property name="src.dist.src" value="${src.dist.dir}/src"/>
  68. <property name="src.dist.docs" value="${src.dist.dir}/docs"/>
  69. <property name="src.dist.lib" value="${src.dist.dir}/lib"/>
  70. </target>
  71. <!--
  72. ===================================================================
  73. Check to see what optional dependencies are available
  74. ===================================================================
  75. -->
  76. <target name="check_for_optional_packages">
  77. <available property="jdk1.2+" classname="java.lang.ThreadLocal" />
  78. <available property="jdk1.3+" classname="java.lang.StrictMath" />
  79. <available property="bsf.present"
  80. classname="com.ibm.bsf.BSFManager"
  81. classpathref="classpath" />
  82. <available property="netrexx.present"
  83. classname="netrexx.lang.Rexx"
  84. classpathref="classpath" />
  85. <available property="xslp.present"
  86. classname="com.kvisco.xsl.XSLProcessor"
  87. classpathref="classpath" />
  88. <available property="trax.present"
  89. classname="javax.xml.transform.Transformer"
  90. classpathref="classpath" />
  91. <available property="xalan.present"
  92. classname="org.apache.xalan.xslt.XSLTProcessorFactory"
  93. classpathref="classpath" />
  94. <available property="ejb.ejbc.present"
  95. classname="weblogic.ejbc"
  96. classpathref="classpath" />
  97. <available property="ejb.DDCreator.present"
  98. classname="weblogic.ejb.utils.DDCreator"
  99. classpathref="classpath" />
  100. <available property="ejb.wls.present"
  101. classname="weblogic.Server"
  102. classpathref="classpath" />
  103. <available property="junit.present"
  104. classname="junit.framework.TestCase"
  105. classpathref="classpath" />
  106. <available property="netcomp.present"
  107. classname="com.oroinc.net.ftp.FTPClient"
  108. classpathref="classpath" />
  109. <available property="starteam.present"
  110. classname="com.starbase.util.Platform"
  111. classpathref="classpath" />
  112. <available property="antlr.present"
  113. classname="antlr.Tool"
  114. classpathref="classpath"/>
  115. <available property="vaj.present"
  116. classname="com.ibm.ivj.util.base.Workspace"
  117. classpathref="classpath"/>
  118. <available property="stylebook.present"
  119. classname="org.apache.stylebook.Engine"
  120. classpathref="classpath"/>
  121. <available property="jakarta.regexp.present"
  122. classname="org.apache.regexp.RE"
  123. classpathref="classpath"/>
  124. <available property="jakarta.oro.present"
  125. classname="org.apache.oro.text.regex.Perl5Matcher"
  126. classpathref="classpath" />
  127. <available property="jmf.present"
  128. classname="javax.sound.sampled.Clip"
  129. classpathref="classpath"/>
  130. </target>
  131. <!--
  132. ===================================================================
  133. Prepare the build
  134. ===================================================================
  135. -->
  136. <target name="prepare">
  137. <tstamp />
  138. </target>
  139. <!--
  140. ===================================================================
  141. Build the code
  142. ===================================================================
  143. -->
  144. <target name="build" depends="prepare, check_for_optional_packages">
  145. <mkdir dir="${build.dir}"/>
  146. <mkdir dir="${build.classes}"/>
  147. <mkdir dir="${build.lib}"/>
  148. <javac srcdir="${java.dir}"
  149. destdir="${build.classes}"
  150. debug="${debug}"
  151. deprecation="${deprecation}"
  152. optimize="${optimize}" >
  153. <classpath refid="classpath" />
  154. <exclude name="${ant.package}/util/regexp/JakartaRegexpMatcher.java"
  155. unless="jakarta.regexp.present" />
  156. <exclude name="${ant.package}/util/regexp/JakartaOroMatcher.java"
  157. unless="jakarta.oro.present" />
  158. <exclude name="${optional.package}/Script.java" unless="bsf.present" />
  159. <exclude name="${optional.package}/StyleBook.java" unless="stylebook.present" />
  160. <exclude name="${optional.package}/NetRexxC.java" unless="netrexx.present" />
  161. <exclude name="${optional.package}/XslpLiaison.java" unless="xslp.present" />
  162. <exclude name="${optional.package}/XalanLiaison.java" unless="xalan.present" />
  163. <exclude name="${optional.package}/TraXLiaison.java" unless="trax.present" />
  164. <exclude name="${optional.package}/ejb/Ejbc*.java" unless="ejb.ejbc.present" />
  165. <exclude name="${optional.package}/ejb/DDCreator*.java" unless="ejb.DDCreator.present" />
  166. <exclude name="${optional.package}/ejb/WLRun.java" unless="ejb.wls.present" />
  167. <exclude name="${optional.package}/ejb/WLStop.java" unless="ejb.wls.present" />
  168. <exclude name="${optional.package}/ejb/EjbJar.java" unless="jdk1.2+" />
  169. <exclude name="${optional.package}/ejb/*DeploymentTool.java" unless="jdk1.2+" />
  170. <exclude name="${optional.package}/Javah.java" unless="jdk1.2+" />
  171. <exclude name="${optional.package}/junit/*" unless="junit.present" />
  172. <exclude name="${optional.package}/net/*.java" unless="netcomp.present" />
  173. <exclude name="${optional.package}/scm/AntStarTeam*.java" unless="starteam.present" />
  174. <exclude name="${optional.package}/ANTLR.java" unless="antlr.present" />
  175. <exclude name="${optional.package}/ide/VAJ*.java" unless="vaj.present" />
  176. <exclude name="${optional.package}/perforce/*.java" unless="jakarta.oro.present" />
  177. <exclude name="${optional.package}/sound/*.java" unless="jmf.present" />
  178. <exclude name="${optional.package}/junit/XMLResultAggregator.java"
  179. unless="xalan.present" />
  180. <exclude name="${optional.package}/junit/AggregateTransformer.java"
  181. unless="xalan.present" />
  182. </javac>
  183. <copy todir="${build.classes}">
  184. <fileset dir="${java.dir}">
  185. <include name="**/*.properties" />
  186. </fileset>
  187. </copy>
  188. <filter token="VERSION" value="${version}" />
  189. <filter token="DATE" value="${TODAY}" />
  190. <filter token="TIME" value="${TSTAMP}" />
  191. <copy todir="${build.classes}"
  192. overwrite="true"
  193. filtering="on">
  194. <fileset dir="${java.dir}">
  195. <include name="**/version.txt" />
  196. <include name="**/defaultManifest.mf" />
  197. </fileset>
  198. </copy>
  199. <copy todir="${build.classes}/${optional.package}/junit">
  200. <fileset dir="${java.dir}/${optional.package}/junit">
  201. <include name="html/**" />
  202. <include name="xsl/**" />
  203. </fileset>
  204. </copy>
  205. </target>
  206. <!--
  207. ===================================================================
  208. Create the ant jars: ant.jar and optional.jar
  209. ===================================================================
  210. -->
  211. <target name="jars" depends="build">
  212. <jar jarfile="${build.lib}/${name}.jar"
  213. basedir="${build.classes}"
  214. manifest="${manifest}">
  215. <exclude name="org/apache/tools/ant/taskdefs/optional/**" />
  216. </jar>
  217. <jar jarfile="${build.lib}/optional.jar"
  218. basedir="${build.classes}"
  219. manifest="${manifest}">
  220. <include name="org/apache/tools/ant/taskdefs/optional/**" />
  221. </jar>
  222. </target>
  223. <!--
  224. ===================================================================
  225. Create the essential distribution that can run ant
  226. ===================================================================
  227. -->
  228. <target name="dist-lite" depends="jars, setup-distproperties">
  229. <mkdir dir="${dist.dir}"/>
  230. <mkdir dir="${dist.bin}"/>
  231. <mkdir dir="${dist.lib}"/>
  232. <copy todir="${dist.lib}">
  233. <fileset dir="${build.lib}"/>
  234. </copy>
  235. <copy todir="${dist.bin}">
  236. <fileset dir="${script.dir}/" />
  237. </copy>
  238. <chmod dir="${dist.dir}" perm="go-rwx" />
  239. <chmod perm="u+x">
  240. <fileset dir="${dist.bin}">
  241. <include name="**/ant" />
  242. <include name="**/antRun" />
  243. </fileset>
  244. </chmod>
  245. <fixcrlf srcdir="${dist.bin}" cr="add" includes="*.bat" />
  246. <fixcrlf srcdir="${dist.bin}" cr="remove" includes="*.sh" />
  247. <fixcrlf srcdir="${dist.bin}" cr="remove" includes="ant" />
  248. </target>
  249. <!--
  250. ===================================================================
  251. Create the complete distribution
  252. ===================================================================
  253. -->
  254. <target name="dist" depends="dist-lite,javadocs">
  255. <mkdir dir="${dist.docs}"/>
  256. <mkdir dir="${dist.javadocs}"/>
  257. <copy todir="${dist.lib}">
  258. <fileset dir="${lib.dir}">
  259. <include name="*.jar" />
  260. <include name="*.zip" />
  261. </fileset>
  262. </copy>
  263. <copy todir="${dist.lib}" file="${lib.dir}/optional/README"/>
  264. <copy todir="${dist.docs}">
  265. <fileset dir="${docs.dir}"/>
  266. </copy>
  267. <copy todir="${dist.javadocs}">
  268. <fileset dir="${build.javadocs}"/>
  269. </copy>
  270. <copy todir="${dist.dir}">
  271. <fileset dir=".">
  272. <include name="README"/>
  273. <include name="LICENSE"/>
  274. <include name="TODO"/>
  275. <include name="WHATSNEW"/>
  276. </fileset>
  277. </copy>
  278. <chmod dir="${dist.dir}" perm="go-rwx" />
  279. </target>
  280. <!--
  281. ===================================================================
  282. Target to create bootstrap build
  283. ===================================================================
  284. -->
  285. <target name="bootstrap">
  286. <antcall target="dist-lite">
  287. <param name="dist.dir" value="${bootstrap.dir}" />
  288. </antcall>
  289. </target>
  290. <!--
  291. ===================================================================
  292. Create the source distribution
  293. ===================================================================
  294. -->
  295. <target name="src-dist" depends="setup-distproperties">
  296. <mkdir dir="${src.dist.dir}" />
  297. <copy todir="${src.dist.lib}">
  298. <fileset dir="${lib.dir}">
  299. <include name="*.jar" />
  300. <include name="*.zip" />
  301. <include name="optional/README"/>
  302. </fileset>
  303. </copy>
  304. <copy todir="${src.dist.src}">
  305. <fileset dir="${src.dir}"/>
  306. </copy>
  307. <copy todir="${src.dist.docs}">
  308. <fileset dir="${docs.dir}"/>
  309. </copy>
  310. <copy todir="${src.dist.dir}">
  311. <fileset dir=".">
  312. <include name="README"/>
  313. <include name="LICENSE"/>
  314. <include name="TODO"/>
  315. <include name="WHATSNEW"/>
  316. <include name="build.bat"/>
  317. <include name="build.sh"/>
  318. <include name="bootstrap.bat"/>
  319. <include name="bootstrap.sh"/>
  320. <include name="build.xml"/>
  321. </fileset>
  322. </copy>
  323. <fixcrlf srcdir="${src.dist.dir}" includes="*.sh" cr="remove"/>
  324. <fixcrlf srcdir="${src.dist.dir}" includes="*.bat" cr="add"/>
  325. <chmod perm="+x">
  326. <fileset dir="${src.dist.dir}">
  327. <include name="*.sh" />
  328. </fileset>
  329. </chmod>
  330. <fixcrlf srcdir="${src.dist.src}" includes="**/*.java" cr="remove"/>
  331. </target>
  332. <!--
  333. ===================================================================
  334. Create the binary distribution
  335. ===================================================================
  336. -->
  337. <target name="distribution">
  338. <mkdir dir="${dist.base}"/>
  339. <antcall target="dist">
  340. <param name="dist.dir" value="${dist.name}" />
  341. </antcall>
  342. <zip zipfile="${dist.base}/${dist.name}-bin.zip"
  343. basedir="${dist.name}/.."
  344. includes="${dist.name}/**"
  345. excludes="${dist.name}/lib/optional.jar"/>
  346. <tar longfile="gnu"
  347. tarfile="${dist.base}/${dist.name}-bin.tar">
  348. <tarfileset dir="${dist.name}/.." mode="755" username="ant" group="ant">
  349. <include name="${dist.name}/bin/ant"/>
  350. <include name="${dist.name}/bin/antRun"/>
  351. </tarfileset>
  352. <tarfileset dir="${dist.name}/.." username="ant" group="ant">
  353. <include name="${dist.name}/**"/>
  354. <exclude name="${dist.name}/bin/ant"/>
  355. <exclude name="${dist.name}/bin/antRun"/>
  356. <exclude name="${dist.name}/lib/optional.jar"/>
  357. </tarfileset>
  358. </tar>
  359. <gzip zipfile="${dist.base}/${dist.name}-bin.tar.gz"
  360. src="${dist.base}/${dist.name}-bin.tar"/>
  361. <delete file="${dist.base}/${dist.name}-bin.tar"/>
  362. <copy file="${dist.name}/lib/optional.jar" tofile="${dist.base}/${dist.name}-optional.jar"/>
  363. <delete dir="${dist.name}" />
  364. <antcall target="src-dist">
  365. <param name="src.dist.dir" value="${dist.name}" />
  366. </antcall>
  367. <zip zipfile="${dist.base}/${dist.name}-src.zip"
  368. basedir="${dist.name}/.."
  369. includes="${dist.name}/**"/>
  370. <tar longfile="gnu"
  371. tarfile="${dist.base}/${dist.name}-src.tar" >
  372. <tarfileset dir="${dist.name}/.." mode="755" username="ant" group="ant">
  373. <include name="${dist.name}/bootstrap.sh"/>
  374. <include name="${dist.name}/build.sh"/>
  375. </tarfileset>
  376. <tarfileset dir="${dist.name}/.." username="ant" group="ant">
  377. <include name="${dist.name}/**"/>
  378. <exclude name="${dist.name}/bootstrap.sh"/>
  379. <exclude name="${dist.name}/build.sh"/>
  380. </tarfileset>
  381. </tar>
  382. <gzip zipfile="${dist.base}/${dist.name}-src.tar.gz"
  383. src="${dist.base}/${dist.name}-src.tar"/>
  384. <delete file="${dist.base}/${dist.name}-src.tar"/>
  385. <delete dir="${dist.name}" />
  386. </target>
  387. <!--
  388. ===================================================================
  389. Cleans up build and distribution directories
  390. ===================================================================
  391. -->
  392. <target name="clean">
  393. <delete dir="${build.dir}" />
  394. <delete dir="${dist.base}" />
  395. <delete dir="${defaultdist.dir}" />
  396. <delete>
  397. <fileset dir="." includes="**/*~" defaultexcludes="no"/>
  398. </delete>
  399. </target>
  400. <!--
  401. ===================================================================
  402. Cleans everything
  403. ===================================================================
  404. -->
  405. <target name="allclean" depends="clean">
  406. <delete file="${bootstrap.dir}/bin/antRun" />
  407. <delete file="${bootstrap.dir}/bin/antRun.bat" />
  408. </target>
  409. <!--
  410. ===================================================================
  411. Installs ant
  412. ===================================================================
  413. -->
  414. <target name="install" if="ant.install">
  415. <antcall target="dist">
  416. <param name="dist.dir" value="${ant.install}" />
  417. </antcall>
  418. </target>
  419. <target name="install-lite" if="ant.install">
  420. <antcall target="dist-lite">
  421. <param name="dist.dir" value="${ant.install}" />
  422. </antcall>
  423. </target>
  424. <!--
  425. ===================================================================
  426. Creates the API documentation
  427. ===================================================================
  428. -->
  429. <target name="javadoc_check">
  430. <uptodate property="javadoc.notrequired" targetfile="${build.javadocs}/packages.html" >
  431. <srcfiles dir= "${java.dir}" includes="**/*.java"/>
  432. </uptodate>
  433. </target>
  434. <target name="javadocs" depends="prepare, javadoc_check"
  435. unless="javadoc.notrequired"
  436. description="Creates the API documentation">
  437. <mkdir dir="${build.javadocs}"/>
  438. <javadoc packagenames="org.apache.*"
  439. sourcepath="${java.dir}"
  440. destdir="${build.javadocs}"
  441. author="true"
  442. version="true"
  443. windowtitle="${Name} API"
  444. doctitle="${Name}"
  445. bottom="Copyright &#169; 2000 Apache Software Foundation. All Rights Reserved.">
  446. <group title="Ant Core" packages="org.apache.tools.ant*" />
  447. <group title="Core Tasks" packages="org.apache.tools.ant.taskdefs*" />
  448. <group title="Optional Tasks" packages="org.apache.tools.ant.taskdefs.optional*" />
  449. </javadoc>
  450. </target>
  451. <!--
  452. ===================================================================
  453. Compile testcases
  454. ===================================================================
  455. -->
  456. <target name="compile-tests" depends="build" if="junit.present">
  457. <mkdir dir="${build.tests}"/>
  458. <javac srcdir="${tests.dir}"
  459. destdir="${build.tests}"
  460. debug="${debug}"
  461. deprecation="${deprecation}" >
  462. <classpath refid="tests-classpath" />
  463. <exclude name="org/apache/tools/ant/taskdefs/optional/ANTLRTest.java"
  464. unless="antlr.present" />
  465. <exclude name="org/apache/tools/ant/util/regexp/JakartaRegexpMatcherTest.java"
  466. unless="jakarta.regexp.present" />
  467. <exclude name="org/apache/tools/ant/util/regexp/JakartaOroMatcherTest.java"
  468. unless="jakarta.oro.present" />
  469. </javac>
  470. </target>
  471. <!--
  472. ===================================================================
  473. Run testcase
  474. ===================================================================
  475. -->
  476. <target name="run-tests" depends="compile-tests" if="junit.present">
  477. <junit printsummary="no" haltonfailure="yes" fork="${junit.fork}">
  478. <jvmarg value="-classic"/>
  479. <classpath refid="tests-classpath"/>
  480. <sysproperty key="build.tests" value="${build.tests}"/>
  481. <formatter type="plain" usefile="false" />
  482. <batchtest>
  483. <fileset dir="${tests.dir}">
  484. <include name="**/*Test*" />
  485. <!-- abstract class, not a testcase -->
  486. <exclude name="org/apache/tools/ant/taskdefs/TaskdefsTest.java" />
  487. <exclude name="org/apache/tools/ant/util/regexp/RegexpMatcherTest.java" />
  488. <!-- currently fails - will be sorted out soon -->
  489. <exclude name="org/apache/tools/ant/types/CommandlineJavaTest.java" />
  490. <!-- these depend on order -->
  491. <exclude name="org/apache/tools/ant/taskdefs/GUnzipTest.java" />
  492. <exclude name="org/apache/tools/ant/taskdefs/GzipTest.java" />
  493. <!-- only run this test if ANTLR is installed -->
  494. <exclude name="org/apache/tools/ant/taskdefs/optional/ANTLRTest.java"
  495. unless="antlr.present" />
  496. <exclude name="org/apache/tools/ant/util/regexp/JakartaRegexpMatcherTest.java"
  497. unless="jakarta.regexp.present" />
  498. <exclude name="org/apache/tools/ant/util/regexp/JakartaOroMatcherTest.java"
  499. unless="jakarta.oro.present" />
  500. </fileset>
  501. </batchtest>
  502. <test name="org.apache.tools.ant.taskdefs.GzipTest" />
  503. <test name="org.apache.tools.ant.taskdefs.GUnzipTest" />
  504. </junit>
  505. <!-- clean up again -->
  506. <delete dir="${tests.etc.dir}/taskdefs/optional/antlr/antlr.tmp" />
  507. <delete dir="${tests.etc.dir}/taskdefs/taskdefs.tmp" />
  508. <delete dir="${tests.etc.dir}/taskdefs.tmp" />
  509. <delete file="${tests.etc.dir}/taskdefs/tmp.jar" />
  510. </target>
  511. <target name="run-single-test" if="testcase" depends="compile-tests">
  512. <junit printsummary="no" haltonfailure="yes" fork="${junit.fork}">
  513. <jvmarg value="-classic"/>
  514. <sysproperty key="build.tests" value="${build.tests}"/>
  515. <classpath refid="tests-classpath"/>
  516. <formatter type="plain" usefile="false" />
  517. <test name="${testcase}" />
  518. </junit>
  519. </target>
  520. <!--
  521. ===================================================================
  522. Main target - runs dist-lite by default
  523. ===================================================================
  524. -->
  525. <target name="main" depends="dist-lite"/>
  526. </project>