Re: Unseen Framework?

From: Chuck Hill (chil..lobal-village.net)
Date: Mon Feb 05 2007 - 13:31:13 EST

  • Next message: Michael Hast: "Build Frameworks/Applications from build script"

    WOLips always creates a jar, even if it only includes a manifest.
    The real bug, IMHO, is in the building of the frameworks that don't
    have a jar. That is an incomplete bundle.

    Chuck

    On Feb 5, 2007, at 10:27 AM, William Hatch wrote:

    > Thanks Chuck,
    >
    > I was hoping not to have to do the .jar thing, as it means doing it
    > on every machine that's going to run this project (the ones using
    > Eclipse, anyway), but short of copying the models directly out of
    > the framework, I guess that'll have to do. It seems like we should
    > have an easy way to add these to the project, however. How else are
    > people handling Prototype Models inside of framewors, etc? Thanks
    > again.
    >
    > Bill Hatch
    > Macaulay Library
    > 4-2116
    >
    >
    >
    > On Feb 5, 2007, at 12:53 PM, Chuck Hill wrote:
    >
    >> One solution would be to manufacture a jar file as Kieran details
    >> below.
    >>
    >> Otherwise, on the Classpath tab of the run launcher, click
    >> Advanced and add a Folder for the Java folder under each of the
    >> frameworks that have no jar files. That should work at runtime in
    >> Eclipse. I don't know what will get in the classpath file for
    >> command line (JavaMonitor) launches.
    >>
    >> Chuck
    >>
    >> On Feb 5, 2007, at 9:02 AM, William Hatch wrote:
    >>
    >>> I just ran up against this problem, but not seeing the clear
    >>> answer and my circumstances are:
    >>>
    >>> I'm linking to external frameworks that I don't have control
    >>> over; don't have the source and cannot recompile them. Two of
    >>> these don't include jars, so they're not showing up as indicated
    >>> in this thread. I'm not using Wonder (for this project, anyway;-)
    >>> So, how do properly include these Frameworks in my project? Thanks.
    >>>
    >>>
    >>> Bill
    >>>
    >>>
    >>> On Jan 10, 2007, at 3:00 PM, Kieran Kelleher wrote:
    >>>
    >>>> Hi Chuck,
    >>>>
    >>>> I built this project with XCode many months ago. So, that makes
    >>>> sense. After the initial replies to this the other day, I just
    >>>> created a jar using command line "jar" command with an empty
    >>>> README.txt file inside and cp'd the jar into the framework and
    >>>> it shwoed up after that and worked fine after that.
    >>>>
    >>>> Thanks again to all for great community support,
    >>>>
    >>>> Kieran
    >>>>
    >>>> On Jan 10, 2007, at 2:36 PM, Chuck Hill wrote:
    >>>>
    >>>>> On a project I created recently (since Oct) that has no Java
    >>>>> files, a jar is still created by woproject. It only contains
    >>>>> the manifest, but it is a jar. Are you building this framework
    >>>>> with WOLips/WOProject, or is it from Xcode?
    >>>>>
    >>>>> Chuck
    >>>>>
    >>>>> On Jan 8, 2007, at 8:17 PM, Gavin Eadie wrote:
    >>>>>
    >>>>>> At 7:59 PM -0500 1/8/07, Kieran Kelleher wrote:
    >>>>>>> The framework just contains an EOModel with our inhouse
    >>>>>>> prototypes entity and a few text files. All other WO
    >>>>>>> frameworks in Library show up. I am speculating that this
    >>>>>>> might have something to do with it not having a jar??
    >>>>>>
    >>>>>> ... beware of Frameworks the don't contain jar files. WOLips
    >>>>>> generates a "classpath.txt" composed of, among other things,
    >>>>>> references to all the "jarry" Frameworks. However, the
    >>>>>> ResourceMonitor also uses this classpath as a place to hunt
    >>>>>> for resources ... the result is that, for example, the
    >>>>>> application will not be able to find resources in a jar-less
    >>>>>> Framework.
    >>>>>>
    >>>>>> Reported way back:
    >>>>>>
    >>>>>> http://issues.objectstyle.org/jira/browse/WOL-132
    >>>>>>
    >>>>>
    >>>>> --
    >>>>>
    >>>>> Practical WebObjects - for developers who want to increase
    >>>>> their overall knowledge of WebObjects or who are trying to
    >>>>> solve specific problems.
    >>>>> http://www.global-village.net/products/practical_webobjects
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>
    >>>
    >>>
    >>
    >> --
    >>
    >> Practical WebObjects - for developers who want to increase their
    >> overall knowledge of WebObjects or who are trying to solve
    >> specific problems.
    >> http://www.global-village.net/products/practical_webobjects
    >>
    >>
    >>
    >>
    >>
    >
    >

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Mon Feb 05 2007 - 13:31:23 EST