From: youjun g. <you...@ya...> - 2009-12-12 01:00:34
|
If you want to run Rutger's publish script and deploy treebase to a tomcat in your workstation you do need to set up environment variables based on the wiki. Alternative solution is run "maven package" on the project from your eclipse to build the war file then copy the treebase-web.war to your tomcat webapp directory, then restart the tomcat if you didn't set the autodeploy. On Fri, Dec 11, 2009 at 5:26 PM, Vladimir Gapeyev <vga...@ne...>wrote: > Ok, I followed Youjun's advice to create an Eclipse project via the Maven > plugin, which did its own SVn checkout into an empty workspace. Eclipse > gave pleasantly few red marks to the result: > - Missing indirectly referenced artifact > mesquite:mesquite:jar:2.6+SNAPSHOT:compile > - and something cryptic at the end > of treebase-web/src/main/webapp/WEB-INF/pages/search/study/analyses.jsp > I presume these are benign. > > From this point, however, I am at a loss what needs to be configured so > that I have a functional web site at my localhost:8080 that connects to the > postgres instance. > > Starting Tomcat via the Servers view, as > https://sourceforge.net/apps/mediawiki/treebase/index.php?title=DeveloperEnvironment recommends, > was not successful. (Tomcat startup log attached > > ) > > Thanks for further guidance, > > --Vladimir > > > On Dec 11, 2009, at 2:13 PM, youjun guo wrote: > > Vladimir, > > Unless you are going to do the developing work directly on the treebase-dev > server , or you want to remotely deploy from your workstation to the > treebase tomcat server, your eclipse set up have nothing to do with the > shell envelopment. > > m2eclipse is a mvn inatall for eclipse. > > Youjun > > > On Fri, Dec 11, 2009 at 1:26 PM, Vladimir Gapeyev <vga...@ne...>wrote: > >> Youjun, >> >> As I understand, you suggest to skip the (mvn install; Eclipse workspace >> at trunk; create Java projects from existing files) part of instructions >> at >> https://sourceforge.net/apps/mediawiki/treebase/index.php?title=DeveloperEnvironment >> and instead start with an Eclipse workspace in a blank directory. >> >> I'll probably try that if nothing can make the above instructions work. >> However, it will be useful if we can make those wiki instructions work... >> >> --VG >> >> >> >> > > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > _______________________________________________ > Treebase-devel mailing list > Tre...@li... > https://lists.sourceforge.net/lists/listinfo/treebase-devel > > |