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 73 74 75 76 77 78 79 80 81 82 83 84
|
<?xml version="1.0"?>
<!--
This build.xml file was written for the Debian build of plexus-component-api.
This file copyright (c) Paul Cager <paul-debian@home.paulcager.org>
This software and documentation is provided "as is," and
the copyright holders and contributing author(s) make no
representations or warranties, express or implied, including
but not limited to, warranties of merchantability or fitness
for any particular purpose or that the use of the software or
documentation will not infringe any third party patents,
copyrights, trademarks or other rights.
The copyright holders and contributing author(s) will not be
liable for any direct, indirect, special or consequential damages
arising out of any use of the software or documentation, even if
advised of the possibility of such damage.
Permission is hereby granted to use, copy, modify, and distribute
this source code, or portions hereof, documentation and executables,
for any purpose, without fee, subject to the following restrictions:
1. The origin of this source code must not be misrepresented.
2. Altered versions must be plainly marked as such and must
not be misrepresented as being the original source.
3. This Copyright notice may not be removed or altered from any
source or altered source distribution.
-->
<project name="plexus-component-api" default="package" basedir="..">
<target name="package" depends="jar,javadoc"/>
<target name="init">
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="jar" value="${build.dir}/${package}-${version}.jar"/>
<property name="javadoc.dir" value="${build.dir}/doc/api"/>
<echo message="Classpath: ${java.class.path}" />
</target>
<target name="compile" depends="init">
<mkdir dir="${build.dir}"/>
<javac srcdir="${src.dir}/main"
destdir="${build.dir}"
includes="**/*.java"
debug="on"
/>
</target>
<target name="jar" depends="compile">
<delete file="${jar}"/>
<jar jarfile="${jar}"
basedir="${build.dir}"
includes="**/*.class,**/*.properties"
/>
</target>
<target name="javadoc" depends="init">
<mkdir dir="${javadoc.dir}"/>
<javadoc packagenames="org.codehaus.plexus.*"
sourcepath="${src.dir}/main/java"
destdir="${javadoc.dir}"
author="true"
version="true"
windowtitle="${package} API"
doctitle="${package} - ${version}"
classpath="${java.class.path}"
>
<link packagelistLoc="/usr/share/doc/libplexus-classworlds-java/api"
href="/usr/share/doc/libplexus-classworlds-java/api/" />
<link packagelistLoc="/usr/share/doc/classpath-doc/api"
href="/usr/share/doc/classpath-doc/api/" />
<link packagelistLoc="/usr/share/doc/libplexus-utils-java/api"
href="/usr/share/doc/libplexus-utils-java/api/" />
</javadoc>
</target>
<target name="clean" depends="init">
<delete dir="${build.dir}"/>
</target>
</project>
|