Re: Problem with WOApplication ant task

From: Philipp Leusmann (philipp.leusman..wth-aachen.de)
Date: Sun Jul 01 2007 - 06:02:55 EDT

  • Next message: Philipp Leusmann: "Setting up WOLips development environment"

    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.

    Thanks,
     Philipp

    Andrew Lindesay schrieb:
    > Hello Philip
    >
    > 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 - 06:03:53 EDT