Development manual
Required
- Eclipse Java EE >= 3.5.2 (32 und 64 Bit)
- Java SE 6 Development Kit
- Apache Tomcat >= 6.0.26
- Subclipse (install via update site) see
here)
Preparation
- Install JDK
- Unpack Eclipse
- Start Eclipse
- Check global Eclipse settings
- JDK added: Window -> Preferences Java -> Installed
JREs
- Install Apache Tomcat 6.0
- Setup Apache Tomcat in Eclipse
- Window -> Preferences -> Server -> Installed Runtimes -> Add
- Select Apache Tomcat 6.0
- Select Tomcat directory
- Start Eclipse and select a workspace directory
- Select 'Java EE' view.
Usage
- File -> Import -> General -> Existing projects into workspace ->
Select the ConfiSS project directory (it contains a .settings directory)
- Configuration
- Database: Create file ConfISS/src/hibernate.cfg.xml by renaming the templatefile in the same directory. By default ConfISS is configured to usw the MySQL-database 'confiss' with username and password 'confiss'. These settings can be changed in this file. The SQL-schema you need to import to the server is in the project directory.
- Mailserver for outgoing mail: Create ConfISS/WebContent/WEB-INF/web.xml from th template file in the same directory. In the section 'application properties' enter mailserver for outgoing mail and the login data to use. If you don't enter this data Confiss won't send mail..
- In the "Servers"-View right click -> New -> Server. Select Tomcat 6.0 and assign the projekt ConfISS .
- Start the application by starting the server
- ConfISS is available at http://localhost:8080/ConfISS
|