I'm following the information here (http://developer.imagej.net/eclipse) to set up Eclipse on Mac to debug java plugin code. I downloaded and installed the 64-bit version for Java developers. Then to import the ImageJ source into Eclipse, it advises the following:
1. Choose File > Import from the Eclipse menu 2. Select "Check out Maven Projects from SCM" and click Next 3. For SCM URL, choose "git" and enter: git://github.com/imagej/imagej.git 4. Click Finish I did the first 3 steps but the "Next" & "Finish" buttons are grayed out and it seems to be because I also need to select a SCM URL type from the menu. I tried to do that but the menu doesn't open. I would appreciate any tips on how to finish the import of ImageJ into Eclipse. Thanks, Neil -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Neil,
> I did the first 3 steps but the "Next" & "Finish" buttons are grayed > out and it seems to be because I also need to select a SCM URL type > from the menu. I tried to do that but the menu doesn't open. Did you follow the instructions beneath "Install optional Eclipse plugins", particularly the "m2e-egit connector (if you want to 'Check out Maven Projects from SCM'"? I admit I haven't tested those instructions with the past couple of Eclipse versions, so something might have changed. Personally, I do not use "Check out Maven Projects from SCM" but rather first clone the project using Git on the command line, then use the "Existing Maven Projects" import option. But YMMV. Regards, Curtis On Wed, Nov 13, 2013 at 4:10 PM, Neil Fazel <[hidden email]>wrote: > I'm following the information here (http://developer.imagej.net/eclipse) > to set up Eclipse on Mac to debug java plugin code. I downloaded and > installed the 64-bit version for Java developers. Then to import the ImageJ > source into Eclipse, it advises the following: > > 1. Choose File > Import from the Eclipse menu > 2. Select "Check out Maven Projects from SCM" and click Next > 3. For SCM URL, choose "git" and enter: git://github.com/imagej/imagej.git > 4. Click Finish > > I did the first 3 steps but the "Next" & "Finish" buttons are grayed out > and it seems to be because I also need to select a SCM URL type from the > menu. I tried to do that but the menu doesn't open. > > I would appreciate any tips on how to finish the import of ImageJ into > Eclipse. > > Thanks, > Neil > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Neil Fazel
Hi Curtis,
Thanks for the feedback. I actually skipped the optional downloads, figuring they're optional. Coming from the C++ world, I'm unfamiliar with Maven (or Git). Since programming without a debugger is slow, I decided to use a Java debugger. I'll download the optional installs and take it from there. Regards, Neil -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Neil Fazel
Here's an update:
- I installed both of the optional installs from http://developer.imagej.net/eclipse - Having installed the 2nd one (m2e-egit connector), the SCM URL menu (mentioned previously) responded and I was able to select "git" from the menu while importing ImageJ into Eclipse - the instructions for optionally installing m2e-egit connector do not quite work with Eclipse Kepler; I tried it and it failed. I found a solution here (http://stackoverflow.com/questions/11707971/cant-install-maven-scm-handler-for-egit-for-juno); these are the steps that worked (i.e. installed m2e-egit connector): 1) In Eclipse, click Help 2) Click Install New Software 3) Uncheck the box labeled Group items by category 4) Paste in this URL http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipseegit/0.14.0/N/0.14.0.201305250025/ 5) Finish the plugin install wizard and restart the workspace Neil -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Neil,
Thanks for the update. I tested and had trouble installing the m2e-egit connector into my Eclipse Kepler as well. Until they fix the m2e marketplace to support Kepler out of the box, I think it is best to stay away from the "Check out Maven projects from SCM" approach. As such, I have updated the Eclipse instructions to be much simpler. They now just instruct you to clone the source using a Git client of your choice, then import that source using File > Import > Existing Maven Projects. Everyone on the ImageJ2 core team already does it this way, so it is what we test regularly. Regards, Curtis On Wed, Nov 13, 2013 at 7:01 PM, Neil Fazel <[hidden email]>wrote: > Here's an update: > > - I installed both of the optional installs from > http://developer.imagej.net/eclipse > - Having installed the 2nd one (m2e-egit connector), the SCM URL menu > (mentioned previously) responded and I was able to select "git" from the > menu while importing ImageJ into Eclipse > > - the instructions for optionally installing m2e-egit connector do not > quite work with Eclipse Kepler; I tried it and it failed. I found a > solution here ( > http://stackoverflow.com/questions/11707971/cant-install-maven-scm-handler-for-egit-for-juno); > these are the steps that worked (i.e. installed m2e-egit connector): > > 1) In Eclipse, click Help > 2) Click Install New Software > 3) Uncheck the box labeled Group items by category > 4) Paste in this URL > http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipseegit/0.14.0/N/0.14.0.201305250025/ > 5) Finish the plugin install wizard and restart the workspace > > Neil > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |