I am trying to create a default Eclipse , with all the plugins installed. So that my team always the same eclipse version , and don't have to installed any extra plugins.
Any idea , where I would have to make changes in order to default eclipse with such settings.
Thanks !!!
Assumig "with all the plugins" you mean all of eclipses official plugins: Go To Help->Install New Software, select the Eclipse Update Site (for example http://download.eclipse.org/releases/juno) and install the plugins you need.
If you need other non-official plugins, just install them.
After that you can just zip the eclipse install folder again and distribute it
You can look at creating a "Shared install". This means that you create an Eclipse installation in a read-only location on a shared drive that all devs have executable and read access to. Then, when a dev launches the Eclipse instance, a custom configuration area is created in the user's ~/.eclipse folder.
This works fairly well. And end users can install their own plugins on top of the base install without affecting others. The only limitation that I am aware of is that some plugins cannot be installed unless the user has write access to the target install folder (Groovy-Eclipse is one example of this because of its use of a feature patch).
More information on shared installs can be found in Eclipse help.
Related
I am new to eclipse plugin world and I happened to create on hello world plugin.
I am able to give it to my friends by telling them to drop the exported jar (that I exported from my project) in the dropin folder, which works well. But I now want to upload that jar to a web location (say on github) and want them to install it using eclipse-> install new software-> add -> archive option (I think this is how I should let them install for internal usage) . I tried n number of things without success , a simple approach that I tried was to archive local jar from disk through the eclipse-> install new software-> add -> archive-> local option, but I get error "no software site found at jar:file:/{location to my jar folder}/hello-world_1.0.0.0.2015XXXX.jar!/. Do you wish to edit the location?" message .
Any guidance is appreciated.
My plugin.xml
My jar folder structure: META-INF,icons,lib,plugin.xml,hello
Testing on same eclipse were-in the dropin method works.
To be able to install and update you first need to create a Feature project as well that links to your plug-in. Then at first you should use Export... > Deployable Feature, select your feature and set Generate p2 repository under Options. You can generate to a directory first. This will contain:
folder/
+plugins/
+features/
+p2/
-artifacts.jar
-content.jar
You can use this as a local site to install from, and when you upload it to an online location, as an update site.
Once you are fed up with manual exporting, you will learn about maven, tycho and automatic update site creation and upload ;-)
I am using Eclipse 3.8 for Linux with EGit and am trying to import my Java Git repos from Github. The problem is, they are not recognized as Java projects, and therefore Eclipse does not compile them.
How can I get Eclipse to recognize them as Java projects? Thank you for your answers.
go through this way:
eclipse>right click on project>build path>configure.
here you will see a tab called library,
library>"add library">"jre system library"
you will see as option which jre you want to add. you select execution environment as what ever jre u have installed. thats it.
The problem was that I imported it as a general project. For anyone who gets this problem like I did, never import as a general project on Linux (do it on Windows). Instead, choose to use the project creation wizard. Set the name and everything should go by smoothly.
I developed an Eclipse plugin that compiles and runs java code in German. The technique I am using is that I translate the code to English and pass it to Java Compiler and get the results back and print it in the console.
The problem is that the plugin works when I run the plugin from Inside Eclipse but when I install the plugin in Eclipse so that when I open Eclipse it already exists there and start to test if a real user uses my plugin and creates a new Java project and try to the compile button in my plugin it says [The chosen operation is not currently available] ![Here is the the way I run and it opens a new Eclipse application with the installed plugin ]
Any help please
the way you installed your plugin sounds a little weird to me. So at first please try to export your plugin via the Export Wizard.
(Select Export -> Deployable plugins and features from your projects context menu)
Export your project as jar file and copy it to the 'plugin' folder of your eclipse instance.
After that it might be helpful to debug your plugin on OSGI-Level as there might be a problem loading your plugin (at least the error description you have posted indicates that).
Run eclipse with -console -noExit -consoleLog flags to open an OSGI console for debugging. After that try running ss <your-plugin-name> to see what the state of your plugin is.
The output gives you the ID of your plugin and the state it currently has. If the state of your plugin is not ACTIVE try running start <your-plugin-id> to see whether it starts correctly. If there is a problem starting your plugin you should get a respective log message. Feel free to post it here in case you need further help.
Otherwise there are plenty of options what might cause your problems, so maybe its better to try the steps I have described above before getting into details.
If you want to run eclipse plug-in withput using Eclipse Application , then you need to make a Feature project.
Now if your algorithm has something to do with system Path , you must
check Unpack plug-in and you should read the resource accordingly.
Like PLatformUI.getWorkBC() etc..
No other eclipse plug-in (jar) should be inside plugins directory of eclipse of same name of your plug-in. Ensure for this.
I have imported a maven project. i did some modifications and need to check in. i have subclipse installed in my eclipse. but when i right click on the project, i could not find the options like commit, synchronize with repository..etc..
i am seeing only two options on right cliking on the project. they are :
Team ----> **apply patch** and **share project**
if i select share project, i am getting below error:
svn: The path 'D:\myproject_space' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
How can i get the other features?
Thanks!
To use SVN 1.7 you will need to install Subclipse 1.8 by adding the following to your list of Update Sites: http://subclipse.tigris.org/update_1.8.x
To support Subversion 1.7 and corresponding working copy format you need to install Subclipse 1.8.x. See Downloads tab on Subclipse web site.
Once upon a time there is netbeans plugin called "Developer Collaboration" which allows you make remote pair programming.
Now, in Netbeans 6.7, there is no more this "Developer Collaboration" but there something called "Kenai support". Unfortunately Kenai does not seems to have a real time editor and it seems to be usable only for opensource project, but my project is closed source.
I switched back to the Netbeans 6.5 but I discovered that the "Developer Collaboration" plugin is no more available for download through the Plugin Manager (from Tools > Plugins) and I'm not able to find it from the plugin portal
Where can I find the old "Developer Collaboration" plugin? Or which alternative I have?
The user msmart posted this on the NetBeans Forums, explaining how to install the Developer Collaboration plugin on NetBeans 6.7:
For those of you who want to connect to an XMPP server for collaboration but cannot (or do not want to) use Kennai. The old Developer Collaboration plugin still works for 6.7 but you have to download and install the NBM files manually.
Here is how I got it to work:
1. Download the following NBM files from the Netbeans 6.5.1 repository.
com-sun-collablet-moxc.nbm
com-sun-collablet.nbm
org-netbeans-libs-xmlbeans.nbm
org-netbeans-modules-collab-channel-chat-html.nbm
org-netbeans-modules-collab-channel-chat-java.nbm
org-netbeans-modules-collab-channel-chat-text.nbm
org-netbeans-modules-collab-channel-chat-xml.nbm
org-netbeans-modules-collab-channel-chat.nbm
org-netbeans-modules-collab-channel-filesharing.nbm
org-netbeans-modules-collab-channel-output.nbm
org-netbeans-modules-collab-kit.nbm
org-netbeans-modules-collab-provider-im.nbm
org-netbeans-modules-collab-ui.nbm
They are currently located at the
following URL:
http://updates.netbeans.org/netbeans/updates/6.5.1/uc/final/stable/patch4/extra/
Put all these files in the same directory.
Open Netbeans 6.7.
Click Tools->Plugins
Select the "Downloaded" Tab
Click the "Add Plugins" button
Browse to the folder you saved the NBM files in.
Select all 13 files (CTRL A).
Click OK.
Click Install.
Enjoy.
I have tryed on 6.9 and it doesn't work. Editor Library 1.27 is required, 6.9 has 2+