Alternative "Getting Started" Floreant/Eclipse Instructions
Although there are already Eclipse instructions in the floreant.org website, I offer these as a replacement. [I also tried to post on the Sourceforge Floreant Wiki, but I don't have permission.]
Instructions as of July 2015 based on Windows OS
Note: Below instructions are the main points. There are several dialogs/options not discussed. If you see one you're not sure what to do with, just accept the defaults.
- Download Eclipse IDE for Java Developers
- Extract the zip, put the eclipse directory where you like
- Run the eclipse application
- Update eclipse by: click Help then Check for Updates
- Update the Maven plugin by:
- Click Help then Eclipse Marketplace...
- Type Maven in the Find box and click the magnifying glass
- Disregard the results and click the Installed tab. [Note: This is an odd way of doing things because of a quirk in Eclipse. If you click Installed without first doing the search, Installed will erroneously show that no plugins are installed.]
- Click the Update button for Maven Integration for Eclipse (Luna) 1.5.0
- Install SVN support using the Subversive - SVN Team Provider 3.0.0 plugin by:
- Click the Popular tab
- Click the Install button for Subversive - SVN Team Provider 3.0.0
- Select the option to install Subversive SVN Integration for the M2E Project (Optional) and click Confirm
- File, Import, SVN, Project from SVN
- A dialog to choose SVN external connectors pops up. Pick the top two, Java connectors for 1.7 and 1.8
- Restart eclipse as prompted and import SVN again. Important: Make sure you notice the Check Out As dialog as you move through the import process (step 4 below.) URL is: svn://svn.code.sf.net/p/floreantpos/code. Note: When prompted about Revision, Head Revision is the most recent version of the repository.
- When you see the Check Out As dialog, select the second option, Find projects in the children of the selected resource
- Once import is complete, right click on the project, click Maven and Update Project...
- Right click on the project, Run As, and 2 Java Application. The Java Application is Main - com.floreantpos.main
Thanks a lot. That has been notified to web team.
Are you aware of any functioning eclipse plugin for editing the .form files, which are used to generate the GUI-Java Files?
Are all the main developers using netbeans in order to change the GUI?
I'm not aware -- they'll have to chime in.
Eclipse/java noob here. In addition to enabling step filters, I found one other little tip which makes
debugging doable. I had a breakpoint set in demo/KitchenDisplayView.java, and when Eclipse hit it,
I lost xorg keyboard/mouse input (had to ctrl-alt-f1 to a console, login and kill the java process).
The fix is to bring up project properties, run/debug settings, Main, Edit. On the Arguments tab,
in the VM Arguments box, add:
Found the tip here