Re: Put component files in WebServerResources after built/run
Re: Put component files in WebServerResources after built/run
- Subject: Re: Put component files in WebServerResources after built/run
- From: "Cheong Hee (Datasonic)" <email@hidden>
- Date: Tue, 12 Feb 2008 10:00:34 +0800
Thanks, David. Further looking into resources pattern file, I found there
is a wrong path setting, I supposed..
<resources.include.patternset>
Components/**/**.wo/**/*
Components/**/*.api
Resources/**/*
By changing these setting to this new path:
<resources.include.patternset>
Components/*.wo
Components/*.api
Resources/**/*
It indeeds included all wo and api files into
build/WOLipsTest.woa/Contents/Resources. So the browser is able to show up
the component.
The original resources include pattern setting is created whenever I create
a new project. So I tested with new project creation, WOLipsTestOneMore and
it did
create the same patternset that need to be modified. Where could I do a
global change so that it affects the new project creation? Using WOLips
3.3.4783.
Furthermore, what is the diff between ** and * in the path setting?
Thanks again..
Cheong Hee
----- Original Message -----
From: "David Avendasora" <email@hidden>
To: "Cheong Hee (Datasonic)" <email@hidden>
Cc: <email@hidden>
Sent: Monday, February 11, 2008 6:45 PM
Subject: Re: Put component files in WebServerResources after built/run
Hi,
As far as I understand, your components should be in the build/
app.woa/Contents/Resources, not WebServerResources. WebServerResources is
where all your images, css and .js files would be (non-WO resources).
The place to look for what controls what files are put where is in the
project's woproject directory. It is very possible that your includes
patternsets are conflicting with your excludes patternsets.
If you can't get it working, post the contents of them here.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden