Re: App does not find WebServerResources

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Wed Apr 09 2003 - 07:08:15 EDT

  • Next message: Ulrich Köster: "Updates"

    Hi,

    Am Mittwoch, 09.04.03 um 12:36 Uhr schrieb Hordur Thordarson:

    > Hi Ulrich,
    >
    > My PB.project file looks different from yours but I'm not very
    > familiar with what it is supposed to look like. The one WOLips
    > created when I imported my project, is attached. Can you see if there
    > is anything wrong with it ?
    I take a look at it. Don't forget to start the WebServer.
    >
    > Another question: If I delete my PB.project file, is WOLips supposed
    > to re-generate it ? It does not do that even if I select "Update
    > PB.project" from the WOLips menu.
    No, WOLips only apply changes to the file to preserve the changes done
    with ProjectBuilderWO. To create a new PB.project:
    - Create a project with the name of the project + an "A" at the end.
    - Copy the PB.project from the new project to the old project.
    - Open it with TextEditor and remove the "A" from the project name.
    - Make a refresh in a Eclipse.
    - Select Update PB.project.

    Ulrich

    >
    > Thanks,
    >
    > Hordur
    >
    > On Miğvikudagur, apr 9, 2003, at 07:41 Atlantic/Reykjavik, Ulrich
    > Köster wrote:
    >
    >> Hi,
    >>
    >> take a look at the example to find out how we do it:
    >> <ImagesHandling.tar>
    >> Just copy the images folder to your webserver documents folder. It's
    >> much faster then getting them trough the application.
    >>
    >> Ulrich
    >> Am Mittwoch, 09.04.03 um 00:48 Uhr schrieb JR Ruggentaler:
    >>
    >>> Are you running the current version of WOLips (1.0.0 RC4 I think)?
    >>> The problem I had was related to the PB.project files not being
    >>> updated correctly.
    >>>  
    >>> J.R.
    >>>
    >>> -----Original Message-----
    >>> From: Hordur Thordarson [mailto:hordu..martkort.is]
    >>> Sent: Tuesday, April 08, 2003 5:38 PM
    >>> To: Ulrich Köster
    >>> Cc: JR Ruggentaler; 'woproject-de..bjectstyle.org'
    >>> Subject: Re: App does not find WebServerResources
    >>>
    >>> Ulrich / JR,
    >>>
    >>>
    >>> Did you guys ever figure this out ? I'm having the same problem with
    >>> the latest Eclipse/WOLips and WO 5.1.
    >>>
    >>>
    >>> Hordur
    >>>
    >>>
    >>> On Şriğjudagur, feb 25, 2003, at 08:41 Atlantic/Reykjavik, Ulrich
    >>> Köster wrote:
    >>>
    >>>
    >>> Hi JR,
    >>>
    >>>
    >>> I've never tried to load images with WO (and WOLips). All the images
    >>> are on the local webserver and are referenced like this:
    >>>
    >>> <IMG SRC="/hello/img/linebg.gif" ALT=linebg WIDTH=29 HEIGHT=1></BODY>
    >>>
    >>> This is much faster than the way trough webobjects. But this may not
    >>> fit your needs.
    >>>
    >>>
    >>> I will take a look at the project if you send it to me.
    >>>
    >>>
    >>> Ulrich
    >>>
    >>>
    >>> Am Dienstag, 25.02.03 um 02:00 Uhr schrieb JR Ruggentaler:
    >>>
    >>>
    >>> Some additional information. When I run my test app built with
    >>> eclipse and
    >>>
    >>> WOLips from the command line it works fine. This seems to be an
    >>> issue with
    >>>
    >>> the launch configuration assistant. Is there an easy way to see the
    >>> command
    >>>
    >>> line used to launch a WO app? Here is the command line I used from
    >>> the
    >>>
    >>> eclipse project directory that worked:
    >>>
    >>>
    >>> java -Xrs -DWORootDirectory=C:/Apple -DWORootDirectory="C:\Apple"
    >>>
    >>> -DWOLocalRootDirectory="C:\Apple\Local"
    >>>
    >>> -DWOUserDirectory="C:\eclipse\workspace\Movies" -classpath
    >>>
    >>> "C:\eclipse\workspace\Movies\Movies.woa\Contents\Resources\Java\movie
    >>> s.jar;C
    >>>
    >>> :\Apple\Library\Frameworks\JavaFoundation.framework\Resources\Java\ja
    >>> vafound
    >>>
    >>> ation.jar;C:\Apple\Library\Frameworks\JavaXML.framework\Resources\Jav
    >>> a\javax
    >>>
    >>> ml.jar;C:\Apple\Library\Frameworks\JavaEOControl.framework\Resources\
    >>> Java\ja
    >>>
    >>> vaeocontrol.jar;C:\Apple\Library\Frameworks\JavaJDBCAdaptor.framework
    >>> \Resour
    >>>
    >>> ces\Java\javajdbcadaptor.jar;C:\Apple\Library\Frameworks\JavaEOAccess
    >>> .framew
    >>>
    >>> ork\Resources\Java\javaeoaccess.jar;C:\Apple\Library\Frameworks\JavaW
    >>> OExtens
    >>>
    >>> ions.framework\Resources\Java\JavaWOExtensions.jar;C:\Apple\Library\F
    >>> ramewor
    >>>
    >>> ks\JavaWebObjects.framework\Resources\Java\javawebobjects.jar"
    >>> Application
    >>>
    >>> -DWORootDirectory=C:/Apple
    >>>
    >>>
    >>> This is basically what PB generates except I changed the path to my
    >>> project
    >>>
    >>> files.
    >>>
    >>>
    >
    >
    >
    > <PB.project>



    This archive was generated by hypermail 2.0.0 : Wed Apr 09 2003 - 07:13:26 EDT