facebook

debian 3 + gnome 2.6. Xdoclet entries gone [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #218698 Reply

    soleJBoss
    Member

    Hello everybody,

    I finally solved the “standard-native” java class problem packing it into jar and using JMX instead of JNI interfacing. (thanx Greg for the support).

    I’m having a new problem though since I’m moving my developing platform from a SUSE 9 (KDE 3) machine to a DEBIAN 3.1 (GNOME 2.6):

    the “EngineStruct–>Properties–>MyEclipse XDoclet–>Add Standard–>Select an Entry” menu doesn’t display properly. It just show the 2 buttons (OK, CANCEL) and nothing else. When I click on “OK” it adds, I presume, the first entry (Standard AOP).

    Eclipse installed correctly
    I installed MyEclipse 3.8.2 (the log reports no problems)
    I can access the perspective and the “help–>software updates–>manage configuration..” entry is present linked to the correct path.

    Any known issues of this kind?
    Might it be a glitch in my gtk libs?

    Thanks alot

    Sole

    #218699

    soleJBoss
    Member

    notify

    #219174

    Sandy Koczko
    Member

    Hi, Sole:

    Yes, I am having this exact problem, only I am using
    Fedora Core 2 and Gnome 2.4 (I think; not on Linux now to check).
    I posted a similar report in the “Bugs” section of the forums.

    Perhaps you and I can compare notes on gtk versions
    and so on and see if we can come up with anything on this;
    I’d sure like to be able to develop with MyEclipse on Linux.

    I will post more, when I get back to my Linux box.

    BTW, are any particular Linux distros the MyEclipse “supported” ones?
    What distros do the MyEclipse developers themselves use?

    Later,
    Sandy

    #219178

    Riyad Kalla
    Member

    Hey guys,
    These kinds of display issues are actually Eclipse/SWT+GTK issues and are a PIA as for us to troubleshoot on all distros… the Linux guys on this team use Gentoo and I think we have one FC 1 user… I know that we had an FC 2 user a while back that fixed all his display issues (had major ones) by downgrading his GTK install to some stock version… I don’t quite remember.

    If we can’t get thsi figured out together, I encourage you to post to the SWT newsgroup at Eclipse to see if they can help you… sometimes its a simple thing like creating a new rc file for GTK.

    #219197

    Sandy Koczko
    Member

    Riyad:

    I bet it IS a real PITA to support all these different versions of Linux.
    That’s why I thought you might limit your support to a couple of
    “known” versions. I’d be willing to change …

    I hope to compare gtk versions with Sole; maybe we both have
    the same “bad” one and can find a “good” one to replace it with.

    It would be a real help to me if I knew the version that worked
    for your fc2 guy. Or what versions other successful MyEclipse/Linux
    users are running.

    This is the only problem I’ve seen so far with an empty listbox.

    Thanks for your quick response,
    Sandy

    #219201

    Riyad Kalla
    Member

    Well I know collectively we have the most experience with Gentoo… I did a quick search for Fedora Core and didn’t find much… have you tried subscribing to Eclipse’s SWT news group? I believe the name/password is ‘exquisitus’ and ‘flinder1f7’… you can try and search for “Fedora Core” and I’m sure you’ll lots of people.

    The SWT and GTK teams are starting to work pretty closely together, and RedHat is starting to place a huge role in GCJ and Java on Linux, so I don’t think it will take much to get everything working happily together.

    #219324

    soleJBoss
    Member

    Hi koczkos, rkalla.

    Thanks for the replies.

    I’d really like to compare our gtk versions and see if we can sort this out. Only need to know which and how to retreive the infos.

    thanks

    Sole

    #219347

    Greg
    Member

    You can check your gtk version by using the following command:

    # rpm -qa | grep gtk

    Could you also check something else. The “Add Standard” dialog reads the following file for its configuration information:

    <MYECLIPSE_INSTALL_DIR>/eclipse/plugins/com.genuitec.jboss.ide.eclipse.xdoclet.run_3.8.X/resources/standards.xml

    Verify that this file exists and contains data. Also, when you bring up this dialog, does it generate any errors in the Eclipse error log (Window > show view > PDE runtime > Error log or <WORKSPACE_DIR>/.metadata/.log ) ?

    #219378

    Sandy Koczko
    Member

    Greg, Riyad, Sole and hbentel:

    After going so far as trying to build gtk from source (and failing) I finally found the answer
    by doing a Google search and finding a post in your own forums (topic 4519 below).
    Like Michael, I had gtk2-2.4.13-1 installed. I found a gtk2-2.4.10-something.rpm
    by doing a Google search and downgraded by using “rpm -Uvh –oldpackage the-2-4-10-package”.
    Now the MyEclipse dialog box works (but gnome-desktop-printing doesn’t; I’ll live with that).

    I guess there is some kind of bug in gtk2-2.4.13-1 and these three threads are related:
    https://www.genuitec.com/forums/topic/adding-xdoclet-configuration-window-too-small-closed/
    https://www.genuitec.com/forums/topic/debian-3-gnome-2-6-xdoclet-entries-gone-closed/
    https://www.genuitec.com/forums/topic/myeclipse-xdoclet-add-standard-gives-empty-win-closed/

    Sole and hbentel, what are your gtk2 versions?

    Sandy

    #219548

    soleJBoss
    Member

    koczkos…..

    i also had the 2.4.13-1 version installed. I fonud the 2.4.10 “deb” packages in the debian archive:
    http://snapshot.debian.net/archive/2004/09/20/debian/pool/main/g/gtk+2.0/

    and 😯

    IT WORKS!!!!

    thanks koczkos, Greg, Riyad and hbentel.

    Anyway for all the debianers:
    you’ll need to download all three of those:

    libgtk2.0-0_2.4.10-1_i386.deb
    libgtk2.0-bin_2.4.10-1_i386.deb
    libgtk2.0-common_2.4.10-1_all.deb

    and just run:

     # dpkg -i "the-package" 

    the next “apt-get install some-app-using-gtk….” will prompt for a dependancy issue but it is overridable…. or maybe it could be avoided editing the apt cache……

    cheers
    Sole

    #219549

    Riyad Kalla
    Member

    You guys have been great in running down the problem in this thread, I think this will be helpful to everyone on Linux and using Eclipse-GTK

    #219550

    soleJBoss
    Member

    BY THE WAY!!!! I forgot to say that the problem appeared also on KDE!!!

    thanks alot again

    Sole

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: debian 3 + gnome 2.6. Xdoclet entries gone [Closed]

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