Soory, but this still doesn't work for me.
If I have done an "ant clean" the following build fails, because the
target dir "${dist.lib.dir}" = "xdoclet/target/lib" does not exist.
The mkdir just before builds the "wrong" directory "${build.lib.dir}".
These are the last lines from the build process:
compile:
[javac] Compiling 85 source files to
/unixware/home/frank/java/XDoclet-cvs/xjavadoc/build/classes
jar:
[mkdir] Created dir: /unixware/home/frank/java/XDoclet-cvs/xjavadoc/build/lib
[jar] Building jar:
/unixware/home/frank/java/XDoclet-cvs/xdoclet/target/lib/xjavadoc.jar
BUILD FAILED
file:/unixware/home/frank/java/XDoclet-cvs/xjavadoc/build.xml:234: Problem creating
jar: /unixware/home/frank/java/XDoclet-cvs/xdoclet/target/lib/xjavadoc.jar (No such
file or directory) (and the archive is probably corrupt but I could not delete it)
Regards,
Frank
Aslak Helles?y wrote:
> User: rinkrank
> Date: 02/09/30 11:32:34
>
> Modified: core build.xml
> Log:
> Fixed the broken build. Not xdoclet/core/build.xml overrides ${jar.file} in
>xjavadoc/build.xml so that xjavadoc writes the jar file in xdoclet's target/lib
>directory.
>
> Revision Changes Path
> 1.9 +1 -1 xdoclet/core/build.xml
>
> Index: build.xml
> ===================================================================
> RCS file: /cvsroot/xdoclet/xdoclet/core/build.xml,v
> retrieving revision 1.8
> retrieving revision 1.9
> diff -u -w -r1.8 -r1.9
> --- build.xml 8 Sep 2002 01:28:57 -0000 1.8
> +++ build.xml 30 Sep 2002 18:32:34 -0000 1.9
> @@ -89,7 +89,7 @@
> <!-- build xjavadoc -->
> <echo message="XJavadoc sources are available and newer than xjavadoc.jar.
>Building xjavadoc..."/>
> <ant dir="${xjavadoc.dir}" target="jar" inheritAll="false">
> - <property name="dist.dir" value="${dist.lib.dir}"/>
> + <property name="jar.file" value="${dist.lib.dir}/xjavadoc.jar"/>
> </ant>
> </target>
>
>
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Xdoclet-devel mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
>
>
>