Ok, everything seems to work :-)
I turn off the turnaround mode, but i need to copy each time all resources
in the MyApp.woa/Content/Resources directory and images in in
MyApp.woa/Content/WebserverResources (even if they are listed in
PB.project)... how could i automatize this? I look at the ant script
(build.xml in the project dir) but it do not seems to be used.
Thanks,
Frédéric
-----Message d'origine-----
De : Ulrich Köster [mailto:ulric..bjectstyle.org]
Envoyé : jeudi, 17. avril 2003 17:07
Ŕ : Frédéric Dreier
Cc : woproject-de..bjectstyle.org; ruettimann@amazing-technologies.ch
Objet : Re: Resources
Hi Frédéric,
there is a command line option to enable/disable it. The rapid turnaround
mode works only in development mode. When you start the application there
are some lines saying found project x and use resources from there. To test
it launch your application, modify and save Main.wo and click refresh in the
browser. You should see the changes made to Main.wo. The rapid turnaround
mode just takes the resources from the project rather then from the
application. That is the reason for your problem. In the rapid turnaround
mode the application looks into the PB.project to find the resource. If the
resource is there but not a corresponding entry in the PB.project the
application won't load the resource.
Ulrich
Am Donnerstag, 17.04.03 um 16:56 Uhr schrieb Frédéric Dreier:
Thx, i have updated the PB.project and it works now :-)
But what is the "rapid turnaround mode" and how can i turn it off/on?
-----Message d'origine-----
De : Ulrich Köster [mailto:ulric..bjectstyle.org]
Envoyé : jeudi, 17. avril 2003 16:39
Ŕ : Frédéric Dreier
Cc : woproject-de..bjectstyle.org; ruettimann@amazing-technologies.ch
Objet : Re: Resources
Hi Frédéric,
this is a shortcoming in current implementation due to the fact that can
not choose which resources should go into the PB.project. There are two ways
to handle this. Disable the rapid turnaround mode or add the resources
manually to the PB.project.
Ulrich
Am Donnerstag, 17.04.03 um 15:29 Uhr schrieb Frédéric Dreier:
Hi,
I used to access resources (with ProjectBuilder) using :
resourceManager().bytesForResourceNamed("lala.plist",null,null)
For some reason, i cannot get it working with wolips
(nullpointerexception).
Should i add some path or copy files somewhere? Actually resources are
in
the project root and are also in the builded jar file.
Thx,
dreier
This archive was generated by hypermail 2.0.0 : Tue Apr 22 2003 - 14:15:10 EDT