I have been following the development of ImageJ2 in Eclipse using the guide below. Unfortunately the instructions on how to launch the program no longer match what I am seeing in my package list and I feel foolish that I have not been able to find a main method to run. Can anyone point out where the entry point to launch the program is now?
http://imagejdev.org/eclipse Launch the program In the Package Explorer, expand the project called "ij-app" Navigate into src/main/java Navigate into imagej Right-click on Main.java Choose "Run As" and then "Java Application" thanks, Alistair MacDougall |
Hi Alistair,
> Can anyone point out where the entry point to launch the program is > now? I did exactly this today, and it worked fine, following the same instructions (with IJ devs around as witnesses!) What do you see / not see? Michael |
In reply to this post by Alistair MacDougall
Hi Alistair,
Unfortunately the instructions on how to launch the program no longer match > what I am seeing in my package list and I feel foolish that I have not been > able to find a main method to run. > One thing you could try is hitting Ctrl+Shift+T to bring up the "Open Type" menu and then typing "imagej.Main" into the text field. The main class should appear in the filter, which you can then run. If there is no Main.java at all, then perhaps you don't have the ij-app project open? Regards, Curtis On Tue, Dec 13, 2011 at 4:09 PM, Alistair MacDougall <[hidden email]>wrote: > I have been following the development of ImageJ2 in Eclipse using the > guide below. Unfortunately the instructions on how to launch the program no > longer match what I am seeing in my package list and I feel foolish that I > have not been able to find a main method to run. Can anyone point out where > the entry point to launch the program is now? > > http://imagejdev.org/eclipse > > Launch the program > > In the Package Explorer, expand the project called "ij-app" > Navigate into src/main/java > Navigate into imagej > Right-click on Main.java > Choose "Run As" and then "Java Application" > > > thanks, > > Alistair MacDougall > |
In reply to this post by Alistair MacDougall
Thank you to Curtis and Michael for their comments. The issue was resolved by a fresh install of Eclipse 3.7 in a new directory.
Comparing the new and old directory, the correct files appeared to be present in the local repository in both, but several projects were completely missing from the Eclipse 3.6 package list (ij-app, ij-options, ij-tools). I learned that Eclipse 3.6 /Maven can fail to show some projects without any error message being triggered, and can appear to synchronise correctly while Eclipse still fails to pick up the missing projects. I doubt if the reason is worth examining. I previously had some issues with conflicts between local code changes I made and the master version (I don't have a record of the error messages) and this may be behind the problem. I am looking forward to seeing how ROIs are implemented and managed in ImageJ2. thanks Alistair ------------------------------------- Hi Alistair, Unfortunately the instructions on how to launch the program no longer match > what I am seeing in my package list and I feel foolish that I have not been > able to find a main method to run. > One thing you could try is hitting Ctrl+Shift+T to bring up the "Open Type" menu and then typing "imagej.Main" into the text field. The main class should appear in the filter, which you can then run. If there is no Main.java at all, then perhaps you don't have the ij-app project open? Regards, Curtis On Tue, Dec 13, 2011 at 4:09 PM, Alistair MacDougall <[hidden email]>wrote: > I have been following the development of ImageJ2 in Eclipse using the > guide below. Unfortunately the instructions on how to launch the program no > longer match what I am seeing in my package list and I feel foolish that I > have not been able to find a main method to run. Can anyone point out where > the entry point to launch the program is now? > > http://imagejdev.org/eclipse > > Launch the program > > In the Package Explorer, expand the project called "ij-app" > Navigate into src/main/java > Navigate into imagej > Right-click on Main.java > Choose "Run As" and then "Java Application" > > > thanks, > > Alistair MacDougall > |
Free forum by Nabble | Edit this page |