User: ko5tik
Date: 02/07/11 08:25:11
Modified: . build.xml
Log:
succesfull build with generic ant scrip
Revision Changes Path
1.14 +18 -9 xdocletgui/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdocletgui/build.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -r1.13 -r1.14
--- build.xml 2 May 2002 10:52:15 -0000 1.13
+++ build.xml 11 Jul 2002 15:25:11 -0000 1.14
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<project name="XDoclet GUI" default="xdocletgui" basedir=".">
+<project name="XDoclet GUI" default="jar" basedir=".">
<property environment="env"/>
<property name="pretty.on" value="yes"/>
@@ -19,7 +19,7 @@
<property name="java.src.dir" value="${src.dir}/java"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="jar.file" value="${build.dir}/${name}.jar"/>
- <property name="xjavadoc.jar"
value="${basedir}/../xjavadoc/xjavadoc.jar"/>
+ <property name="xjavadoc.dist" value="${basedir}/../xdoclet/dist/lib"/>
<property name="build.java.src.dir" value="${build.dir}/src"/>
<property name="build.classes.dir" value="${build.dir}/classes"/>
<property name="build.docs.dir" value="${build.dir}/docs"/>
@@ -56,9 +56,14 @@
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
- <pathelement location="${build.classes.dir}"/>
- <pathelement location="${xjavadoc.jar}"/>
+ <fileset dir="${ant.home}/lib">
+ <include name="*.jar"/>
+ </fileset>
+ <pathelement path="${java.home}/../lib/tools.jar"/>
+ <fileset dir="${xjavadoc.dist}">
+ <include name="*.jar"/>
+ </fileset>
</path>
<!-- =================================================================== -->
@@ -93,7 +98,9 @@
<!-- Beautifies the code -->
<!-- =================================================================== -->
<target name="pretty" depends="init" description="Beautifies the code"
if="pretty.on">
- <taskdef name="pretty" classname="org.acm.seguin.ant.Pretty"/>
+ <taskdef name="pretty"
+ classname="org.acm.seguin.ant.Pretty"
+ classpathref="classpath"/>
<!-- Run the prettytask twice to have the inserted todo tags aligned on new
line -->
<pretty settingsDir="${etc.dir}" cvs="yes" compileDir="${build.classes.dir}">
<fileset dir="${java.src.dir}">
@@ -259,8 +266,11 @@
<!-- Makes the manifest -->
<!-- =================================================================== -->
<target name="manifest" description="Makes manifest file">
- <taskdef name="merge" classname="xdoclet.ant.AntPropertyTask"/>
- <merge templateFile="${manifest.template.file}"
destinationFile="${manifest.file}"/>
+ <taskdef name="merge"
+ classname="xdoclet.ant.ReplaceCopy"
+ classpathref="classpath"/>
+
+ <merge file="${manifest.template.file}" toFile="${manifest.file}"/>
</target>
<!-- =================================================================== -->
@@ -275,9 +285,8 @@
<xjavadoc
classpath="${java.class.path};${jar.file};${xjavadoc.jar}"
maxmemory="160m"
- fork="yes"
+ fork="true"
classname="xdocletgui.swing.Main"
-
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel