Re: Resources

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Thu Apr 17 2003 - 11:07:19 EDT

  • Next message: Frédéric Dreier: "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; ruettiman..mazing-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 : Thu Apr 17 2003 - 11:12:51 EDT