From: Vladimir G. <vla...@du...> - 2009-12-16 19:33:02
|
On Dec 16, 2009, at 12:18 PM, Rutger Vos wrote: > Vladimir, if you do an update on your end, will the source now build > on your system? The complaints about mesquite.lib.* missing should go > away. Uff, the easy step is done: I was able to build treebase-web.war that runs on localhost (revision 398). I attach below the cumulative instructions on how I did it. Now I need to figure out what are the most comfortable currently known setups for (1) development and (2) server. The one I figured out so far is not good for either, while the instructions on the wiki did not work for me. Also, I am sure, there are many more details I need to know about the project and now am in a position to start to understand. Who would be the best person to spend a few hours talking to me sometime soon? Rutger, since Wednesday is probably over for you, would you be able to start with me on this Thu morning, around 9am my (US Eastern) time? --Vladimir ==Development environment in Eclipse== * Install Subclipse and Maven Integration plugins * Register Treebase SVN repository in Eclipse ** Open SVN Repositories view: menu Window > Show View > Other ... > SVN / SVN Repositories ** Right-click > New > Repository Location ** Enter https://treebase.svn.sourceforge.net/svnroot/treebase * Connect to the Maven project in SVN ** In Project Explorer, Right-click > New > Project > Maven / Checkout Maven Projects from SCM ** SCM url: SVN as type, browse for the repository registered above, and select the 'trunk' folder. ** Next ** Location: specify as desired (to an empty directory) ** Finish (Takes awhile, not much action visible) * Place <tt>jdbc.properties</tt> file, containing appropriate credentials, into <tt>treebase-core/src/main/resources</tt>. * Build the Maven project, skipping the tests. ** On the 'treebase' project: Run As > m2 6 Maven build ... > *** Goals: package *** Skip tests: checkmark *** Resolve Workspace artifacts: uncheck *** Run ** When successful, this creates treebase/treebase-web/target/treebase- web.war * Deploy treebase-web.war under Tomcat ** Place treebase-web.war into $CATALINA_HOME/webapps ** Start Tomcat via $CATALINA_HOME/bin/startup.sh ** The app should be available at http://localhost:8080/treebase-web/ ** In case of trouble, check logs in $CATALINA_HOME/logs, especially the <tt>catalina.out</tt> log. |