Java With Netbeans
Java With Netbeans
1
Document version: 20101124_0900
Plaese follow the steps described in this document in order to create a CaptainCasa
project when using the NetBeans IDE.
Maybe there are other ways as well to create the project – so this is not the „one and only
guide“. We of course are happy to receive feedback if you find some better sequence of
steps!
In the following dialog first define, that your project is a normal Java project:
1
Now define the name and the location of your project:
2
Create the Project in the CaptainCasa Environment
Now start the CaptainCasa tools.
• Do NOT start the CaptainCasa Server yet!
In the tools select „Project – New...“ from the menu:
Define name and root directory of the project – pointing to the directory that you just
created within NetBeans:
CaptainCasa Enterprise Client
3
Rightsize NetBeans Project Settings
The NetBeans project is now „injected“ with the CaptainCasa files. You now have to:
• tell NetBeans to include some libraries
• update the buid-settings for the compilation of classes
4
Update the following line:
from:
build.classes.dir=${build.dir}/classes
into:
build.classes.dir=webcontent/WEB-INF/classes
Now, by building the project (key F11) the sources will be compiled into this directory.
Please note
Inclusion of Libraries
All libraries that you require at runtime need to be placed into the folder
webcontent/WEB-INF/lib of your project.
CaptainCasa Enterprise Client