Hi again Luke, On 24 Nov 2009, at 23:48, Luke Foxton wrote:
Hi there,Im following the installation steps from the wiki for getting the latest code and building the wookie server with tomcat and mysql. When I build it goes through ok and gives me the "build successful" message at the end. But something seems to be going wrong with the build because there seems to be a few problems:1) The wookie folder is copied to the tomcat directory and not the tomcat/webapps directory.
Worked OK for me - is this something as simple as an error in the path set in build.properties?
2) The libraries are copied into a local folder inside the "trunk" folder called ${project.weblib.dir}. This seems to be a problem with the ant properties
This is just a temporary holding space for the libs - they get copied over to Tomcat anyway. If you want to you can set a project.weblb.dir property in build.properties for it to somewhere else.
3) I have a widgetdb database and a java/java user but no tables are created by the build. I also tried copying the wookie folder to the webapps dir in tomcat and started it to see if the tables are created on startup but no dice.
No, you're right they don't - see below
Something has obviously gone wrong with the build here, perhaps I have configured wrong. Still its strange that the build still "succeeds".Luke
I just went through the steps again myself: 1. svn co https://svn.apache.org/repos/asf/incubator/wookie/trunk 2. edited build.properties: # Only one of the following should be set.# If you choose derby you need to do no addiitonal configuration, if you choose mySQL
#project.using.derby=true project.using.mysql=true servletEngine.webapp.dir=/usr/local/apache-tomcat-6.0.20/webapps/ # In most cases you will not not to change the settings below this line # Only change them if you know what you are doing. build.dir=build ivy.repository.dir=ant main.class.name=org.apache.wookie.server.Start 3. ant 4. ant deploy-webappEverything works OK apart from the tables are not created. However, running:
5. ant clean-db Sets everything up.I'll make sure to add that step to the MySQL/Tomcat instructions on the wiki.
S
smime.p7s
Description: S/MIME cryptographic signature
