Lines 164-177
Link Here
|
164 |
|
164 |
|
165 |
<mkdir dir="tools"/> |
165 |
<mkdir dir="tools"/> |
166 |
<!--download the BND library for creating entries in the manifest.mf file which make it a compliant OSGi bundle. See http://www.osgi.org/ --> |
166 |
<!--download the BND library for creating entries in the manifest.mf file which make it a compliant OSGi bundle. See http://www.osgi.org/ --> |
|
|
167 |
<!-- |
167 |
<java classname="ca.odell.glazedlists.impl.HttpClient"> |
168 |
<java classname="ca.odell.glazedlists.impl.HttpClient"> |
168 |
<classpath path="${classes.dir}"/> |
169 |
<classpath path="${classes.dir}"/> |
169 |
<arg value="https://glazedlists.dev.java.net/files/documents/1073/110958/bnd.jar"/> |
170 |
<arg value="https://glazedlists.dev.java.net/files/documents/1073/110958/bnd.jar"/> |
170 |
<arg value="tools/bnd.jar"/> |
171 |
<arg value="tools/bnd.jar"/> |
171 |
</java> |
172 |
</java> |
172 |
|
173 |
--> |
173 |
<!-- prepare the bnd task which generates OSGi bundle JARs --> |
174 |
<!-- prepare the bnd task which generates OSGi bundle JARs --> |
|
|
175 |
<!-- |
174 |
<taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="tools/bnd.jar"/> |
176 |
<taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="tools/bnd.jar"/> |
|
|
177 |
--> |
175 |
|
178 |
|
176 |
<!-- create a normal jar file --> |
179 |
<!-- create a normal jar file --> |
177 |
<jar destfile="${target.dir}/${jar.file}" update="true" index="true"> |
180 |
<jar destfile="${target.dir}/${jar.file}" update="true" index="true"> |
Lines 184-196
Link Here
|
184 |
</jar> |
187 |
</jar> |
185 |
|
188 |
|
186 |
<!-- use the BND tool to generate an OSGi jar from scratch, using the original JAR file as input --> |
189 |
<!-- use the BND tool to generate an OSGi jar from scratch, using the original JAR file as input --> |
|
|
190 |
<!-- |
187 |
<bnd classpath="${target.dir}/${jar.file}" output="${target.dir}/${jar.file}.osgi" exceptions="true" files="glazedlists.bnd"/> |
191 |
<bnd classpath="${target.dir}/${jar.file}" output="${target.dir}/${jar.file}.osgi" exceptions="true" files="glazedlists.bnd"/> |
188 |
|
192 |
--> |
189 |
<!-- delete the original jar file --> |
193 |
<!-- delete the original jar file --> |
|
|
194 |
<!-- |
190 |
<delete file="${target.dir}/${jar.file}"/> |
195 |
<delete file="${target.dir}/${jar.file}"/> |
191 |
|
196 |
--> |
192 |
<!-- rename the OSGi Bundle to the orignal jar file's name --> |
197 |
<!-- rename the OSGi Bundle to the orignal jar file's name --> |
|
|
198 |
<!-- |
193 |
<move file="${target.dir}/${jar.file}.osgi" toFile="${target.dir}/${jar.file}"/> |
199 |
<move file="${target.dir}/${jar.file}.osgi" toFile="${target.dir}/${jar.file}"/> |
|
|
200 |
--> |
194 |
</target> |
201 |
</target> |
195 |
|
202 |
|
196 |
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
203 |
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
Lines 201-207
Link Here
|
201 |
description="Compile the default components of the source."> |
208 |
description="Compile the default components of the source."> |
202 |
</target> |
209 |
</target> |
203 |
|
210 |
|
204 |
<target name="compileall" depends="core,migrationkit,swing,io,calculation,swt,ktable,issuesbrowser,swinglabs,hibernate,icu4j" |
211 |
<target name="compileall" depends="core,migrationkit,swing,io" |
205 |
description="Compile all components of the source."> |
212 |
description="Compile all components of the source."> |
206 |
</target> |
213 |
</target> |
207 |
|
214 |
|