Re: WOLips (Eclipse 3.0.1) Linux Launch Classpath Problem

From: Ralf Liebenow (ral..heco.de)
Date: Fri Dec 10 2004 - 12:55:25 EST

  • Next message: Ulrich Köster: "Re: Models not found in Direct2Web-App"

    Hello !

    I installed the Solaris deployment environment which is pure java. It
    is not possible to use the Graphical WO Tools like EOModeler, WOBuilder etc
    under Linux, these Files have to be developed under Windows or MacOSX or
    as Text Files directly with a Text editor.

    But WO Java Development under Linux with Eclipse and WOLips is no Problem,
    with eclipse 2.1.3 and the WOLips for that eclipse Version it works like
    a charm, only the new Version for Eclipse 3 makes trouble when launching
    from Eclipse ....

    At the moment I create my EOModels under Windows and copy the Files
    to my Linux box, and develop my Web Components by Hand with a Text Editor
    (the WOBuilder is a useless tool ... has soo many restrictions and bugs,
    creating the Templates and Bindings with a Text Editor is much easier).

    Because we develop in a team where I mainly develop Java Core Logic, and
    others creating the views (using Windows or MacOSX), there is not much
    conflict there, the projects are shared through a CVS repository and
    cross platform usable (Windows, MacOSX, Windows) with Eclipse and WOLips.

       Greetings
         Ralf

    > Hello Ralf,
    > it seems you use WO on Linux box, could you tell me if this is correct?
    > if yes, could you give me a link or a hint how to install WO on linux?
    > thank you.
    >
    > Sako.
    >
    > ----- Original Message -----
    > From: "Ralf Liebenow" <ral..heco.de>
    > To: <woproject-de..bjectstyle.org>
    > Sent: Friday, December 10, 2004 6:13 PM
    > Subject: WOLips (Eclipse 3.0.1) Linux Launch Classpath Problem
    >
    >
    > > Hello !
    > >
    > > I installed the newest WOLips 1.1.0.90 into my Eclipse 3.0.1 and created
    > > a new Project (named X) using Framework (named Y).
    > >
    > > I can create classes and Resources, build them with ant (build.xml) and
    > > deploy them, and the Application works OK.
    > >
    > > However, the launch Configuration I created to launch the Application
    > > within Eclipse does not have the right Classpaths setup. NSBundle does
    > > not find its Main Bundle because its X.woa Path is not in the classpath.
    > > It also does not find Resources for the Framework Y, because the
    > > Y.framework Path is not in its classpath.
    > >
    > > The Framework is selected in the Java build Path of the Project (which
    > > is necessary to compile the classes), and the jar-files are referenced, so
    > > the Problem is only in launching because application and frameworks base
    > > paths are not listed in the classpath at launch time (all the jar files
    > are).
    > >
    > > NSBundle uses the System Properties "java.class.path" and
    > > "com.webobjects.classpath" to look for classes, Frameworks and
    > applications.
    > >
    > > "com.webobjects.classpath" is empty, when I launch in eclipse and
    > > "java.class.path" lists only the necessary jar files, which is OK for
    > > compilation, but for NSBundle the .framework and .woa Paths needed to be
    > > in there.
    > >
    > > I edited the Launch configuration and added the Variable
    > > ${working_dir_loc_WOLips:X} to the classpath of the launch, and now
    > NSBundle
    > > finds the main application bundle. But the frameworks are also missing
    > > (and I don't want to maintain that list by hand, WOLips supported that in
    > > the older versions).
    > >
    > > The astonishing thing is, that the same Eclipse with the same Plugin _and_
    > > the same Project Files copied to a MacOSX machine worked flawlessly
    > > without complaining, and without the need to add
    > ${working_dir_loc_WOLips:X}
    > >
    > > So what could be the cause here ? Is this a "linux only" matter ?
    > >
    > > Greetings
    > > Ralf
    > > --
    > > theCode AG
    > > Oranienstr. 10-11, 10997 Berlin [×]
    > > fon +49 30 617 897-0 fax -10
    > > ral..heCo.de http://www.theCo.de
    > >
    > >
    >
    >

    -- 
    theCode AG
    Oranienstr. 10-11, 10997 Berlin [×]
    fon +49 30 617 897-0  fax -10
    ral..heCo.de http://www.theCo.de
    



    This archive was generated by hypermail 2.0.0 : Fri Dec 10 2004 - 12:55:28 EST