facebook

Eclipse 3.1.0 / MacOS / SWT Questions

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #212066 Reply

    sbnboy
    Member

    Hi,

    I have looked all over and have run out of leads to figure out a fix for my problem with macos and JFace. If I just missed something stupid I apologize, I’m kind of new to Eclipse.

    A couple of guys and me are working on a J2EE app and have been making great progress. The person doing the user interface has been working with Eclipse, and so is using SWT and JFace. The GUI development is being done on an XP box, whereas the backend is jboss on linux. Just to make matters fun, integration is being done on a mac!

    macos 10.3.5 on a PowerBook g4
    eclipse 3.X Version: 3.1.0 Build id: 200408122000
    java -version
    java version “1.4.2_05”
    Java(TM) 2 Runtime Environment,
    Standard Edition (build 1.4.2_05-141)
    Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)

    If I need to be more specific on the ENV I apologize.

    …the J2EE stuff works great on the powerbook (its jboss). The problem is the GUI. It looks great on the XP box, but isn’t even usable on the mac.

    On the XP box the org.eclipse.jface.window.ApplicationWindow initializes properly while using regular Shell. On the mocos however things don’t behave. It seems the org.eclipse.jface.window.ApplicationWindow, class is not able to initialize. By this I mean no buttons, no tabs, nada, only the status area. No Exceptions are thrown, the window just comes up and sits there.

    I’m handing the vm the args -Djava.library.path=/usr/java/eclipse/plugins/org.eclipse.swt.carbon_3.1.0/os/macosx/ppc/

    I looked in /workspace/.metadata directory for a .log file as was mentioned earlier in this thread. There was one, but it had a bunch of old cruft in it. I moved it out of the way and restarted Elcipse, then recompiled and re-ran the app. There was not another .log file so I assume nothing “.log”-able is happening.

    Can someone throw me a bone on this and let me know if I should stop wasting time using the mac? Maybe there’s some kind of bad juju with the carbon jface stuff? I tried both Elcipse_3.0.0 and Eclipse_3.1.0. Maybe I haven’t done my homework there is a good reference that I can read ether on SWT, or JFace? I’m using the new O’Reilly books on Eclipse, “Eclipse, and Eclipse Cookbook”. I would be happy dive into another.

    Just seems like I’m banging my head against a wall here, and would like to start to make progress again.

    #212067 Reply

    sbnboy
    Member

    I just read the posting guidlines…
    This was a fresh install of Eclipse 3.1.0.

    #212070 Reply

    Riyad Kalla
    Member

    sbnboy,
    These forums are meant as support for users of the MyEclipse product, your question is really better suited for the Eclipse SWT newsgroup as they would be able to help you out.

    #212072 Reply

    Scott Anderson
    Participant

    This was a fresh install of Eclipse 3.1.0.

    Since Eclipse 3.1.0 is still in milestone status, it is not officially supported. Any problems you have with the widget behavior should be reported to the Eclipse team.

    That said, I’d suggest you get rid of 3.1.0 and use Eclipse 3.0 as it seems to work quite nicely on my Mac Powerbook.

    #212079 Reply

    sbnboy
    Member

    Thanks Scott,
    Didn’t mean to post to the wrong group. BTW, the JFace stuff didn’t work in 3.0.0 either, that’s why I moved to 3.1.0. If I might be so bold as to ask, have you used code with the ApplicationWindow in it? If so it’s me, if not, then I should look more at my config maybe.

    Thanks again,

    Bryan

    #212080 Reply

    Scott Anderson
    Participant

    Bryan,

    You’ve definately got some interesting development going on. I applaud your use of Eclipse as a rich client for your J2EE application, but from the sounds of it, it doesn’t appear that everything is packaged properly for the Mac. It might be the platform-specific fragments in JFace or SWT that are missing or something. A way to isolate if that might be the case is to install your UI into Eclipse as plugin projects and launch it using the entire Eclipse SDK + your UI in the PDE and see if your UI is functional in this model. If it is, it means that you’ve cut too much out of Eclipse for your UI to function properly on its own. Of course, if this is what you’re already doing, I have no idea.

    As far as ApplicationWindow goes, we don’t explicitly use it in MyEclipse since we let the Eclipse platform run the UI. However, if Eclipse uses it internally, and Eclipse looks good on the Mac, then it’s most likely your configuration. Sorry I can’t provide more guidance than that.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Eclipse 3.1.0 / MacOS / SWT Questions

You must be logged in to post in the forum log in