Re: WOLips RC3: Unbound classpath variable

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Sat Mar 29 2003 - 13:08:43 EST

  • Next message: Andrus Adamchik: "Bug fixes"

    Hi,

    I prefer the default java project structure. Put any additional jars in
    a folder named lib in your project folder and refer it in the build
    properties as a library. To copy the lib into the app/framework and
    include it in the apps classpath modify your build.xml.

    Instead off:

                            <lib dir=".">
                                    <include name="Add .jar's that should be copied in the woa."/>
                                    <exclude name="**/*.woa/**"/>
                            </lib>

                            <lib dir="lib">
                                    <include name="*.jar"/>
                            </lib>

    Ulrich
    Am Samstag, 29.03.03 um 18:16 Uhr schrieb Kaj Hejer:

    > At 14:29 +0100 29-03-03, Ulrich Köster wrote:
    >> Hi Kaj,
    >>
    >> could you try this:
    >> Window->Preferences->WOLips -> Rebuild wobuild.properties on next
    >> launch.
    >> Restart Eclipse and rebuild your project.
    >>
    >> In the case of a failure. Could you send me your .log. It's under
    >> .metadata in the workspace.
    >
    >
    > Hi!
    >
    > Thanks for answering!
    >
    > I had an old ~/Library/wobuild.properties. When I deleted this file
    > and did as you describe above to get a new wobuild.properties I got a
    > bit further.
    >
    > Now I get the following in the console:
    >
    > Kind Status Priority Description Resource In
    > Folder Location Error This compilation unit
    > indirectly references the missing type junit.framework.TestCase
    > (typically some required class file is referencing a type outside the
    > classpath) Application.java medark/src line 0 Error
    > The project was not built since its classpath
    > is incomplete. Cannot find the class file for
    > junit.framework.TestCase. Fix the classpath then try rebuilding this
    > project. medark
    >
    > We are using WOUnitTest which use junit.jar. I have added WOUnitTest
    > to my eclipse project and I have junit.jar in
    > /Library/Java/Extensions.
    >
    > Is it ok to just put third party jars is /Library/Java/Extensions as
    > I do when I use ProjectBuilder, or do I need to do anything else to
    > make eclipse/ant find them?
    >
    >
    >
    > -Kaj :)



    This archive was generated by hypermail 2.0.0 : Sat Mar 29 2003 - 13:13:13 EST