buildframework/helium/builder/java/macros.ant.xml
author lorewang
Wed, 01 Dec 2010 16:05:36 +0800
changeset 715 e0739b8406dd
parent 645 b8d81fa19e7d
permissions -rw-r--r--
Specify extenal tool with path
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
<?xml version="1.0"?>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
<!-- 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
============================================================================ 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
Name        : build.xml 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
Part of     : Helium AntLib
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
All rights reserved.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
Initial Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
Description:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
============================================================================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
<project name="build-macros" xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:au="org.apache.ant.antunit"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
    xmlns:cs="antlib:com.puppycrawl.tools.checkstyle">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
    <import file="common.ant.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    27
    <path id="emma.classpath">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
        <fileset dir="${builder.dir}/antlibs">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
            <include name="**/*.jar" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
        </fileset>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    31
    </path>
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    32
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
    <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="emma.classpath"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
    <taskdef classpathref="emma.classpath" resource="emma_ant.properties" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
    
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    36
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    37
    <target name="clean">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    38
        <delete dir="${module.temp.dir}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    39
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    40
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    41
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    42
    <target name="resolve">
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    43
        <mkdir dir="${lib.dir}" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    44
        <mkdir dir="${lib.dir}/zipsafe" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    45
        <mkdir dir="${lib.dir}/zipnotsafe" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    46
        <delete dir="${lib.dir}/zipnotsafe" includes="**/*" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    47
        
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    48
        <ivy:settings file="${ivy.settings.dir}/ivysettings.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    49
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    50
        <!-- the call to resolve is not mandatory, retrieve makes an implicit call if we don't -->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    51
        <ivy:resolve file="${ivy.file}" log="download-only"/>
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    52
        <ivy:retrieve pattern="${lib.dir}/zipsafe/[artifact].[ext]" type="egg" log="download-only"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    53
        <ivy:retrieve pattern="${lib.dir}/zipsafe/[artifact].[ext]" type="py" log="download-only"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    54
        <ivy:retrieve pattern="${lib.dir}/[artifact].[ext]" type="jar" log="download-only"/>
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    55
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    56
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    57
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    58
    <target name="report" depends="resolve" description="--> generates a report of dependencies">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    59
        <ivy:report todir="${build.dir}"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    60
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    61
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    62
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    63
    <target name="quality" depends="checkstyle" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    64
    
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    65
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    66
    <target name="checkstyle" depends="resolve">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    67
        <mkdir dir="${module.temp.dir}"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    68
        <echo>Running checkstyle on ${ant.project.name}.</echo>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    69
        <cs:checkstyle config="${builder.dir}/java/config/java_checkstyle_config.xml">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    70
            <classpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    71
                <path refid="lib.path.id" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    72
                <pathelement location="${jar.file}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    73
                <pathelement location="${module.bin.dir}/${ant.project.name}.jar" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    74
            </classpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    75
            <fileset dir="${src.dir}" includes="**/*.java"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    76
            <formatter type="plain"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    77
            <formatter type="xml" toFile="${module.temp.dir}/checkstyle_errors.xml"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    78
        </cs:checkstyle>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    79
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    80
    
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    81
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    82
    <target name="compile" depends="resolve" description="--> compile the project">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    83
        <mkdir dir="${classes.dir}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    84
        <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="lib.path.id" debug="true" source="1.6" target="1.6" listfiles="true"> 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    85
            <compilerarg value="-Xlint:unchecked" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    86
            <compilerarg value="-Xlint:deprecation" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    87
            <compilerarg value="-Werror" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    88
        </javac>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    89
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    90
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    91
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    92
    <target name="ivy-new-version"  unless="ivy.new.revision">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    93
        <!-- default module version prefix value 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    94
        <property name="module.version.prefix" value="${module.version.target}-dev-b" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    95
        -->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    96
        <!-- asks to ivy an available version number
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    97
        <ivy:info file="${ivy.file}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    98
        <ivy:buildnumber 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    99
            organisation="${ivy.organisation}" module="${ivy.module}" 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   100
            revision="${module.version.prefix}" defaultBuildNumber="1" revSep=""/> -->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   101
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   102
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   103
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   104
    <target name="local-version">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   105
        <!--<tstamp>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   106
            <format property="now" pattern="yyyyMMddHHmmss"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   107
        </tstamp>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   108
        <property name="ivy.new.revision" value="${module.version.target}-local-${now}"/>-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   109
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   110
    
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   111
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   112
    <target name="version" depends="ivy-new-version">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   113
        <!-- create version file in classpath for later inclusion in jar 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   114
        <mkdir dir="${classes.dir}"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   115
        <echo message="version=${ivy.new.revision}" file="${classes.dir}/${ant.project.name}.properties" append="false" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   116
