/usr/share/doc/libjpfcodegen-java/tutorials/basic/build.xml is in libjpfcodegen-java 0.4+dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | <?xml version="1.0"?>
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ant build file for JPFCodeGenerator-Basic tutorial
http://www.inf.fu-berlin.de/~oezbek/jpf/
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<project name="JPFCodeGenerator-BasicTutorial" default="compile" basedir=".">
<!-- Properties -->
<property name="jpfCodeGeneratorVersion" value="0.3" />
<property name="build" value="build" />
<property name="src" value="src" />
<property name="lib" value="../../lib" />
<!-- Code Generator classpath -->
<path id="classpath-codeGenerator">
<pathelement path="${build}" />
<pathelement location="${lib}/jpf.jar" />
<pathelement location="${lib}/../JPFCodeGenerator-${jpfCodeGeneratorVersion}.jar" />
<pathelement location="${lib}/jpf-boot.jar" />
<pathelement location="${lib}/velocity-dep-1.5.jar" />
<pathelement location="${lib}/commons-logging.jar" />
</path>
<!-- Application classpath -->
<path id="classpath-application">
<pathelement path="${build}" />
<pathelement location="${lib}/jpf.jar" />
<pathelement location="${lib}/jpf-boot.jar" />
<pathelement location="${lib}/../JPFCodeGenerator-${jpfCodeGeneratorVersion}-rt.jar" />
<pathelement path="plugins/core/build/" />
<pathelement location="${lib}/commons-logging.jar" />
</path>
<!-- Run the JPF Code Generator -->
<target name="generate">
<java classname="net.sf.jabref.plugin.util.CodeGenerator" fork="true">
<classpath refid="classpath-codeGenerator" />
</java>
</target>
<target name="compile" depends="compilePlugins">
<mkdir dir="${build}" />
<javac debug="on" deprecation="on" destdir="${build}" source="1.5" target="1.5">
<src path="${src}" />
<classpath refid="classpath-application" />
</javac>
</target>
<target name="compilePlugins" depends="generate">
<ant inheritall="false" dir="plugins/core/" />
<ant inheritall="false" dir="plugins/plugin1/" />
<ant inheritall="false" dir="plugins/plugin2/" />
</target>
<target name="run">
<java classname="com.example.Main" fork="true">
<classpath refid="classpath-application" />
</java>
</target>
<target name="clean" description="Clean project">
<delete dir="${build}" />
<ant inheritall="false" dir="plugins/core/" target="clean" />
<ant inheritall="false" dir="plugins/plugin1/" target="clean" />
<ant inheritall="false" dir="plugins/plugin2/" target="clean" />
</target>
</project>
|