NetBean IDE provides excellent features for rapid customization of Floreant POS. Our open source License agreement requires you release your source code and we welcome developers to enrich the product.
Open the folder where you have your source code
Now you should find a new workspace created with default code. For example D:\Mundel\POSWorkspace\POS
Copy the scr and lib folder to your workspace ( for ex : D:\Mundel\POSWorkspace\POS). You can overwrite default scr & lib folder
click on "Properties"
Add libraries. Click on "Libraries" link in the sidebar and add jar/Folder.
Libraries are found in "lib" folder in your source code.
Set Entry point of code. In Floreant POS main function is com.floreantpos.main.Main. Click on "Run", change the Main Class to "com.floreantpos.main.Main".
Now you compile & run changed code from NetBean Menu ( Run -> Run Main Project). Remember to "Clean and Build Mai Project" before you do that. And also you need to start Database server to make application working.
User name : 123, Password: 123
You can use your favorite database utilities but NetBean latest release has full support for JavaDB . For other options visit http://wiki.floreantpos.org/home/database-development
If you are in trouble with Java DB installation follow http://netbeans.org/kb/docs/ide/java-db.html
In floreant POS, database resides in "posdb" folder, so copy posdb folder or point to that path
Database name: posdb (same as the folder name)
User name: app
From IDE select jdbc:derby://localhost:1527/posdb
5. Starting Database server
Double click over JavaDB menu to start and stop Database server.
6. When you are done overwrite posdb folder of your Project that you have downloaded from Subversion
Warning: posdb should not contain another posdb folder, it should contain the files
7. If you have successfully connected by right clicking on "jdbc:derby://localhost:1527/posdb" you should see
8. You can navigate through Databse tables
If you have any problem you can check if JDK is installed properly.
Screenshots and some of the steps are taken from SF.NET forum . We thank Indokely (SF.NET Profile )
Developers Guide >