Your first build
"Jean-Yves LEBLEU" <[email protected]> Tue, 30 May 2006 13:56:29 +0200
| Newsgroups | gmane.comp.java.xplanner.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello all, I've just downloaded xplanner code from subversion and tried to follow the "Your first build" I found here : '" http://xplanner.codehaus.org/Development+guide First I am using eclipse and I had to update the classpath, this is done, were can I upload it ? I had to add the following step between 3 and 4 : Rename xplanner-custom-war-install.properties to xplanner-custom.properties and modified the step 4 to : Run the ant taget install.db.schema instead of clean.db.schema Project is building ok. In eclipse the TestPrincipalSpecificPermissionHelper is not on the rigth package, package declared is com.technoetic.xplanner.security.auth and this class is in com.technoetic.xplanner.db. So it must be moved or package name amended. Here is the amended documentation for the web site. 1. Make sure you setup your mysql database correctly by creating your xplanner user<http://xplanner.codehaus.org/Mysql+installation#Mysqlinstallation-Createusers> 2. Run the ant target ide.after.clean: this will compile the jasper reports and generates the soap related classes. 3. Run the ant target ide.before.run: this target should always be run before running unit/acceptance tests and starting xplanner in order to setup the testing/run environment 4. Rename xplanner-custom-war-install.properties to xplanner-custom.properties 5. Run the ant target (clean) install.db.schema: this will drop and create a database by the name of the property xplanner.database and initialize it for usage (schema and initial data) You must have created the database before! 6. Build the project (Make Project from your idea or invoke the ant target build.war) 7. Run the unit tests by running the class TestAllUnitTests 8. Setup tomcat in IDEA and deploy xplanner to /xplanner 9. Start tomcat 10. Run the acceptance tests by running the class TestAllAcceptanceTests Hope this will help. Jean-Yves