RE: WOFramework Projects

From: Bill Michell (bill.michel..bc.co.uk)
Date: Wed Sep 28 2005 - 06:42:45 EDT

  • Next message: Colin Shreffler: "WOBuilder Support"

    In build.xml, you should find a few lines that look like this:

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

    Make it look like this instead:

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

    This should do what you want - but I agree, it seems frustrating to have to refer to the jars in multiple locations...

    --
    Bill Michell
    Development Team Leader, Broadcast Platforms, BBC News Interactive.



    -----Original Message-----
    From: Greg [mailto:ghulands@framedphotographics.com]
    Sent: Wednesday, September 28, 2005 8:26 AM
    To: woproject-dev@objectstyle.org
    Subject: WOFramework Projects

    Hi,
    I am setting up a new WO Framework project to move all my jar files
    from /Library/Java/Extensions into a framework, like how
    ERJars.framework does it, but I cannot for the life of me understand
    how to get it to copy/reference the jars. I can do it okay in the
    with ant, but would prefer to be able to do it in eclipse so I can
    just add jars to the framework and my application can then reference
    them.

    I have the jars in a folder "lib" in the framework project folder. I
    then went to project properties->java build path->libraries->add
    external jars and selected all my jars from the lib directory. This
    however does not seem to copy them into the framework wrapper or
    allow the application to get the jar references. I set up in the
    application's project properties->project references to reference the
    new wo framework.

    I couldn't find anything in the archives or on the wiki. Is there any
    chance someone could point out the steps necessary to get this to work?

    Any help is greatly appreciated.

    Regards,
    Greg




    http://www.bbc.co.uk/

    This e-mail (and any attachments) is confidential and may contain
    personal views which are not the views of the BBC unless specifically
    stated.
    If you have received it in error, please delete it from your system.
    Do not use, copy or disclose the information in any way nor act in
    reliance on it and notify the sender immediately. Please note that the
    BBC monitors e-mails sent or received.
    Further communication will signify your consent to this.



    This archive was generated by hypermail 2.0.0 : Wed Sep 28 2005 - 06:42:47 EDT