Source

main-silver / uihandler / 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 2004 Sun
Microsystems, Inc. All Rights Reserved.
-->
<project basedir="." default="netbeans" name="logger/uihandler">
    <description>Builds, tests, and runs the project org.netbeans.modules.uihandler</description>
    <import file="../../nbbuild/templates/projectized.xml"/>
    
    
    <!-- make sure sample server is running -->
    <target name="reload" depends="-run-server,projectized.reload"/>
    <target name="debug" depends="-run-server,projectized.debug"/>
    
    
    <target name="-run-server">
        <tempfile deleteonexit="true" property="url.file"/>
        <subant target="run-server">
            <property name="url.file" value="${url.file}"/>
            <dirset dir="..">
                <include name="uihandlerserver"/>
            </dirset>
        </subant>
        <loadfile property="client.url" srcfile="${url.file}"/>
        <delete file="${url.file}" failonerror="true"/>
        <property name="tryme.args" value="-J-Dorg.netbeans.modules.uihandler.Submit=${client.url}/upload.jsp"/>
    </target>
</project>