Re: java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamDriver

From: Mike Kienenberger (mkienen..mail.com)
Date: Wed Mar 08 2006 - 08:39:40 EST

  • Next message: Andrus Adamchik: "Re: java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamDriver"

    Hey Andrus.

    > cd cayenne/cayenne-ant/
    > ant release-win

    Yes, this is how I'm doing it (actually, I have a go.bat script in
    cayenne-ant to set the JDK to 1.5 first), but I'm still getting the
    missing win-path-ref and the
    com/thoughtworks/xstream/io/HierarchicalStreamDriver errors.

    I haven't tried to run any other build.xml file nor anything other
    than the standard tasks listed under ant projecthelp.

    -Mike

    On 3/8/06, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > 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 - 08:39:42 EST