I put together some rudimentary RPMs for Eclipse 3.1M6. I tried them very briefly and they appear to work. Give them a shot if you have a chance. I'd appreciate any feedback.
RPMs: http://people.redhat.com/~overholt/eclipserpms/
SRPM: overholt.ca/rpms/eclipse-3.1.0_fc-0.M6.1.src.rpm
Thanks,
Andrew "yes, I should get my disk quota upped" Overholt
Andrew Overholt wrote:
I put together some rudimentary RPMs for Eclipse 3.1M6. I tried them very briefly and they appear to work. Give them a shot if you have a chance. I'd appreciate any feedback.
Sun-based JVM's have $JAVA_HOME/include/linux/jni_md.h. The Makefile's assume everything is in $JAVA_HOME/include, so $JAVA_HOME/include/linux will have to be added to the include path. Now it seems that `make' is never called directly during the build process, so how are flags like includes passed to make?
Another problem is that the build expects JAVA_HOME to be set, doesn't it? It's not guaranteed that it would be set before building. The %ant macro attempted to correct this problem, by setting JAVA_HOME before ant is called.
On Sat, 2005-04-09 at 17:05 -0400, Andrew Overholt wrote:
I put together some rudimentary RPMs for Eclipse 3.1M6. I tried them very briefly and they appear to work. Give them a shot if you have a chance. I'd appreciate any feedback.
I tried these, here are my first impressions:
- During installation of eclipse-ecj, I got a (harmless) error:
rpm-tmp.61447: line 5: cd: /usr/lib/gcj-4.0.0/classmap.db.d: No such file or directory java.io.FileNotFoundException: bin is a directory at ...
(looking at the spec file, the db.d directory is never created)
- /usr/bin/eclipse still contains the following line:
-Dgnu.gcj.precompiled.db.path=/usr/lib/eclipse/eclipse.db
Since this file no longer exists, eclipse will effectively run in interpreted mode (according to lsof, no jar.so files are opened). By simply removing the line, gij will correctly pick up the new classmap (/usr/lib/gcj-4.0.0/classmap.db).
- I no longer have problems with opening XML files [1].
- The disabled search button issue [2] is back. The button is disabled both in native and interpreted mode now. Works fine with Sun's JRE.
[1] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=149915 [2] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=149927#c8
Hi,
* Ziga Mahkovec ziga.mahkovec@klika.si [2005-04-10 15:55]:
During installation of eclipse-ecj, I got a (harmless) error:
rpm-tmp.61447: line 5: cd: /usr/lib/gcj-4.0.0/classmap.db.d: No such file or directory
[...]
/usr/bin/eclipse still contains the following line:
-Dgnu.gcj.precompiled.db.path=/usr/lib/eclipse/eclipse.db
[...]
Oops. Both of these issues are because I forgot that I had updated eclipse.script and eclipse.spec in the devel branch. I didn't bring over those changes with this M6 set. I'm rebuilding now and I'll post here when they're uploaded.
- I no longer have problems with opening XML files [1].
That's good. Do you still get the error upon opening for the first time as in [3]?
- The disabled search button issue [2] is back. The button is disabled both in native and interpreted mode now. Works fine with Sun's JRE.
That sucks :( I wonder what changed. This appears to be a gcj regression, right?
[1] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=149915 [2] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=149927#c8
[3] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151919#c3
Thanks for the comments and for trying things out!
Andrew
On Sun, 2005-04-10 at 17:09 -0400, Andrew Overholt wrote:
- I no longer have problems with opening XML files [1].
That's good. Do you still get the error upon opening for the first time as in [3]?
Nope, works fine. I was also able to open {build,plugin}.xml files, without a trace of that ClassCastException.
- The disabled search button issue [2] is back. The button is disabled both in native and interpreted mode now. Works fine with Sun's JRE.
That sucks :( I wonder what changed. This appears to be a gcj regression, right?
Actually, this was my mistake. My rawhide setup was a mess, so I was testing this on FC3 (with gcc/eclipse/gtk from rawhide, but still). I sorted out rawhide now and search works fine. Sorry for the confusion.
* Ziga Mahkovec ziga.mahkovec@klika.si [2005-04-10 19:43]:
On Sun, 2005-04-10 at 17:09 -0400, Andrew Overholt wrote:
- I no longer have problems with opening XML files [1].
That's good. Do you still get the error upon opening for the first time as in [3]?
Nope, works fine. I was also able to open {build,plugin}.xml files, without a trace of that ClassCastException.
Awesome!
- The disabled search button issue [2] is back. The button is disabled both in native and interpreted mode now. Works fine with Sun's JRE.
That sucks :( I wonder what changed. This appears to be a gcj regression, right?
Actually, this was my mistake. My rawhide setup was a mess, so I was testing this on FC3 (with gcc/eclipse/gtk from rawhide, but still). I sorted out rawhide now and search works fine. Sorry for the confusion.
No problem. That's great to hear! Once we get these RPMs into rawhide, we can verify that the open bugs are fixed.
Andrew
* Andrew Overholt overholt@redhat.com [2005-04-10 17:09]:
[...] I didn't bring over those changes with this M6 set. I'm rebuilding now and I'll post here when they're uploaded.
http://people.redhat.com/~overholt/eclipserpms http://overholt.ca/rpms/eclipse-3.1.0_fc-0.M6.2.src.rpm
Andrew
* Andrew Overholt overholt@redhat.com [2005-04-11 09:45]:
- Andrew Overholt overholt@redhat.com [2005-04-10 17:09]:
[...] I didn't bring over those changes with this M6 set. I'm rebuilding now and I'll post here when they're uploaded.
I built new RPMs with one small change: there is now an ecj binary installed in /usr/bin. I've also run createrepo this time so if you add something like this to yum.conf or create a file in /etc/yum.repos.d you should be able to update.
[eclipse] name=eclipse baseurl=http://overholt.ca/rpms/eclipse enabled=0 gpgcheck=0
Please don't forget that these are just preview RPMs. I'll keep the numbers consistent when I build into rawhide, though, so that upgrades will work. Hopefully we'll have some M6 RPMs in rawhide soon.
Andrew
On Mon, 2005-04-11 at 22:53 -0400, Andrew Overholt wrote:
[...] Please don't forget that these are just preview RPMs. I'll keep the numbers consistent when I build into rawhide, though, so that upgrades will work. Hopefully we'll have some M6 RPMs in rawhide soon. [...]
Hi,
I'm running a system with all packages updated from rawhide as of yesterday (the eclipse packaged I have installed are listed at the end of the email) and if I: 1. Launch eclipse using a clean workspace 2. Create a new project. 3. Create a file named build.xml.
I get an exception when eclipse tries to open the newly created file in the ant editor. The following message shows up:
"Unable to create editor. This message may be due to a bug in the editor, not a problem with the file you are trying to edit. First close this error message and then use "Open With..." to open the file in a different editor. Reason for the failure: Editor could not be initialized."
I'm attaching the stack trace that is provided if I click on "Details".
The problem occurs with both gij and jdk 1.5.0_02. It seems related to the ant editor. If I create a file named web.xml for example, it works without problems.
Since these packages haven't been released yet, I wasn't sure if I should add it to bugzilla. Please let me know if you want me to do that.
Keep up the good work. :)
Regards, Ismael
Eclipse packages:
eclipse-ecj-3.1.0_fc-0.M6.3 eclipse-cdt-3.0.0_fc-0.M6.1 eclipse-platform-3.1.0_fc-0.M6.3 eclipse-jdt-devel-3.1.0_fc-0.M6.3 eclipse-changelog-2.0.1_fc-19 eclipse-platform-devel-3.1.0_fc-0.M6.3 eclipse-pde-3.1.0_fc-0.M6.3 eclipse-bugzilla-0.1.0_fc-9 eclipse-pde-devel-3.1.0_fc-0.M6.3 eclipse-jdt-3.1.0_fc-0.M6.3
java-devel@lists.fedoraproject.org