Hi,
to add all .gif files to the PB.project:
From the menu choose
Window->Preferences->WOLips->Projectbuilder->WOAppResourceInclude. Add
the include pattern "*.gif" without the ". Restart Eclipse. Right click
on the project root and select WOLips->Update PB.project. Open
WOBuilder and.....
What happens behind the scenes? WOBuilder takes the list of resources
from the PB.project. If this list is empty you have to enter the stuff
in the WOBuilder manually. If the WOApplication runs under rapid
turnaround mode, it takes also the info from the PB.project.
We place our webserver resources into the webserver document root.
WOBuilder is smart enough to load and display the images from the
WebServer. Don't forget that each WOImage is a full transaction and
takes much more time and resources compared against the delivery by the
webserver. We prefer to use the img tag instead:
<img src="/ic/img/top_right_corner.gif" width="38" height="61">
WOBuilder will display the images if your local webserver is running
and the image exist.
Ulrich
On Dienstag, 19. August 2003, at 14:52 Uhr, Frédéric Dreier wrote:
> Hi,
>
> I always have some problems to understand how to handle webserver
> resources:
> I use such resources (images) in both framework and application, and
> therefore have resources in two directories (framework/resources and
> application/resources)...
>
> ...but apache can only have one documents root.
>
> should I copy framework resources in application?
>
>
> I am sorry to be a little bit out of topic, but i cannot open the
> project in
> PB anymore (in order to see how it handles this situation).
>
> Thanks,
>
> Frederic
>
This archive was generated by hypermail 2.0.0 : Tue Aug 19 2003 - 09:03:14 EDT