I cannot inspect source code from eclipse plugin
Eclipse plugin:
What I do is this,
Attaching plugin as source:
What I do wrong, here is my eclipse info
Eclipse info:
The "Eclipse SDK" includes source code plug-ins for all the Eclipse plug-ins. If you are using a target platform you should include this in the target platform. If you are just using the "Running Platform" as your target platform install it as part of your main Eclipse.
In the Preferences in the "Plug-in Development" page check the "Include all plug-ins from target in Java workspace scope" option. You should now be able to open any Eclipse class using the normal methods of viewing a type (such as "Open Type")
I want to choose an Eclipse Application Launch configuration in the Run/Debug Configuration of eclipse, for running an eclipse plugin, but it doesnt exists.
How can I add the Eclipse Application Launch configurations in the run/debug configurations. I'm using Eclipse Luna IDE for Java Developers.
You are missing the Eclipse Project SDK, which is needed to create Eclipse Applications. Without it, you will notice for example these problems:
The Run/Debug configuration is missing a category "Eclipse Applications" (as you mentioned)
The Windows / Preferences dialog is missing a category "Plug-in Development"
Importing launch configurations for "Eclipse Applications" will have no effect.
You install the Eclipse Project SDK like this:
Help / Install New Software...
Choose the installation repository. In case of Eclipse Oxygen, it is "Oxygen - http://download.eclipse.org/releases/oxygen"
Filter for Eclipse Project SDK
Check it & press "Finish"
I'm using m2e 1.0.0.20110607-2117 bundled with Eclipse Indigo. I'm referencing external maven installation from Preferences -> Maven -> Installations. External maven installation version is 3.0.4.
I'm experiencing locale problems because my locale is Turkish. So I've modified MAVEN_OPTS in mvn.bat file in this external installation. When I run mvn from command line, maven sees this maven_opts but Indigo doesn't. How can I pass maven_opts to m2e? Is there any way to set a property that all predefined maven run configurations in eclipse like "Maven build", "Maven clean", "Maven install" etc. use?
EDIT:
Also setting MAVEN_OPTS in system path doesn't help.
This is the wrong way. You can create a file called mavenrc_pre.bat on windows or .mavenrc in your home folder on linux or windows. Currently i'm not sure if m2e honours the settgins in the mavenrc file ...you have to check that.
I'm using JBoss 7.1 AS, Eclipse Indigo, Maven 3.0.3 on a Mac OSX Lion. I have successfully registered JBoss 7.1 as a local server within Eclipse. I installed the JBoss tools for Eclipse, right clicked my Maven project, selected "Mark as deployable", but then the problem arises. When I right click on "Run As" -> "Run on Server", I'm greeted with the error
The selection did not contain any resources that can be run on a server
Any ideas what additional steps I should take to make this bad boy deploy? Let me know what other information I should provide.
Sometimes this happens to me when I'm dealing with Maven projects too.
Try the following: In Package Explorer right-click on your project pom.xml then use "Maven > Update project". After that you should click on menu "Project > Clean...".
Now try to add/remove again.
By the way, you should't need to mark your entire project as deployable under normal conditions.
I have a problem with checkout Maven project in Eclipse Indigo. I've installed m2e plugin, Subclipse, Git, but can't select appropriate SCM type ? How to solve this ?
Affan was correct. The connectors are all still there in Indigo, just hidden a little.
Start Eclipse and open preferences.
Find the Maven group and expand it.
Select the "Discovery" item and click "Open Catalog".
A dialog will pop up with all the goodies. The connectors are at the bottom.
I ran into this issue with Eclipse where when you would try to Import a project via:
"Check out Maven Projects from SCM" from the project expoler the "scm url" drop down box would be empty.
After googling around, you must have subclipse installed from the Eclipse Marketplace (which I did) AND "Maven SCM handler for Subclipse" from the "Help->Install new software" dialog box (which I did not).
How to get Maven SCM Handler for Subclipse:
Assumption: You have Subclipse installed.
Click Help->Install New Software
Click "Add..." to add a new software site.
Add this site: http://subclipse.tigris.org/m2eclipse/1.0 (Alternative URL: http://subclipse.tigris.org/m2eclipse/latest/)
Select the Maven SCM handler for Subclipse
Install
You can now use the Project Explorer context menu of "Import -> Maven -> Check out Maven Projects from SCM" and actually have a SCM URL to choose from in the drop down box, namely "svn".
Tested with Eclipse Juno
Looks like there is some incompatibility issue between Indigo and m2eclipse. This discussion gives more details including a possible solution.
Hope this helps.
Edit 1: Uninstalled m2eclipse 0.12.x from Indigo and installed m2e from Eclipse's m2e releases repository. This version shows a link to download m2e scm connectors from Eclipse marketplace (when you try to check out a maven project from scm). I could see connectors for cvs, git and subversive.
For those using subclipse 1.8.x there is a patched version of the m2e connector.
Here is the update site: http://subclipse.tigris.org/m2eclipse/1.0
(Thanks to RockyMM for posting the link to the WONTFIX issue, which contained the link to the patched version.)
Indigo comes with m2e pre-installed. To get the connectors just click on link where it says find more connectors in the m2e marketplace. From there i installed the m2e-subclipse connector. This is a different approach from previous versions of Eclipse where you had to install another plugin from market place called "Maven Integration for Eclipse (Extras)".
There was an unofficial update of SVN connector. To install it go to http://subclipse.tigris.org/issues/show_bug.cgi?id=1557 download attachment org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip and follow the steps:
Unzip the file to an empty folder somewhere, remember that folder
In Eclipse,
go to Help/Install New Software…
Click “Add…” to add a new site
In the window, click on “Local…” and choose the folder where you unzipped the
site before. The result in the Location field should look like file:/C:/
theUnzipFolder/
Click OK, choose all available packages to install, and continue the
installation as usual
This is related answer by "technocrat" with new update site URLs.
This is working with Eclipse 2019-12:
The problem: "Check out Maven Projects from SCM" from the project explorer the "scm url" drop down box is be empty.
You must have subclipse installed from the Eclipse Marketplace AND "Maven SCM handler for Subclipse".
How to get Maven SCM Handler for Subclipse:
Background: The original website of this project (http://subclipse.tigris.org/) redirects to https://github.com/subclipse. The subproject "m2e" is important.
Here, you will find a link to an Eclipse update site: https://dl.bintray.com/subclipse/releases/m2e/1.0.x/. Add this to the eclipse update sites.
Now you will see "Maven SCM handler for Subclipse". Install it.
You can now use the Project Explorer context menu of "Import -> Maven -> Check out Maven Projects from SCM" and actually have a SCM URL to choose from in the drop down box, namely "svn".