|
Revision 1786, 1.2 kB
(checked in by dsugar, 1 year ago)
|
Update ant build scripts - should be a bit faster to build this way!
|
| Line | |
|---|
| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|---|
| 2 |
<!-- WARNING: Eclipse autogenerated file. |
|---|
| 3 |
Any modifications will be overwritten. |
|---|
| 4 |
Please edit build-user.xml instead. |
|---|
| 5 |
--> |
|---|
| 6 |
<project basedir="." default="buildjar" name="libselinuxjava"> |
|---|
| 7 |
<path id="project.classpath"> |
|---|
| 8 |
<fileset dir="/usr"> |
|---|
| 9 |
<include name="lib/eclipse/**/*.jar" /> |
|---|
| 10 |
<include name="lib64/eclipse/**/*.jar" /> |
|---|
| 11 |
<include name="share/eclipse/**/*.jar" /> |
|---|
| 12 |
</fileset> |
|---|
| 13 |
</path> |
|---|
| 14 |
<target name="init"> |
|---|
| 15 |
<mkdir dir="bin"/> |
|---|
| 16 |
</target> |
|---|
| 17 |
<target name="clean"> |
|---|
| 18 |
<delete dir="bin"/> |
|---|
| 19 |
</target> |
|---|
| 20 |
<target depends="init" name="build"> |
|---|
| 21 |
<echo message="${ant.project.name}: ${ant.file}"/> |
|---|
| 22 |
<javac destdir="bin"> |
|---|
| 23 |
<src path="src"/> |
|---|
| 24 |
<classpath refid="project.classpath"/> |
|---|
| 25 |
</javac> |
|---|
| 26 |
</target> |
|---|
| 27 |
|
|---|
| 28 |
<target name="buildlibjar" depends="build"> |
|---|
| 29 |
<jar destfile="library.jar" basedir="bin" /> |
|---|
| 30 |
</target> |
|---|
| 31 |
|
|---|
| 32 |
<target name="buildjar" depends="buildlibjar"> |
|---|
| 33 |
<jar destfile="plugin.jar" manifest="META-INF/MANIFEST.MF"> |
|---|
| 34 |
<fileset dir="."> |
|---|
| 35 |
<include name="library.jar" /> |
|---|
| 36 |
<include name="plugin.properties" /> |
|---|
| 37 |
</fileset> |
|---|
| 38 |
</jar> |
|---|
| 39 |
</target> |
|---|
| 40 |
</project> |
|---|