Re: Deployment of multiple versions of WO frameworks

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Thu Sep 07 2006 - 13:38:51 EDT

  • Next message: Ulrich Köster: "Re: Deployment of multiple versions of WO frameworks"

    Am 07.09.2006 um 16:44 schrieb Anders Peterson:

    > Ulrich Köster wrote:
    >> For sure. Don't forget to set the NEXT_ROOT on the machine.
    >
    > What do mean; do I have to change it?

    No, it hs to be set.

    >
    > I already have a working WO 5.2.4 Windows deployment server. My
    > plan was to start deploying WO 5.3+ apps with embedded frameworks.
    >
    > Exactly what tells the application to use its own version of the
    > frameworks instead of the machine's version?

    The classpath.

    >
    > /Anders
    >
    >> Am 07.09.2006 um 16:16 schrieb Anders Peterson:
    >>> Nice feature!
    >>>
    >>> Could this be used to deploy WO 5.3/5.4 apps on Windows and
    >>> Solaris servers?
    >>>
    >>> Basically I'd do a WO 5.2.4 deployment installation on Windows,
    >>> and when I build (on a Mac) I embed everything (including all the
    >>> standrad WO frameworks).
    >>>
    >>> /Anders
    >>>
    >>> Ulrich Köster wrote:
    >>>> The embed="true" for a frameworks section does the trick.
    >>>> <frameworks root="/Foo" embed="true">
    >>>> </frameworks>
    >>>> Uli
    >>>> Am 07.09.2006 um 15:28 schrieb Ken Anderson:
    >>>>> Well, the combined frameworks are about 20 MB, so not so
    >>>>> bad... we have about 10 WOApps, so a sum total of 200 MB.
    >>>>>
    >>>>> OK, if I go that way, is there an easy way ?
    >>>>>
    >>>>> Thanks,
    >>>>> Ken
    >>>>>
    >>>>> On Sep 7, 2006, at 9:19 AM, Ulrich Köster wrote:
    >>>>>
    >>>>>> What does large mean. 10, 100 or 1000mb? I'll recommend to
    >>>>>> embed the frameworks. Makes life much easier.
    >>>>>>
    >>>>>> Uli
    >>>>>> Am 07.09.2006 um 14:58 schrieb Ken Anderson:
    >>>>>>
    >>>>>>> I have a situation where I want to be able to deploy multiple
    >>>>>>> versions of frameworks on the same machine at the same time
    >>>>>>> (so I can have multiple versions of the WOApps). At the
    >>>>>>> moment, I install all frameworks in the typical /Library/
    >>>>>>> Frameworks directory on the machine (an xserve running OS X).
    >>>>>>>
    >>>>>>> My guess is that, since we're talking jars and classpaths
    >>>>>>> here, I could modify the classpath file generated by WOLips
    >>>>>>> on install so that the frameworks and apps could point to a
    >>>>>>> different location, maybe like:
    >>>>>>>
    >>>>>>> /Library/Commoditrack/Build316/Frameworks
    >>>>>>> /Library/Commoditrack/Build404/Frameworks
    >>>>>>>
    >>>>>>> Ideally, I would like to have a special target in the Ant
    >>>>>>> build.xml file that would figure out the subversion version
    >>>>>>> number and use that when generating all the classpath files.
    >>>>>>>
    >>>>>>> Does anyone have any thoughts on this? Hints? Ideas? I'm
    >>>>>>> no Ant expert.
    >>>>>>>
    >>>>>>> Our frameworks are pretty large, and we have a number of
    >>>>>>> WOApps that use them, so I don't want to copy the jars into
    >>>>>>> each WOApp. I would also prefer to continue using the
    >>>>>>> ability for the EOModels to be loaded automatically from
    >>>>>>> their bundles, but that's not 100% necessary.
    >>>>>>>
    >>>>>>> Thanks,
    >>>>>>> Ken
    >>>>>>>
    >>>>>>
    >>>>>
    >>>
    >>>
    >>> --http://ojalgo.org/
    >>>
    >>> Mathematics, Linear Algebra and Optimisation with Java
    >
    >
    > --
    > http://ojalgo.org/
    >
    > Mathematics, Linear Algebra and Optimisation with Java



    This archive was generated by hypermail 2.0.0 : Thu Sep 07 2006 - 13:38:54 EDT