Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: bb538851b896862a687a8ad8deacba898d172cee (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<!DOCTYPE project [
	<!ENTITY baseBuild SYSTEM "file:../../wsBuildDef.xml">
]>

<project name="buildPlugin" default="build" basedir="./..">

<!-- include the common xml build file -->
&baseBuild;

<target name="build" depends="prepare" if="plugin.id">

    <antcall target="unzipsrcjar"> <param name="jarname" value="commonArchiveTests"/> </antcall>
    <antcall target="unzipsrcjar"> <param name="jarname" value="modelTests"/> </antcall>
    <antcall target="unzipsrcjar"> <param name="jarname" value="javaTests"/> </antcall>

    <mkdir dir= "${plugin.build.directory}/commonbld"/>
    <javac failonerror="false" destdir="${plugin.build.directory}/commonbld" includeAntRuntime="false">
        <src path="${plugin.src.directory}/commonArchiveTests"/>
        <src path="${plugin.src.directory}/modelTests"/>
        <src path="${plugin.src.directory}/javaTests"/>
        <bootclasspath path="${bootclasspath}"/>
        <classpath path="${plugin.classpath}"/>
    </javac>

	<antcall target="buildjar">
		<param name="jarname" value="commonArchiveTests"/>
		<param name="jarclasspath" value="${plugin.classpath};${plugin.build.directory}/commonbld"/>
	</antcall>
	<antcall target="buildjar">
		<param name="jarname" value="modelTests"/>
		<param name="jarclasspath" value="${plugin.classpath};${plugin.build.directory}/commonbld"/>
	</antcall>
	<antcall target="buildjar">
		<param name="jarname" value="javaTests"/>
		<param name="jarclasspath" value="${plugin.classpath};${plugin.build.directory}/commonbld"/>
	</antcall>

</target>
</project>

Back to the top