-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   117
        <!-- load generated version properties file 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   118
        <property file="${classes.dir}/${ant.project.name}.properties" />-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   119
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   120
    
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   121
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   122
    <target name="package" depends="local-version,version,compile" description="--> make a jar file for this project">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   123
        <delete dir="${module.bin.dir}"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   124
        <mkdir dir="${module.bin.dir}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   125
        <jar destfile="${module.bin.dir}/${ant.project.name}.jar">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   126
            <fileset dir="${classes.dir}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   127
            <fileset dir="${src.dir}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   128
                <exclude name="**/distribution.policy.S60" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   129
                <exclude name="**/*.java" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   130
            </fileset>                
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   131
            <manifest>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   132
                <section name="common">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   133
                    <attribute name="Implementation-Title" value="${ant.project.name}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   134
                    <attribute name="Implementation-Vendor" value="Nokia" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   135
                </section>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   136
            </manifest>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   137
        </jar>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   138
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   139
        <!--copy file="${module.bin.dir}/${ant.project.name}.jar" todir="${bin.dir}" /-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   140
        <!--
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   141
        <mkdir dir="${bin.dir}/com.nokia.helium/${ant.project.name}/${version}" />
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   142
        <copy file="${bin.dir}/com.nokia.helium/${ant.project.name}/${version}/${ant.project.name}.jar" todir="${module.bin.dir}" />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   143
        [organisation]/[module]/[color]/[revision]/[artifact].[ext] 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   144
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   145
        pubrevision="${version}"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   146
        pubdate="${now}"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   147
        -->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   148
        <ivy:publish artifactspattern="${module.bin.dir}/[artifact].[ext]" 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   149
                        resolver="local"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   150
                        status="integration"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   151
                        forcedeliver="true"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   152
                        pubrevision="1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   153
                        overwrite="true"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   154
        />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   155
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   156
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   157
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   158
    <target name="test" depends="junit,antunit"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   159
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   160
    
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   161
    <target name="junit" depends="resolve">
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   162
        <mkdir dir="${build.temp.dir}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   163
        <if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   164
            <available type="dir" file="${basedir}/tests/src"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   165
            <then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   166
                <echo>JUnit test module ${ant.project.name}</echo>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   167
                <delete dir="${module.temp.dir}/junit_classes"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   168
                <delete>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   169
                    <fileset dir="${module.temp.dir}" includes="**/*_junit.emma" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   170
                    <fileset dir="${module.temp.dir}" includes="backup/*.jar" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   171
                </delete>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   172
                <mkdir dir="${module.temp.dir}/junit_classes" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   173
                <javac srcdir="${basedir}/tests/src" destdir="${module.temp.dir}/junit_classes" debug="true"> 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   174
                    <classpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   175
                        <fileset dir="${module.temp.dir}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   176
                            <include name="**/*.jar"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   177
                        </fileset>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   178
                    </classpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   179
                    <include name="**/*.java" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   180
                </javac>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   181
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   182
                <mkdir dir="${module.temp.dir}/backup" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   183
                <copy file="${jar.file}" todir="${module.temp.dir}/backup/" overwrite="true"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   184
                <emma enabled="true" verbosity="quiet">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   185
                    <instr destdir="${module.temp.dir}/backup/" metadatafile="${module.temp.dir}/metadata_junit.emma" merge="true" mode="overwrite">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   186
                        <instrpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   187
                            <fileset dir="${module.temp.dir}/backup/" includes="${ant.project.name}.jar" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   188
                        </instrpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   189
                    </instr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   190
                </emma>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   191
                
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   192
                <mkdir dir="${junit.result.dir}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   193
                <delete file="${module.temp.dir}/coverage.emma" failonerror="false" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   194
                <junit fork="yes" printsummary="yes" haltonfailure="yes">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   195
                    <formatter type="brief" usefile="false"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   196
                    <formatter type="xml" usefile="true"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   197
                    <jvmarg value="-Demma.coverage.out.file=${module.temp.dir}/coverage_junit.emma" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   198
                    <jvmarg value="-Demma.coverage.out.merge=true" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   199
                    <jvmarg value="-Dtestdir=${basedir}" />
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   200
                    <jvmarg value="-Dtest.temp.dir=${test.temp.dir}" />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   201
                    <classpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   202
                        <fileset dir="${module.temp.dir}/backup/">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   203
                            <include name="**/*.jar"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   204
                        </fileset>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   205
                        <fileset dir="${lib.dir}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   206
                            <include name="**/*.jar"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   207
                        </fileset>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   208
                        <fileset dir="${builder.dir}/antlibs">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   209
                            <include name="**/*.jar"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   210
                        </fileset>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   211
                        <pathelement path="${module.temp.dir}/junit_classes" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   212
                        <fileset dir="${ant.home}/lib">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   213
                            <include name="**/*.jar"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   214
                        </fileset>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   215
                    </classpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   216
                    <batchtest fork="yes" todir="${junit.result.dir}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   217
                        <fileset dir="${basedir}/tests/src">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   218
                            <include name="**/*Test*.java"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   219
                        </fileset>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   220
                    </batchtest>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   221
                </junit>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   222
                <delete dir="${module.temp.dir}/backup/" failonerror="false" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   223
                
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   224
                <emma enabled="true" verbosity="quiet">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   225
                    <report sourcepath="${src.dir}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   226
                        <infileset dir="${module.temp.dir}" includes="*_junit.emma" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   227
                        <txt outfile="${module.temp.dir}/coverage.txt" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   228
                        <html outfile="${module.temp.dir}/coverage.html" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   229
                        <xml outfile="${module.temp.dir}/coverage.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   230
                    </report>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   231
                </emma>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   232
                <if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   233
                    <available file="${module.temp.dir}/coverage.txt" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   234
                    <then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   235
                        <loadfile property="message" srcFile="${module.temp.dir}/coverage.txt"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   236
                        <echo message="${message}"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   237
                    </then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   238
                </if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   239
            </then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   240
        </if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   241
        <if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   242
            <resourcecount count="0" when="gt">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   243
                <fileset dir="${components.temp.dir}/" includes="*/*.emma" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   244
            </resourcecount>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   245
            <then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   246
                <emma enabled="true" verbosity="quiet">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   247
                    <report sourcepath="${src.dir}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   248
                        <infileset dir="${components.temp.dir}/" includes="*/*.emma" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   249
                        <txt outfile="${build.temp.dir}/coverage.txt" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   250
                        <html outfile="${build.temp.dir}/coverage.html" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   251
                        <xml outfile="${build.temp.dir}/coverage.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   252
                    </report>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   253
                </emma>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   254
            </then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   255
        </if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   256
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   257
    
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   258
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   259
    <target name="antunit">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   260
        <mkdir dir="${build.temp.dir}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   261
        <if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   262
            <available type="dir" file="${basedir}/tests"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   263
            <then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   264
                <trycatch property="antunitModule.error">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   265
                    <try>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   266
                        <!-- Temporarly replacing the jar file
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   267
                             with an instrumented one to do the 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   268
                             actual coverage measurment
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   269
                         -->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   270
                        <mkdir dir="${module.temp.dir}/backup" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   271
                        <delete>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   272
                            <fileset dir="${module.temp.dir}" includes="**/*_antunit.emma" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   273
                        </delete>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   274
                        <copy file="${jar.file}" todir="${module.temp.dir}/backup/" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   275
                        <emma enabled="true" verbosity="quiet">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   276
                            <instr destdir="${module.temp.dir}/backup/" metadatafile="${module.temp.dir}/metadata_antunit.emma" merge="true" mode="overwrite">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   277
                                <instrpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   278
                                    <fileset dir="${module.temp.dir}/backup/" includes="${ant.project.name}.jar" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   279
                                </instrpath>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   280
                            </instr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   281
                        </emma>
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   282
                        <pathconvert pathsep="${path.separator}" property="python.path">
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   283
                            <fileset dir="${lib.dir}" includes="zipsafe/*.egg"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   284
                            <dirset dir="${lib.dir}" includes="zipnotsafe/*.egg"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   285
                            <dirset dir="${lib.dir}" includes="zipsafe" />
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   286
                        </pathconvert>
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   287
                        <exec osfamily="windows" executable="cmd" dir="${basedir}/tests" failonerror="true">
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   288
                            <env key="ANT_ARGS" value="-lib ${lib.dir} -lib ${module.temp.dir}/backup/${ant.project.name}.jar -lib ${builder.dir}/antlibs -Dpython.path=${python.path}" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   289
                            <env key="PYTHONPATH" value="${python.path}" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   290
                            <env key="JYTHONPATH" value="${python.path}" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   291
                            <arg line="/c build.bat unittest " />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   292
                            <arg value="-Dbuilder.dir=${builder.dir}" />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   293
                        </exec>
