Re: Adding Application Resources

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Jun 10 2003 - 03:34:46 EDT

  • Next message: Felix Franz: "Re: problems with WOComponents in packages and starting in Eclipse"

    Hi Paul,

    WOLips adds only the default stuff to the PB.project. You have to add
    it manually. You have to be careful with the 'Update PB.project'
    command. All your changes get lost if you call it manually.

    You have to add it also to the build.xml.

    In the case the images are public, I would recommend the way trough the
    webserver. If you deliver the images trough the application, each image
    takes one transaction.
    A short how to:
    Add the images to the webserver doc root and make sure that the
    webserver is running.
     From the html. <IMG SRC="/img/foo.gif" ALT=foo WIDTH=149 HEIGHT=24>
    WOBuilder is smart enough to resolve this tag and show you the image
    from the webserver.

    Let me know if you need more help with it.

    Ulrich

    Am Montag, 09.06.03 um 22:26 Uhr schrieb Paul Hertz:

    > I want to add a .xsl file to my application resources. I can obviously
    > create it without difficulty in the application file hierarchy;
    > however, it is not automatically added to the PB.project file, nor
    > does it show up on regenerating the file.
    >
    > Do I have to add such resources by manually entering them under
    > WOAPP_RESOURCES in PB.project ?
    >
    > Or should I add this to the build.xml file within <resources dir="."> :
    >
    > <include name="**/*.xsl/"/>
    >
    > Or is there some command I haven't discovered to add resource files?
    >
    > What's the best practice? I imagine the build.xml file edit is, but I
    > am rather new to using this IDE.
    >
    > I have a similar problem with a directory of bitmap graphics, "img."
    > It is in the file hierarchy, but the WOLips->Update PB.project command
    > does not add it to the PB.project file under WEBSERVER_RESOURCES. It
    > seems to me that it should do this (and that this worked in the past,
    > worse yet).
    >
    > -- Paul



    This archive was generated by hypermail 2.0.0 : Tue Jun 10 2003 - 03:33:21 EDT