Skip to content

Commit

Permalink
Added some text to the info target to list useful targets. Also pdate…
Browse files Browse the repository at this point in the history
…d some properties so that the output is more legible

git-svn-id: https://cdk.svn.sourceforge.net/svnroot/cdk/cdk/branches/cdk-1.2.x@12469 eb4e18e3-b210-0410-a6ab-dec725e4b171
  • Loading branch information
rajarshi committed Sep 24, 2008
1 parent a7f7361 commit 6415c45
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build.xml
Expand Up @@ -83,6 +83,15 @@
<echo message=" debug: ${debug}" />
<echo message=" deprecation: ${deprecation}" />
<echo message=" optimization: ${optimization}" />
<echo message="" />
<echo message="Available Targets" />
<echo message=" clean: Remove class files and any temporary files" />
<echo message=" dist-all: Compile all modules" />
<echo message=" dist-large: Create the comprehensive jar, with all modules" />
<echo message=" test-dist-all: Compile all test modules" />
<echo message="test-dist-large: Create a single jar file with all test modules" />
<echo message=" jarTestdata: Create the jar file with all test data. Used in testing" />
<echo message="" />
</target>

<!-- Tasks that will be used to clean up ${basedir} after test runs.
Expand Down Expand Up @@ -117,7 +126,9 @@
</target>

<!-- See what platform were on -->

<target id="checkPlatforms" name="checkPlatforms">
<property name="isMacOsX" value="false" />
<condition property="isMacOsX">
<and>
<os family="mac"/>
Expand Down Expand Up @@ -148,6 +159,9 @@
<!-- Checks which parts of CDK can be build. -->

<!-- test for optional jars -->
<property name="vecmath.present" value="false" />
<property name="log4j.present" value="false" />
<property name="jgrapht.present" value="false" />
<available property="vecmath.present"
file="${lib}/vecmath1.2-1.14.jar"/>
<available property="log4j.present"
Expand All @@ -161,11 +175,14 @@
<available file="${lib}/jumbo-5.4.2-b2.jar"/>
</or>
</condition>

<property name="junit.present" value="false" />
<available property="junit.present"
classname="junit.framework.TestCase"
classpath="${ant.home}/lib/junit.jar"/>

<!-- test Ant version -->
<property name="hasAnt17" value="false" />
<condition property="hasAnt17">
<contains string="${ant.version}" substring="1.7"/>
</condition>
Expand Down

0 comments on commit 6415c45

Please sign in to comment.