annotate nbproject/groovy-build.xml @ 0:1918a6aed50a

Initial ant tasks for SSDT develkit
author smith@nwoca.org
date Sat, 16 Apr 2011 16:06:16 -0400
parents
children
rev   line source
0
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
2 <!--
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
3 *** GENERATED FROM project.xml - DO NOT EDIT ***
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
4 *** EDIT ../build.xml INSTEAD ***
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
5
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
6 -->
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
7 <project xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
8 <target name="-groovy-init-macrodef-javac">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
9 <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
10 <attribute name="srcdir" default="${src.dir}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
11 <attribute name="destdir" default="${build.classes.dir}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
12 <attribute name="classpath" default="${javac.classpath}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
13 <attribute name="includes" default="${includes}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
14 <attribute name="excludes" default="${excludes}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
15 <attribute name="debug" default="${javac.debug}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
16 <attribute name="sourcepath" default="${empty.dir}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
17 <attribute name="gensrcdir" default="${empty.dir}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
18 <element name="customize" optional="true"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
19 <sequential>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
20 <taskdef name="groovyc" classpath="${javac.classpath}" classname="org.codehaus.groovy.ant.Groovyc"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
21 <property name="empty.dir" location="${build.dir}/empty"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
22 <mkdir dir="${empty.dir}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
23 <groovyc srcdir="@{srcdir}" sourcepath="@{sourcepath}" destdir="@{destdir}" encoding="${source.encoding}" includes="@{includes}" excludes="@{excludes}" includeAntRuntime="false">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
24 <src>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
25 <dirset dir="@{gensrcdir}" erroronmissingdir="false">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
26 <include name="*"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
27 </dirset>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
28 </src>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
29 <classpath>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
30 <path path="@{classpath}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
31 </classpath>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
32 <javac debug="@{debug}" deprecation="${javac.deprecation}" encoding="${source.encoding}" source="${javac.source}" target="${javac.target}">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
33 <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
34 <customize/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
35 </javac>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
36 </groovyc>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
37 </sequential>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
38 </macrodef>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
39 <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
40 <attribute name="srcdir" default="${src.dir}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
41 <attribute name="destdir" default="${build.classes.dir}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
42 <attribute name="classpath" default="${javac.classpath}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
43 <sequential>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
44 <depend srcdir="@{srcdir}" destdir="@{destdir}" cache="${build.dir}/depcache" includes="${includes}" excludes="${excludes}">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
45 <classpath>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
46 <path path="@{classpath}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
47 </classpath>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
48 </depend>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
49 </sequential>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
50 </macrodef>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
51 <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
52 <attribute name="destdir" default="${build.classes.dir}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
53 <sequential>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
54 <fail unless="javac.includes">Must set javac.includes</fail>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
55 <pathconvert property="javac.includes.binary" pathsep=",">
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
56 <path>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
57 <filelist dir="@{destdir}" files="${javac.includes}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
58 </path>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
59 <globmapper from="*.java" to="*.class"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
60 </pathconvert>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
61 <delete>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
62 <files includes="${javac.includes.binary}"/>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
63 </delete>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
64 </sequential>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
65 </macrodef>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
66 </target>
1918a6aed50a Initial ant tasks for SSDT develkit
smith@nwoca.org
parents:
diff changeset
67 </project>