PageRenderTime 34ms CodeModel.GetById 31ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/nbcore/build.xml

http://jswat.googlecode.com/
XML | 56 lines | 28 code | 4 blank | 24 comment | 0 complexity | 84bde57af1909ba6d765ad4e6fc2fa23 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception
 1<?xml version="1.0" encoding="UTF-8"?>
 2<!--
 3  The contents of this file are subject to the terms of the Common Development
 4  and Distribution License (the License). You may not use this file except in
 5  compliance with the License.
 6
 7  You can obtain a copy of the License at http://www.netbeans.org/cddl.html
 8  or http://www.netbeans.org/cddl.txt.
 9
10  When distributing Covered Code, include this CDDL Header Notice in each file
11  and include the License file at http://www.netbeans.org/cddl.txt.
12  If applicable, add the following below the CDDL Header, with the fields
13  enclosed by brackets [] replaced by your own identifying information:
14  "Portions Copyrighted [year] [name of copyright owner]"
15
16  The Original Software is JSwat. The Initial Developer of the Original
17  Software is Nathan L. Fiedler. Portions created by Nathan L. Fiedler
18  are Copyright (C) 2009. All Rights Reserved.
19
20  Contributor(s): Nathan L. Fiedler.
21
22  $Id: build.xml 239 2009-06-26 14:28:47Z nathanfiedler $
23-->
24<project name="JSwat NetBeans" default="netbeans" basedir=".">
25    <description>Builds, tests, and runs the project JSwat NetBeans.</description>
26    <!-- Permit external customizations. -->
27    <property file="../build.properties"/>
28    <import file="nbproject/build-impl.xml"/>
29
30    <property name="core.project.dir" value="../core"/>
31    <property name="core.project.jar"
32              value="${core.project.dir}/dist/com-bluemarsh-jswat-core.jar"/>
33    <property name="core.parser.jar"
34              value="${core.project.dir}/lib/com-bluemarsh-jswat-parser.jar"/>
35    <property name="cmd.project.dir" value="../cmd"/>
36    <property name="cmd.project.jar"
37              value="${cmd.project.dir}/dist/com-bluemarsh-jswat-cmd.jar"/>
38
39    <target name="compile">
40        <ant antfile="${core.project.dir}/build.xml" target="jar" inheritall="false"/>
41        <ant antfile="${cmd.project.dir}/build.xml" target="jar" inheritall="false"/>
42        <copy todir="${cluster}/modules/ext" file="${core.project.jar}"/>
43        <copy todir="${cluster}/modules/ext" file="${core.parser.jar}"/>
44        <copy todir="${cluster}/modules/ext" file="${cmd.project.jar}"/>
45        <antcall target="projectized-common.compile"/>
46    </target>
47
48    <target name="clean" depends="projectized-common.clean">
49        <ant antfile="${cmd.project.dir}/build.xml" target="clean" inheritall="false"/>
50        <ant antfile="${core.project.dir}/build.xml" target="clean" inheritall="false"/>
51    </target>
52
53    <target name="testuserdir-delete">
54        <!-- Do nothing in the hopes that our userdir will stick around. -->
55    </target>
56</project>