645
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 628
diff changeset
   294
                        <exec osfamily="unix" executable="/bin/bash" dir="${basedir}/tests" failonerror="true">
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   295
                            <env key="ANT_ARGS" value="-lib ${lib.dir} -lib ${module.temp.dir}/backup/${ant.project.name}.jar -lib ${builder.dir}/antlibs -Dpython.path=${python.path}" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   296
                            <env key="PYTHONPATH" value="${python.path}" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   297
                            <env key="JYTHONPATH" value="${python.path}" />
645
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 628
diff changeset
   298
                            <arg value="./bld.sh" />
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   299
                            <arg line="unittest" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   300
                            <arg value="-Dbuilder.dir=${builder.dir}" />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   301
                        </exec>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   302
                        <move todir="${module.temp.dir}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   303
                            <fileset dir="${basedir}/tests" includes="**/coverage.ec" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   304
                            <chainedmapper>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   305
                                <filtermapper>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   306
                                    <replacestring from="/" to="_" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   307
                                    <replacestring from="\" to="_" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   308
                                </filtermapper>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   309
                                <regexpmapper from="^(.*)\.ec$$" to="\1_antunit.emma" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   310
                            </chainedmapper>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   311
                        </move>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   312
                        <emma enabled="true" verbosity="quiet">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   313
                            <report sourcepath="${src.dir}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   314
                                <infileset dir="${module.temp.dir}/" includes="*_antunit.emma" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   315
                                <txt outfile="${module.temp.dir}/coverage_antunit.txt" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   316
                                <html outfile="${module.temp.dir}/coverage_antunit.html" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   317
                                <xml outfile="${module.temp.dir}/coverage_antunit.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   318
                            </report>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   319
                        </emma>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   320
                        <if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   321
                            <available file="${module.temp.dir}/coverage_antunit.txt" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   322
                            <then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   323
                                <loadfile property="message" srcFile="${module.temp.dir}/coverage_antunit.txt" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   324
                                <echo message="${message}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   325
                            </then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   326
                        </if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   327
                    </try>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   328
                    <catch>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   329
                        <fail message="${antunitModule.error}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   330
                    </catch>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   331
                    <finally>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   332
                        <delete>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   333
                            <fileset dir="${module.temp.dir}" includes="backup/*.jar" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   334
                        </delete>                                
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   335
                    </finally>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   336
                </trycatch>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   337
            </then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   338
        </if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   339
        <if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   340
            <resourcecount count="0" when="gt">
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   341
                <fileset dir="${components.temp.dir}/" includes="*/*.emma" />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   342
            </resourcecount>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   343
            <then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   344
                <emma enabled="true" verbosity="quiet">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   345
                    <report sourcepath="${src.dir}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   346
                        <infileset dir="${components.temp.dir}/" includes="*/*.emma" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   347
                        <txt outfile="${build.temp.dir}/coverage.txt" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   348
                        <html outfile="${build.temp.dir}/coverage.html" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   349
                        <xml outfile="${build.temp.dir}/coverage.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   350
                    </report>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   351
                </emma>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   352
            </then>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   353
        </if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   354
    </target>
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   355
    
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   356
    
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   357
    <target name="unittest" depends="antunit"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   358
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   359
</project>
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   360
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   361