Source

main-silver / visualweb.web.ui.appbase / build.xml

Full commit
<?xml version="1.0" encoding="UTF-8"?>
<!--
The contents of this file are subject to the terms of the Common Development
and Distribution License (the License). You may not use this file except in
compliance with the License.

You can obtain a copy of the License at http://www.netbeans.org/cddl.html
or http://www.netbeans.org/cddl.txt.

When distributing Covered Code, include this CDDL Header Notice in each file
and include the License file at http://www.netbeans.org/cddl.txt.
If applicable, add the following below the CDDL Header, with the fields
enclosed by brackets [] replaced by your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"

The Original Software is NetBeans. The Initial Developer of the Original
Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
Microsystems, Inc. All Rights Reserved.
-->

<project name="org.netbeans.modules.visualweb.web.ui.appbase" default="netbeans" basedir=".">
    <description>Builds, tests, and runs the project org.netbeans.modules.visualweb.web.ui.appbase.</description>
    <import file="nbproject/build-impl.xml"/>
    <import file="${suite.dir}/templates/common.xml"/>
    
    <target name="init" depends="library-init,javadoc-zip-init,src-zip-init,harness.init"/>
    
    <!-- Build the J2SE project JAR on which this library wrapper module depends. -->
    <target name="library-init">
        <ant dir="library" target="jar" inheritAll="false"/>
        <mkdir dir="release/modules/ext"/>
        <copy todir="release/modules/ext">
            <fileset dir="library/dist" includes="*.jar"/>
        </copy>
    </target>
    
    <target name="src-zip-init">
        <ant dir="library" target="src-zip" inheritAll="false"/>
        <mkdir dir="release/docs"/>
        <copy todir="release/docs">
            <fileset dir="library/dist" includes="appbase-src.zip"/>
        </copy>
    </target>
    
    <target name="javadoc-zip-init">
        <ant dir="library" target="javadoc-zip" inheritAll="false"/>
        <mkdir dir="release/docs"/>
        <copy todir="release/docs">
            <fileset dir="library/dist" includes="appbase-doc.zip"/>
        </copy>
    </target>
    
    <target name="clean" depends="library-clean,projectized-common.clean"/>

    <!-- Clean the J2SE project on which this library wrapper module depends. -->
    <target name="library-clean">
        <ant target="clean" dir="library" inheritAll="false"/>
        <delete dir="release"/>
    </target>    
</project>