As you probably know (maybe from reading this blog), Fedora allows for only one instance of library being installed in the system, and all consumers must use symlinks if they want to consume them. This is also the case of Eclipse. So, if you look at the eclipse installation in the /usr/lib64, you will find:
ls -l eclipse/plugins | grep jetty -rw-r--r--. 1 root root 21518 Feb 22 16:33 org.eclipse.equinox.http.jetty_3.0.100.v20130222-1445.jar lrwxrwxrwx. 1 root root 44 Feb 22 16:38 org.eclipse.jetty.continuation_8.1.0.v20120127.jar -> /usr/share/java/jetty/jetty-continuation.jar lrwxrwxrwx. 1 root root 36 Feb 22 16:38 org.eclipse.jetty.http_8.1.0.v20120127.jar -> /usr/share/java/jetty/jetty-http.jar lrwxrwxrwx. 1 root root 34 Feb 22 16:38 org.eclipse.jetty.io_8.1.0.v20120127.jar -> /usr/share/java/jetty/jetty-io.jar lrwxrwxrwx. 1 root root 40 Feb 22 16:38 org.eclipse.jetty.security_8.1.0.v20120127.jar -> /usr/share/java/jetty/jetty-security.jar lrwxrwxrwx. 1 root root 38 Feb 22 16:38 org.eclipse.jetty.server_8.1.0.v20120127.jar -> /usr/share/java/jetty/jetty-server.jar lrwxrwxrwx. 1 root root 39 Feb 22 16:38 org.eclipse.jetty.servlet_8.1.0.v20120127.jar -> /usr/share/java/jetty/jetty-servlet.jar lrwxrwxrwx. 1 root root 36 Feb 22 16:38 org.eclipse.jetty.util_8.1.0.v20120127.jar -> /usr/share/java/jetty/jetty-util.jar
This approach works rather well for many applications, but not necessarily for Eclipse. A simple replacement of Jetty bundles would break Help (I can live without it) and P2 (I can't live without it), so I had to do some little hacking to rebuild the Eclipse with Jetty 9. It works - and probably in Fedora 19 this will be the default setup.
Eclipse Help running in Eclipse with Jetty 9 |
Jetty 9 requires java 1.7.
- 2001: Eclipse Founded by IBM
- 2002: Java 1.4 released. According to my friend, up to this point it was a perfect language, then they broke it.
- 2004: Eclipse Foundation started
- 2004: Java 1.5 released.
- 2006: Java 6 released.
- 2011: Java 7 released.
- 2013: Java 8 to be released.
But things has changed. Java is under heavy development again. Java is being open-sourced. This opens a lot of questions:
- how long will we have to stay with Java 1.4?
- is there any plan of migrations when Java will get frequent releases?
- what to do with features that really require latest Java (f.e. Jetty)?
Interesting times indeed.
Isn't WTP stuck at 1.4 for life due to decisions by IBM?
ReplyDeleteI've never heard of that (but that does not mean anything).
DeleteWhile such a decision could happen in the past, Eclipse seems to be less and less dependent on IBM. This causes some disturbances, but on the other hand the Foundation was undergoing so many changes (CVS->GIT, Gerrit, lowering entry barries) never in the past, so I wait for new contributors to appear :-).
No decision is made forever :-)
love it :)
ReplyDeletereally hoping that we can have jetty-9 as the default in fedora-19
I'd not worry about fedora-19. Given the testing that is currently done it's more than likely it will be there :-).
DeleteBut I'm concerned about Eclipse. It would be a pity if it could not work with jetty 9.
Actually it did not take much time: http://koji.fedoraproject.org/koji/packageinfo?packageID=4951
DeleteJetty 9 is in Fedora.