See my other message. You can do this:
cd cayenne/cayenne-ant/
ant release-win
To see all available targets in the master script do
cd cayenne/cayenne-ant/
ant help
Andrus
On Mar 8, 2006, at 1:02 AM, Mike Kienenberger wrote:
> Ok. I've added this condition task to win-distro.xml,
>
> <condition property="win-path-ref" value="classpath-win-onwindows">
> <os family="windows"/>
> </condition>
>
> and I've added
>
> <path id="classpath-win-onwindows">
> <fileset dir="lib/linux" includes="launch4j*/**.jar"/>
> </path>
>
> to the bottom of paths.xml
>
>
> Now I get this error.
> release-win:
>
> prepare:
> [mkdir] Created dir: E:\WORKSP~2\CAYENN~2\dist\win
>
> exe:
> [mkdir] Created dir: E:\WORKSP~2\CAYENN~2\build\win\classes
> [unjar] Expanding:
> E:\WORKSP~2\CAYENN~2\dist\cayenne-1.2-dev\lib\cayenne.jar into
> E:\WORKSP~2\CAYENN~2\build\win\classes
> [...]
> [unjar] Expanding:
> E:\WORKSP~2\CAYENN~2\dist\cayenne-1.2-dev\lib\modeler\scope-
> bin-1.0.1.jar
> into E:\WORKSP~2\CAYENN~2\build\win\classes
> [delete] Deleting directory E:\WORKSP~2\CAYENN~2\build\win
> \classes\META-INF
> [jar] Building jar: E:\WORKSP~2\CAYENN~2\build\win\cayenne-
> modeler-all.jar
>
> [copy] Copying 1 file to E:\WORKSP~2\CAYENN~2\build\win
>
> BUILD FAILED
> E:\WORKSP~2\CAYENN~2\build.xml:93: The following error occurred while
> executing this line:
> java.lang.NoClassDefFoundError:
> com/thoughtworks/xstream/io/HierarchicalStreamDriver
>
This archive was generated by hypermail 2.0.0 : Wed Mar 08 2006 - 03:12:53 EST