I have open source project Nodeclipse on GitHub
I want that during plugin installation, user can select optional features,
like Markdown support, JSHint and other plugins that have their own update site.
How to do that in Eclipse RCP plugins?
I guess I need to configure feature.xml in org.nodeclipse.feature
UPDATE:
Do I need to start using Tycho for that?
Example of Perforce installation
Not sure if that is even possible.. You can however split your feature into more than one features. So the user can choose what to install.
Related
There are many sites which provides articles for upgrading liferay 6.2 to dxp but only for ant project. How can we upgrade liferay 6.2 maven project to liferay dxp gradle project ?
The strategy to upgrade your code is exactly the same. Liferay's Plugins SDK defaulted to Ant until 6.2, now you have the choice between liferay-workspace (gradle based), gradle and maven - just choose the build environment you'd like (sounds like you'd like to continue with maven) and add your code to an empty blueprint for the project of your choice.
There's an upgrade tool in Liferay IDE that might help you - even if it doesn't use the build tool of your choice or if eclipse isn't the IDE of your choice: The upgrade tool is a one-off tool to use during upgrade. No matter what the result is on: You can always check (for example) Liferay's blade-sample project to find the proper build descriptors for Maven - and adapt them to your project.
Edit: After the clarification: Your main task is still the upgrade of the code. As of moving from Maven to gradle: Identify the dependencies and translate from pom.xml syntax to gradle's declaration - the contents are similar (e.g. group, name, version), only how you're writing them down is different. If you have made elaborate custom modifications to your pom.xml try to go without them first. You can start with a stock build.gradle (e.g. from blade-samples that most closely match your project) and then fix compile-time dependencies as you go.
I'm not aware of an automated process that does this translation for you (and most likely you'd bump up a few version numbers in the process anyway)
I'm developing an eclipse plugin and in order to test it I have to install it into my eclipse application regularly. However as I dont't want to change the version of my plugin every time I want to test a new feature I always uninstalled the plugin from within eclipse and afterwards I'd go to the eclipse folder and delete my plugin out of the plugins folder (and delete the respective entries in the eclipse XML-files).
That worked great in windows but I have recently switched to Linux (Mint) and I just found out that my plugin is no longer located in the plugins folder inside the eclipse program directory. Therefore I can't really delete the old plugin whcih then prevents the new version of the plugin from installing properly.
Does anyone have an idea about where eclipse copies the installed plugin or a differerent approch to actually completely uninstall (delete) an installed eclipse plugin?
Okay after searching through my whole filesystem I found it out myself.
Eclipse has a hidden folder in the home directory named .eclipse in which each installed eclipse version has it's sub-directory and in there there is also a plugins and a features folder that then contain the externally installed plugins and features.
It also contains the corresponding artifacts.xml.
I'm not sure whether this behaviour is specific to the Linux Mint OS or rather a new "feature" of Eclipse Neon but if anyone is having the same problem that's were I found it.
Help -> Installation Detail.
Then click the plugin you want removed then press "Uninstall...".
Note: there is a "Plug-ins" tab in the Installation Detail dialog. This is misleading; you are not to click it.
Ps. It might be easier to test the plugin, during development, on a run-time workbench.
To those working with Liferay and the Plugin SDK, the tutorials teach you how to create projects from the Plugin SDK directory. Unfortunately, this also keeps the project folder inside of the Plugin SDK directory.
My question is, has anyone figured a way to leverage the Plugin SDK but have your project directory anywhere you choose?
This leads to another issue because with everything contained in the Plugin SDK folder, we have to checkin the entire thing in our CVS. If we didn't do this, then all developers will have to install their Plugin SDK in a controlled manner, and the projects checked out from CVS directly to the Plugin SDK folder.
Any strategies, tips or alternatives are appreciated.
Thanks in advance.
When using ANT based plugins SDK (which is default when you use Liferay IDE or Developer studio), I used to check in entire Plugins SDK to SVN/CVS at the time of starting the project. The entire development team would then check out the plugins sdk and check in their artifacts in appropriate folders i.e. portlets, hooks, themes, etc. It worked really well for us. The SDK itself doesn't have a big footprint, and it really helps organizing your plugins and building them.
Another approach is to maven-ize them. With this approach you don't have to commit your plugins SDK to CVS/SVN, but it Liferay IDE is not configured with Maven based plugins sdk yet (AFAIK).
You can decide the best approach that suits your needs. Hope this helps!
I want to use a different installation of the Eclipse IDE, and drop into it some plugins and features that I already downloaded and install on a different instance of Eclipse. How can I do that? AFAIK, it's not as plain as copying the jar files, because Eclipse keeps some meta-data somewhere.
If it matters, the OS is Ubuntu Linux.
The convention is for the meta-data for plugins to be kept in workspace/.metadata/.plugins/ So just copy those to the workspace for the new install. Or just copy the entire workspace if you like.
You can try adding the old eclipse as a repository for install new software. The directory you want is OLD_ECLIPSE/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/
If you uncheck "group items by category" you should see the list of features you installed in your OLD_ECLIPSE.
I have used NetBeans IDE,I installed the NetBeans plugin for BB,and then it will detect the List of JDE's presently installed in the System and i can use it in NetBeans.
Similarly i want to know how to add the Blackberry JDE to Eclipse IDE.It always come with Inbuit JDE 4.5 and what can be done to add new JDE's(5.0 ,6.0 etc) to the Eclipse IDE.I have Eclipse 1.0.67 version,
Besides in the Form ,is it possible,i have also downloaded Eclipse 1.1.s
Do i want to download new plugin similar to netbeans ,can u explain in detail?
Regards
Rakesh Shankar.P
In the Help menu, choose Install New Software. In the resulting dialog, click the Add... button. In the Location field add this url: http://www.blackberry.com/developers/jar/3.6/java/. You don't need to add a name, Eclipse will resolve it for you. Once it's added there is a wait while Eclipse fetches data from that url. Expand BlackBerry Java Plug-in Category once it loads, and the available SDKs will be there. Installing any of those will configure Eclipse with the JDE you want.