summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/build.xml
blob: 9fdf76b09b17e1c9b5bebb284c5ff9b47535d1e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>

<!-- ====================================================================== -->
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above.        -->
<!-- ====================================================================== -->

<project name="helloworld-contribution" default="package" basedir=".">

  <!-- ====================================================================== -->
  <!-- Import maven-build.xml into the current project                        -->
  <!-- ====================================================================== -->

  <import file="maven-build.xml"/>
  
  <!-- ====================================================================== -->
  <!-- Help target                                                            -->
  <!-- ====================================================================== -->

  <target name="help">
    <echo message="Please run: $ant -projecthelp"/>
  </target>

  <!-- patch the generated test-junit-present target which expects junit in the Ant lib directory -->
  <target name="test-junit-present">
    <available classname="junit.framework.Test" property="junit.present">
      <classpath refid="build.test.classpath"/>
    </available>
  </target>

</project>