Incorporating Patrick's changes. I am not reall sure about the changes after the war, it is really 'or' it cannot be 'and'. I will change that when I do the reading through the whole chapter.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://www.netbeans.org/ns/project/1" xmlns:ns4="null">
3 <type>org.netbeans.modules.ant.freeform</type>
5 <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
6 <name>composition</name>
8 <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2">
9 <!-- Do not use Project Properties customizer when editing this file manually. -->
10 <name>composition</name>
14 <label>src-api1.0</label>
16 <location>src-api1.0</location>
17 <encoding>UTF-8</encoding>
20 <label>src-api2.0</label>
22 <location>src-api2.0</location>
23 <encoding>UTF-8</encoding>
26 <label>src-api2.0-compat</label>
28 <location>src-api2.0-compat</location>
29 <encoding>UTF-8</encoding>
32 <label>src-api2.0-property</label>
34 <location>src-api2.0-property</location>
35 <encoding>UTF-8</encoding>
40 <location>src-test</location>
41 <encoding>UTF-8</encoding>
44 <label>src-api2.0-enum</label>
46 <location>src-api2.0-enum</location>
47 <encoding>UTF-8</encoding>
50 <label>src-api2.0-runtime</label>
52 <location>src-api2.0-runtime</location>
53 <encoding>UTF-8</encoding>
58 <target>build</target>
61 <target>clean</target>
69 <action name="rebuild">
70 <target>clean</target>
71 <target>build</target>
76 <source-folder style="packages">
77 <label>API Version 1.0</label>
78 <location>src-api1.0</location>
80 <source-folder style="packages">
81 <label>API Version 2.0</label>
82 <location>src-api2.0</location>
84 <source-folder style="packages">
85 <label>API Version 2.0, in compatible style</label>
86 <location>src-api2.0-compat</location>
88 <source-folder style="packages">
89 <label>API Version 2.0, with property</label>
90 <location>src-api2.0-property</location>
92 <source-folder style="packages">
93 <label>API Version 2.0, with enum</label>
94 <location>src-api2.0-enum</location>
96 <source-folder style="packages">
97 <label>API Version 2.0, with runtime inspection</label>
98 <location>src-api2.0-runtime</location>
100 <source-folder style="packages">
101 <label>Usage of the API</label>
102 <location>src-test</location>
105 <location>build.xml</location>
109 <ide-action name="build"/>
110 <ide-action name="rebuild"/>
111 <ide-action name="run"/>
112 <ide-action name="clean"/>
113 <ide-action name="test"/>
117 <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
119 <package-root>src-api1.0</package-root>
120 <source-level>1.5</source-level>
123 <package-root>src-api2.0</package-root>
124 <source-level>1.5</source-level>
127 <package-root>src-api2.0-compat</package-root>
128 <source-level>1.5</source-level>
131 <package-root>src-api2.0-enum</package-root>
132 <source-level>1.5</source-level>
135 <package-root>src-api2.0-property</package-root>
136 <source-level>1.5</source-level>
139 <package-root>src-api2.0-runtime</package-root>
140 <source-level>1.5</source-level>
143 <package-root>src-test</package-root>
144 <classpath mode="compile">src-api1.0:../libs/dist/junit-4.4.jar</classpath>
145 <source-level>1.5</source-level>