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 : Tue Mar 07 2006 - 17:02:49 EST