Re: Integrating jars for WOFrameworks ?

From: Ken Anderson (list..nderhome.com)
Date: Tue Mar 21 2006 - 13:45:31 EST

  • Next message: Ken Anderson: "Importing eomodels and running EOGenerator"

    Mark,

    Thanks. Putting the 3rd party jars in Extensions is not really an
    option - first I would prefer to not keep track of what dependencies
    I have on things in that directory, and second, I have different
    framework/app combinations that use different versions of the same
    jars. Putting them in the application package kinda defeats the
    purpose, doesn't it? This is a framework built around a specific 3rd
    party jar.

    I guess I'm not clear on how it would be better with Eclipse. Are
    you saying that, because the third party jar is just integrated into
    the framework that the app won't automatically rebuild if that jar is
    changed?

    Ken

    On Mar 21, 2006, at 12:33 PM, Marc Respass wrote:

    > Ken,
    >
    > If I understand you correctly, you were having XCode unjar those
    > jar files then add all the classes to the jar created for your
    > framework. I would suggest that it's not the best approach. Eclipse
    > is nice because you can have your application reference a framework
    > as a project so changes to the framework effect the app. I would
    > suggest putting those jars in the application's package instead of
    > integrating them into the framework or put those jars somewhere
    > else like Extensions and reference them that way.
    >
    > To include jars in the applications Resources/Java directory and
    > adding them to the classpath, modify the build.xml. In the
    > build.woapp target of the build.xml, there is a section
    >
    > <lib dir=".">
    > <include name="Add .jar's that should be copied in the woa."/>
    > <exclude name="**/*.woa/**"/>
    > </lib>
    >
    > Add your jars there.
    >
    > Hope this helps
    > Marc
    >
    >
    > On Mar 21, 2006, at 12:22 PM, Ken Anderson wrote:
    >
    >> I'm attempting to move a pretty big project from xcode to WOLips.
    >> In a number of our frameworks, we integrate 3rd party jars with
    >> java files we've written around them. In xcode, we would
    >> integrate those jars into the jar being produced for the framework.
    >>
    >> Is there any way to do this in WOLips? Is this not the right
    >> approach?
    >>
    >> I'm using the latest stable Eclipsa 3.2M5a, and the latest built
    >> WOLips.
    >>
    >> Thanks,
    >> Ken
    >>
    >



    This archive was generated by hypermail 2.0.0 : Tue Mar 21 2006 - 13:45:50 EST