I have a RCP app which I want to "brand", i.e. create a proper text for the about box with build id. Simple stuff. Unfortunately this wasn't as easy as I had hoped, and now I am stuck.
My RCP project is launched from a project configuration and is not deployed as plugins through features.
I have tried entering stuff directly in the product configuration -> branding tab, but when I do, the input isn't formatted, meaning I have no newlines and no possibility to externalize strings like I want to. I have also tried creating about.ini, about.properties and about.mappings in an attempt to use the %< property >, but still no luck. The about box is a standard org.eclipse.ui.help.aboutAction.
Every tutorial on the net says different things, so now I feel pretty confused. I have also tried to replicate what is done with branding in the Eclipse repos, without any luck.
Does anyone know what I'm doing wrong?
What is needed is this line in the MANIFEST.MF file:
Bundle-Localization: plugin
guido's comment on my question sheds some light on what the different files are for as well.
Related
For large projects I dont want to be manually finding files on the left- navigator/project-explorer or package explorer. It takes too much time if project has hundreds of files.
How can I compare two files that are open in editor?:
I looked up other answers and could not find what I need. This post shows how to do it using navigator (not what I need). How to compare two files in Eclipse?
UPDATE:
I do not want to be finding other file manually in project/navigator/whatever. Takes too long.
UPDATE2
AnyEdit eclipse plugin suggested by ngueno helps speeding up comparison.
Even though I still need to use side-bar/explorer it speeds up the work.
At the time of writing this post this problem was recognized by Eclipse community (https://bugs.eclipse.org/bugs/show_bug.cgi?id=224562).
Yes you can do that using the Eclipse, after installing the AnyEdit plugin (can be found on Eclipse Marketplace)
The plugin will show the following option:
This will show a selection dialog to you choose which editor you want to compare:
And after the selection:
There are a few discussion around this feature in the bugs 224562 and 39126, they also mention the AnyEdit workaround. It seems they did not have anyone from the community available to work on this improvement yet.
I'm working on a project that requires to add some features to an existing java application using Netbeans. After searching the net, i founded that I should use "plugins". I didn't hear of plugins before.
I have a java application that I should download it from the net, then lets say I have to add a button, when clicked, calls a function that is written in some class in the application. In other words I want to make a new class that is able to access the classes and functions that are written in this application.
What I understood from searching the net is that:
-In the downloaded project's folder there is a folder named plugins.
-This folder contains zip files that contains classes and other stuff.
-I should make a plugin and add it to this folder in order to add a specific feature to the application.
That's what I know, if there is something wrong in what I said, I'll be thankful to correct to me.
Now, my question is that I want a link or website that can teach me how to create and add a plugin to an existing java application. Thank you :)
That entirely depends on the java application you're talking about. Not every application has a Plugins functionality. And not every Java Application uses the same Plugin API. The best bet is to go to the site of the App you're talking about and see if they offer a documentation about their Plugin API.
Is is not possible to use Eclipse Forms (org.eclipse.ui.forms) in pure e4 projects? I want to utilize an ExpandableComposite.
When I start my application using the run/debug configuration everything works find. But as soon as I try to run it from the product configuration or is as a packaged e4 product, I'm getting a "Missing Constraint: Require Bundle: org.eclipse.ui.forms" error.
Also, adding org.eclipse.ui.forms to the list of dependencies and starting the product, seems to alter my plugin.xml contents. After that the CSS style sheet entry is just gone.
Of course I tried googling, but all I could come up with is this article by Lars Vogel "Using Eclipse Forms in Eclipse 4 RCP" where he basically says that CSS styling shall be used over forms, but doesn't say that they don't work together at all.
If, for some reason this will not work, is there anything comparable to the ExpandableComposite widget?
I know I should probably be using Eclipse but whatever...
Usualy at computer science contests I go to, we are given some sample data sets for the problems, such as "prob01.in, PizzaProblem.text, ect.". I am writing a NetBeans Module to make a project and then fill the project with java files of the input files, in the specified location.
So, on to my question. Is there any way to "control" NetBeans, and use it to make and open projects and files?
I did a breif google search and did not find anything useful.
Thanks,
-EpicDavi
http://wiki.netbeans.org/OpenProjectsProgramaticallyInNetBeansIDE#Tutorial_.7C_Open_Projects_Programatically_in_NetBeans
This page only tells you how to open a project programmatically in a Netbeans module, but it should set you on the right path. Unfortunately, I'm not well versed in NetBeans so I don't have much other insight to offer.
I took the advice I've been given here to look at IzPack to create a JNLP based one click installation for computer illiterate clients who are using a Java desktop application I've created.
Java Web Start Driven Installation
However, I can't seem to find my way around it.
I don't know where to begin and seems the online tutorials are basic "look at the examples" which are themselves pre compiled and not sourced.
I want to create a simple form - be it in JSP or the JNLP install app (preferably JSP and the JNLP should get arguments from the JSP that launches it).
Then when the users click Install, the program installs to the default directory of userappdata with no questions (except for the UAC).
But IzPack seems to be forcing me to use panels and stuff... Not sure I want all of that.
Or maybe....
Hmmm, writing this just gave me an idea, but I'd still like some feedback.
Thanks.
Another approach perhaps?
If all what you need is to allow the user invoke a JAR, then consider using JSmooth to wrap it in an exe file. The exe file knows how to invoke java correctly and prompt the user to download if not present.
We also have used one-jar to wrap multiple jars in a single jar for exactly this purpose.