Subversion Repository Public Repository

litesoft

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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
    <!-- Module LiteSoftServerTests -->

    <property name="litesoftservertests.compiler.args" value="${compiler.args}"/>

    <property name="litesoftservertests.output.dir" value="${build.dir}/production/LiteSoftServerTests"/>
    <property name="litesoftservertests.testoutput.dir" value="${build.dir}/test/LiteSoftServerTests"/>

    <path id="litesoftservertests.module.bootclasspath">
        <!-- Paths to be included in compilation bootclasspath -->
    </path>

    <path id="litesoftservertests.module.classpath">
        <path refid="library.litesoftlogger.classpath"/>
        <path refid="library.litesoftdeprecated.classpath"/>
        <pathelement location="${litesoftanywhere.output.dir}"/>
        <pathelement location="${litesoftanywhere.testoutput.dir}"/>
        <pathelement location="${litesoftserver.output.dir}"/>
        <pathelement location="${litesoftserver.testoutput.dir}"/>
        <path refid="library.junit.classpath"/>
        <path refid="library.servlet.classpath"/>
        <path refid="library.commonsupload.classpath"/>
        <path refid="library.pullparser.classpath"/>
        <pathelement location="${LitesoftJavaDir}/libs/hsqldb.jar"/>
        <pathelement location="${LitesoftJavaDir}/libs/postgresql-8.2-506.jdbc3.jar"/>
        <pathelement location="${LitesoftJavaDir}/libs/sqljdbc.jar"/>
    </path>

    <path id="litesoftservertests.runtime.module.classpath">
        <pathelement location="${litesoftservertests.output.dir}"/>
        <pathelement location="${litesoftservertests.testoutput.dir}"/>
        <path refid="library.litesoftlogger.classpath"/>
        <path refid="library.litesoftdeprecated.classpath"/>
        <path refid="litesoftanywhere.runtime.module.classpath"/>
        <path refid="litesoftserver.runtime.module.classpath"/>
        <path refid="library.junit.classpath"/>
        <path refid="library.servlet.classpath"/>
        <path refid="library.commonsupload.classpath"/>
        <path refid="library.pullparser.classpath"/>
        <pathelement location="${LitesoftJavaDir}/libs/hsqldb.jar"/>
        <pathelement location="${LitesoftJavaDir}/libs/postgresql-8.2-506.jdbc3.jar"/>
        <pathelement location="${LitesoftJavaDir}/libs/sqljdbc.jar"/>
    </path>


    <patternset id="litesoftservertests.excluded.from.module">
        <patternset refid="ignored.files"/>
    </patternset>

    <patternset id="litesoftservertests.excluded.from.compilation">
        <patternset refid="litesoftservertests.excluded.from.module"/>
    </patternset>

    <path id="litesoftservertests.module.sourcepath">
        <dirset dir="${LitesoftJavaDir}/core/Anywhere">
            <include name="tests"/>
        </dirset>
        <dirset dir="${LitesoftJavaDir}/core/Server">
            <include name="tests"/>
        </dirset>
    </path>


    <target name="litesoftservertests.compile.module" depends="litesoftservertests.compile.module.production,litesoftservertests.compile.module.tests"
            description="Compile module LiteSoftServerTests"/>

    <target name="litesoftservertests.compile.module.production" depends="litesoftanywhere.compile.module,litesoftserver.compile.module"
            description="Compile module LiteSoftServerTests; production classes">
        <mkdir dir="${litesoftservertests.output.dir}"/>
        <javac destdir="${litesoftservertests.output.dir}" includeantruntime="false" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
               memorymaximumsize="${compiler.max.memory}" fork="true">
            <compilerarg line="${litesoftservertests.compiler.args}"/>
            <bootclasspath refid="litesoftservertests.module.bootclasspath"/>
            <classpath refid="litesoftservertests.module.classpath"/>
            <src refid="litesoftservertests.module.sourcepath"/>
            <patternset refid="litesoftservertests.excluded.from.compilation"/>
        </javac>

        <copy todir="${litesoftservertests.output.dir}">
            <fileset dir="${LitesoftJavaDir}/core/Anywhere/tests">
                <patternset refid="compiler.resources"/>
                <type type="file"/>
            </fileset>
            <fileset dir="${LitesoftJavaDir}/core/Server/tests">
                <patternset refid="compiler.resources"/>
                <type type="file"/>
            </fileset>
        </copy>
    </target>

    <target name="litesoftservertests.compile.module.tests" depends="litesoftservertests.compile.module.production"
            description="compile module LiteSoftServerTests; test classes" unless="skip.tests"/>

    <target name="litesoftservertests.clean.module" description="cleanup module">
        <delete dir="${litesoftservertests.output.dir}"/>
        <delete dir="${litesoftservertests.testoutput.dir}"/>
    </target>


Commits for litesoft/trunk/Java/core/Server/Build-Tests-Snag.xml

Diff revisions: vs.
Revision Author Commited Message
172 GeorgeS picture GeorgeS Mon 04 Apr, 2011 23:53:17 +0000