JPOSInEclipse
From jPOS.org
jPOS/Eclipse HOWTO
http://jpos.org/images/team/alwyn_s.jpg /by Alwyn, extracted from jpos-dev/
- Open your CVS Repository Exploring Perspective.
- Rightclick and pick new repository location.
- Fill in your details.
- Expand the newly created location until you see the jpos modules under HEAD.
- Right click on the module and pick Check out as....
- Pick Java Project and follow instructions.
Now you should have jPOS as a project in your eclipse where you can do cvs updates by using the Team->Update option on the context menu.
You will need to change the src and build directories for your project.
- Right click on the project.
- Pick properties at bottom.
- Pick Java Build Path on the left.
- Pick Source Tab.
- Remove the current source folder.
- Add 2 folders: <your projectname>/src/ext and <your projectname>/src/main.
- Change your default output folder to something else than bin (used by jPOS).
Mine is jpos/eclipsebuild. In order to be able to pick your own path you must have created the directory. As I use GTK eclipse I do this outside Eclipse or I get 100% CPU chewage.
Now you will notice a bunch of errors in your task view. These are due to jars not found. To get rid of them you must add the jars to your Library Path of your project.
Note that you will need to download all ext libraries if you want to get rid of all the messages. You can see what jars form part of 'ext' by reading ext/README. You need to put these jars under the 'ext' directory.
For each of the jars in lib and 'ext' do the following:
- Right click on the project in the Navigation or Package view.
- Pick Properties at bottom.
- Pick Java Build Path on the left.
- Choose Library Tab.
- Pick Add Jar on the right.
- Navigate to the jar in the tree. If you do not see any jars listed in the tree, go back to the Navigation view and do a right click -> Refresh...
Now most if not all errors and warnings should be gone.
I still build manually with ant outside eclipse. It is possible to add a builder to eclipse that will use ant to build it. You can find the details to do this in the eclipse help as I have no clue as to how I did this the one time I did....

