Re: woapplication script

From: Chuck Hill (chil..lobal-village.net)
Date: Fri Jun 18 2010 - 03:53:18 UTC

  • Next message: Chuck Hill: "Re: woapplication script"

    On Jun 17, 2010, at 8:19 PM, Lachlan Deck wrote:
    > On 18/06/2010, at 2:32 AM, Chuck Hill wrote:
    >
    >> I don't see that in the scripts that launch my apps.
    >
    > Hmm. It's in woproject's svn.
    > woproject-ant-tasks/src/resources/woapp/Contents/MacOS/appstart

    Which is the one that you _don't_ want. woproject-ant-tasks/src/resources/woapp_52/Contents/MacOS/appstart is the modern one. wo.bootstrapjar is not finding the jar file.

     
    >> I suspect that the machine you are building these on thinks it is still on WO 5.2 (or previous). Are you building it on this machine?
    >
    > Built on my mac: no 5.2 there.

    Take a look at where wo.bootstrapjar is pointed.

    >> If the woapplication task can't find the file pointed to by wo.bootstrapjar (in wolips.properties), it will assume it is an old version for WO and generate an ancient version of the startup script.
    >
    > Ah! Good to know. I've probably never noticed since updating to snow leopard (as I didn't reinstall WO proper, but just relied on the artifacts I had in the maven repository).
    >
    > Where's that logic btw?

    Mostly in woproject/woenvironment/src/java/org/objectstyle/woenvironment/env/WOEnvironment.java

    Chuck

    -- 
    Chuck Hill             Senior Consultant / VP Development
    

    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 : Fri Jun 18 2010 - 03:53:56 UTC