which woproject/ant config file?

From: Des Oates (doate..dobe.com)
Date: Thu Feb 24 2005 - 17:57:48 EST

  • Next message: James Seigel: "Re: which woproject/ant config file?"

    Hello

    I've got a sticky problem adding a jar file to my woa that I've built
    using WOLips.

    In my Eclipse workspace I have 2 projects:

        ${workspace}/foo My WO Application project.
        ${workspace}/bar a shared project that 'foo' depends on. The
    output of this project is found in ' ${workspace}/bar/output/bar.jar'

    The physical copying of bar.jar into the woa package is not a problem.
    I've got an ant script that copies it into
    "../foo.woa/Contents/Resources/bar.jar".

    My problem is that I need to get 'foo' deployed such that "bar.jar" is
    on foo's classpath at runtime. How can I do this? I think I need
    have this entry generated in my Classpath.txt file:

    "APPROOT/Resources/Java/bar.jar" (If I add this in manually to the
    classpath file then the app runs swimmingly)

    I've looked inside my woproject folder. There are several ant config
    files in there that (I'm guessing) are used to generate the
    classpath.txt files, but I don't know which one I need to edit.
    Furthermore I don't know what to edit it with. Do I add the source
    path (' ${workspace}/bar/output/bar.jar' ) or do I add the destination
    path ("Resources/Java/bar.jar")

    Any pointers in the right direction here would be gratefully
    appreciated.

    Des



    This archive was generated by hypermail 2.0.0 : Thu Feb 24 2005 - 17:57:56 EST