problems with WOComponents in packages and starting in Eclipse

From: Felix Franz (fran..rgosign.de)
Date: Fri Jun 06 2003 - 05:37:40 EDT

  • Next message: Andrus Adamchik: "Re: Generating EOs from an EOModel"

    Hi all,

    I am trying to convert a WO5.1-application to WOLips. Almost all
    WOComponents are in java packages, which worked fine in ProjectBuilder.
    Starting the program inside eclipse (either run or debug) gives me
    either WOPageNotFoundExceptions or

    "WARNING: Unable to find component class named "Main". If this is not
    intended to be a classless component, check your framework settings and
    the contents of your classpath file (in the .woa's
    Contents/<PLATFORM_NAME> subdirectory)." (where Main is defined in a
    package).

    If I start the generated .woa manually (cd foo.woa; ./foo) everything
    works fine. I inserted a print-statement to look at the content of the
    main-bundle, which is empty if I start using eclipse and shows my
    packages if I start manually.
    I am using "Debug as ... / WOApplication" with the default parameters.

    Has anyone an idea what went wrong? By the way I am using WO 5.1.4,
    Eclipse 2.1 and WOLips 1.0.1 on OSX10.2.6 (JVM 1.3.1).

    Thanks in advance

    felix



    This archive was generated by hypermail 2.0.0 : Fri Jun 06 2003 - 05:36:23 EDT