A theme for Eclipse to blend in with the
DeLorean-Dark-Theme.
Requirements:- Eclipse Juno
- DeLorean-Dark-Theme (3.4 OR 3.6)
Installation:- Download the delorean-dark-eclipse-theme zip archive, and unzip it into the directory of your choice.
- After unpacking the archive you will find 4 png image files and a delorean-dark-eclipse folder.
- Copy the delorean-dark-eclipse folder into '/usr/share/eclipse/dropins/'
- Copy the 4 png image files, and paste them directly into '/usr/share/eclipse/plugins/org.eclipse.platform_4.2.1.v201209141800/images'
- The numbering of the 'org.eclipse.platform*' file may be different than the above and will likly change with an update. In which case you will need to paste the png images again into the 'org.eclipes.platform*' folder.
Bugs:When hovering over a tab it turns white. I haven't been able to find the fix for this.
**Troubleshooting Today Eclipse has decided it cant find the delorean-dark-eclipse theme.
Here is what I did: I went into '/usr/share/eclipse/plugins/org.eclipse.platform_4.2.1.v201209141800/css' and I made a copy of 'e4_default_gtk.css' (default Gtk Theme for eclipse). next I went into the delorean-dark-eclipse folder and located and unpacked the delorean-dark-eclipse.jar archive. inside the archive I located the 'delorean-dark-eclipse.css'. I selected all the contents of that file and pasted them into the
e4_default_gtk.css'. (Remember I already made a backup of this file). And of course I had previously pasted the included png image files into the '*/images' folder. Restart Eclipse and select the Gtk theme as default.
This is a dirty fix. I'm not proud of it. But it seems to be working.
***It looks like the problem may be the activator.class file. This is funny but i cant for the life of me figure out how to make the changes to activator.java and then compile it into a .class file. LOL!
****I just restarted Eclipse for about the 10th time this morning and suddenly it sees the delorean-dark-eclipse theme again. It did however bark about the signatures being off, so I deleted the PROK.SF inside the jar archive and i deleted everything after line#11 in the MANIFEST.MF. I don't use this application. But I am surprised at how its handling this theme. I m sure its my fault..anyway. Try any of the above mentioned way to get this theme installed and working within eclipse.
*****I can also provide a copy of earlier Gtk2 theme that may work better, since it is written with a Theme-Engine, rather than all Pixmaps. Let me know if anyone would like that.
Feel free to ask any questions you may have
I had same problems with signed jar stuff so here is how I fixed it:
# test it first:
# jarsigner -verbose -verify delorean-dark-eclipse.jar
jarsigner: java.lang.SecurityException: cannot verify signature block file META-INF/PROK
# Let's unpack that jar, remove signature info and pack it again:
# mkdir unsigned
# cp delorean-dark-eclipse.jar unsigned/
# cd unsigned/
# unzip delorean-dark-eclipse.jar
# rm delorean-dark-eclipse.jar
# rm -f META-INF/PROK.*
# rm -f META-INF/MANIFEST.MF
# jar cf delorean-dark-eclipse.jar *
# jarsigner -verify delorean-dark-eclipse.jar
jar is unsigned. (signatures missing or not parsable)
Good!
Now you can overwrite signed jar in dropins:
# cp delorean-dark-eclipse.jar <eclipse path>eclipse/dropins/delorean-dark-eclipse/eclipse/plugins/delorean-dark-eclipse.jar
Where <eclipse path> is wherever you have your eclipse installed.
I tried only with eclipse juno. Eclipse does not seem to have problems with the jar being unsigned in this case.
Aleksey
What does this mean?
maybe ~/eclipse ?
!ENTRY org.eclipse.jface 4 2 2013-03-20 11:03:37.241
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.SecurityException: cannot verify signature block file META-INF/PROK
at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
at sun.security.util.SignatureFileVerifier.process(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
....
I think it the problem in the path of the Activator class
Bundle-Activator: k.eclipse.deloreandark.Activator
path is: k.eclipse.junodark.Activator
but I'm not sure.
Please help. [link]
Doesnt work on my ubuntu with eclipse Juno:
ava.lang.SecurityException: cannot verify signature block file META-INF/PROK
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:220)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:305)
at java.util.jar.JarVerifier.update(JarVerifier.java:216)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:345)
at java.util.jar.JarFile.getInputStream(JarFile.java:412)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:162)
at java.net.URL.openStream(URL.java:1037)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:368)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:333)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.restore(ThemeEngine.java:475)
Look like it conflict with some of my many extensions as i got many more "early startup" message in the .log file.
If anybody got some hint on what is the root cause of that error?
Cheers!
Don