Re: Problem with WOApplication ant task

From: Andrew Lindesay (ap..indesay.co.nz)
Date: Sat Jun 30 2007 - 21:13:48 EDT


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 : Sat Jun 30 2007 - 21:14:37 EDT