Edit the sources using the Netbeans IDE
Netbeans is the preferred java IDE to develop Openbravo POS because the Swing components of Openbravo POS has been developed with the visual editor of Netbeans and this edition is stored in *.form files that only Netbeans is able to interpret.
You can download Netbeans from http://www.netbeans.org. And there is a quick guide to develop with Netbeans here http://www.netbeans.org/kb/60/java/quickstart.html.
To create a new Netbeans project with the Openbravo sources, open Netbeans and select New project... to open the new project wizard, select Java Project with Existing Sources and press Next.
New project wizard. Step 1.
In the following step select the project name and the folder where the Netbeans project files will be stored and press Next. Do not select the same folder you downloaded or checked out the sources.
New project wizard. Step 2.
In the following step select the source folders. Add the folders locales, reports, src-beans, src-data, src-erp, and src-pos. In this step you can press Finish.
New project wizard. Step 3.
The next step is to add the libraries needed to build and execute Openbravo POS. Open the Properties... dialog of the project and in the libraries section add all the *.jar files of the folder lib.
New project wizard. Step 4.
Now you have ready a Netbeans project configured than you can edit, build and test. To execute and debug Openbravo POS you need also to select the main class of the project. Open the Properties... dialog and in the run section Openbravo select com.openbravo.pos.forms.StartPOS as the Main Class and press OK.
New project wizard. Step 4.
Edit the sources using the Eclipse IDE
If your favorite java IDE is Eclipse you can use it to develop Openbravo POS. You will only miss the visual edition of the swing components created with Netbeans. In this case you must take into account that if you modify the java code generated by Netbeans, then the Netbeans user will not have in sync your modifications and may overwrite it the next time.
You can download Eclipse from http://www.eclipse.org/. And there is a guide to develop with Eclipse here: http://www.eclipse.org/documentation/.
The Eclipse project files are included in the source packages. To create new Eclipse project is very easy, open Eclipse and select Import... to open the import project wizard, select Existing projects into workspace and press Next.
Import project wizard. Step 1.
In the following step select the root folder of the Openbravo POS sources and press Finish.
Import project wizard. Step 2.
Now you have ready your Eclipse project. To execute it, select the project run it as a Java application and select the com.openbravo.pos.forms.StartPOS as the main class.
分享到:
相关推荐
Beginning NetBeans IDE is your authoritative guide for getting started learning and using the free and open source NetBeans IDE. Written by Geertjan Wielenga, who has worked on the NetBeans Team since...
Pro NetBeans IDE 5.5 Enterprise Edition 电子书
Covers the full spectrum of features offered by the NetBeans IDE Discover ready-to-implement solutions for developing desktop and web applications Learn how to deploy, debug, and test your software ...
NetBeans+IDE+使用说明和示例教程.pdf
一款友好的集成开发软件,可以使用它来开发Java、Web、Android和其他项目。 直接新建一个Jframe项目就可以开始制作你自己的界面风格,具体的操作就是拖动你要的组件,从右边的组件面板中拖到JFrame窗体中,调节好...
方便 快捷 NetBeansIDE6.8 java 看了这个可以帮助你更好地使用NetBeansIDE6.8
Web services development using NetBeans IDE and GlassFish
Written for Java™ developers of varying skill and familiarity with the open source NetBeans™ IDE as well as Java IDEs in general, Pro NetBeans™ IDE 5.5 Enterprise Edition focuses on using ...
The NetBeans IDE has seen adoption snowballing over the past years, particularly with the introduction of a completely new,rewritten, slick Java editor. You’ll find this reference card helpfulif you ...
NetBeans IDE 是一个开发环境 - 供程序员编写、编译、调试和部署程序的一个工具。 它是用 Java 编写的 - 但却可以支持任何...Additional enhancements are listed on the NetBeans IDE 7.4 New and Noteworthy page.
NetBeans+IDE开发指导,英文版的,网上的有一些打不开,这个是可以打开的。点击主页可以快速转到目录页。 NetBeans™ IDE Field Guide Developing Desktop, Web, Enterprise, and Mobile Applications By Patrick ...
NetBeans IDE 中国教育考试版 (2007) 使用说明和示例教程
Netbeans IDE 6高级编程 英文高清版
NetBeans IDE开发指导,入门用的
NetBeans IDE 5.5 快速入门指南,详细介绍,很有用哦。
NetBeans IDE 8.2 所支持的技术ALL NetBeans IDE 8.2 所支持的技术ALL
NetBeansIDE中连接MySQL数据库
Your Guide to Getting Work Done in NetBeans IDE Welcome to the Using NetBeans™ IDE 5.5 guide. This guide is designed to give you a more detailed introduction to the IDE than is available in ...
本人的原创文章,手把手地教你如何安装与使用NetBeansIDE,以6.7版为例,每步一图片。