Re: Using Eclipse 2.1.1 and WOLisp 1.0.6...

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Aug 12 2003 - 16:31:36 EDT

  • Next message: Ulrich Köster: "Re: Can't start with JavaMonitor (resolved w/ alternative ending)"

    Hi Franis,

    On Dienstag, 12. August 2003, at 16:44 Uhr, Francis Labrie wrote:

    > Hi,
    >
    >
    > Eclipse is a new IDE for me, and I'm trying to use it to do WebObjects
    > development instead of Mac OS X Project Builder. My goal is to be able
    > to build WebObjects projects using Project Builder on Mac OS X and
    > Eclipse on other plateform (Windows, Linux or even Mac OS X).
    >
    > To test Eclipse / WOLisp on Mac OS X, I've imported (using the WOLisp
    > creation option "Import PB Project") the PetStoreWOJava Apple example
    > (/Developer/Examples/JavaWebObjects/PetStoreWOJava).
    >
    > First, this import do not add all needed frameworks references:
    > PetStoreWOModel.framework was needed and was not included to the new
    > Eclipse project. Why? It would be nice to get this behaviour.
    WOLips can not read the PBX files. You have to add them manually. Right
    (Control) Click on the Project root and select WOLips->Add Local
    Framework.
    >
    > Second, when I build and try to run the application, I get this error:
    > "Working directory is not a woa:
    > /Developer/Applications/Eclipse/workspace/PetStoreJava. Please point
    > to a woa in the Argument tab." What's that? My project is not in this
    > folder at all, and where is this "Argument tab"? And why do I have to
    > set a woa folder for development / testing builts? Is there any
    > documentation / howto / FAQ available that describe WebObjects
    > developement using WOLisp / Eclipse other than to light ones currently
    > on http://objecstyle.org?
    The documentation is in the Menu under Help->Help Contents. You may
    have use a different browser the Safari like Camino to view the
    content.

    You don't have to build the application manually. Whenever you change a
    java class a build is invoked automatically. You have to refresh your
    project when you change things with WOBuilder.

    About you launching problem. Right (Control) Click on the project root
    and select refresh. There should be a folder 'dist' with the woa
    visible after that. Select the Application class in the src folder.
     From the menu choose Run->Run... or Run->Debug.... Create a new
    WOApplication. Take a look in the arguments tab. The working directory
    should be the woa. Click run or debug. You need the woa because this is
    WebObjects and not Java :-)
    >
    > Finally: Is it possible to use both Project Builder (and not PBWO) on
    > Mac OS X and Eclipse on anything else to manage and code one
    > WebObjects project?
    Never tried it. I would recommend the cvs for this task. Eclipse
    recognizes all changes as long as you use the src folder for the java
    stuff. You have to update the PBX project files manually or with the
    PBXIndex task.

    Ulrich

    >
    > Thanks!
    >
    > Kind regards,
    >
    > --
    > Francis Labrie
    > Saint-Bruno-de-Montarville, Quebec, Canada



    This archive was generated by hypermail 2.0.0 : Tue Aug 12 2003 - 16:24:06 EDT