Re: Problem with WOApplication ant task

From: Andrew Lindesay (ap..indesay.co.nz)
Date: Sun Jul 01 2007 - 16:10:58 EDT

  • Next message: Johan Henselmans: "UTF-8 (BOM) of wod file crashes the App"

    Grüß Philipp;

    OK sorry; on re-reading your email, I see I've missed the aspect that
    the problem is with a framework.

    Regards;

    On 01/07/2007, at 10:02 PM, Philipp Leusmann wrote:

    > Sorry, but either you got my question wrong, ar I am getting your
    > answer
    > wrong, but I have no idea how your proposition should help in my
    > problem.
    > Please explain, what it should do.
    ...
    >> Just add two entries like this;
    >>
    >> <wsresources dir="WebServerResources/css">
    >> <patternset>
    >> <includesfile
    >> name="woproject/wsresources.include.patternset"/>
    >> <excludesfile
    >> name="woproject/wsresources.exclude.patternset"/>
    >> </patternset>
    >> </wsresources>
    >>
    >> <wsresources dir="WebServerResources/graphics">
    >> <patternset>
    >> <includesfile
    >> name="woproject/wsresources.include.patternset"/>
    >> <excludesfile
    >> name="woproject/wsresources.exclude.patternset"/>
    >> </patternset>
    >> </wsresources>
    >>
    >> cheers.
    >>
    >>> I am having some problem with building a WOApplication with embedded
    >>> Frameworks using the WOApplication ant-task.
    >>> The Problem is, that WebServerResources are always put into a
    >>> subfolder (where there are in in the projects) in the
    >>> Contents/WebServerResources. That is, I have a Framework which has a
    >>> top level directory /Images which contains some pictures. When this
    >>> Framework itself is built, the pics take their place in
    >>> build/Framework.framework/WebServerResources/, exactly as it
    >>> should be.
    >>> But when embedding the framework into the application the pictures
    >>> end up in
    >>> dist/Application.woa/Contents/Library/Frameworks/
    >>> Framework.framework/WebServerResources/pics/
    >>> and thus cannot be found by WebObjects.
    >>> Is this desired behaviour? If not, would it be hard to fix this for
    >>> Eclipse 3.2?
    >>> Can WebObjects (5.2) be somehow configured to recourse through
    >>> WebServerResources? Else I would be forced to manually copy the
    >>> files
    >>> around on each deploy.

    ___
    Andrew Lindesay
    technology : www.lindesay.co.nz
    business : www.silvereye.co.nz



    This archive was generated by hypermail 2.0.0 : Sun Jul 01 2007 - 16:12:11 EDT