From: Vladimir G. <vga...@ne...> - 2009-12-11 18:26:58
|
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 On Dec 11, 2009, at 11:35 AM, youjun guo wrote: > Vladimir, > > 1st, make sure your eclipse have the maven plugin like m2eclipse and > subversion plugin like subclipse installed. > > 2rd instead of creating a maven project, "import a maven project > form remote reposotory" in other words - treebase sourceforge svn > url. > > All the dependencies were defined in pom.xml, maven know how to find > them online, even if they are missing from you local .m2 directory > > Youjun > > > > On Fri, Dec 11, 2009 at 11:06 AM, Vladimir Gapeyev <vga...@ne... > > wrote: > Yes, I followed the wiki instructions, including running mvn install - > Dmaven.test.skip=true in the proper shell environment. This appeared > to have created the repository in ~vgapeyev/.m2, which Eclipse does > see through the M2_REPO variable. > > Note that only a fraction of the dependencies is missing in Eclipse. > Is there a chance they are simply missing from the Maven config > files? That is, can someone check the status of the handful of the > dependencies I have mentioned? Again, I can supply the full list if > this turns out to be the right way to go. > > I also tried following Youjun's advice, to create Maven rather than > Java projects in Eclipse. The wizard asks questions (about group and > artifact IDs, which I, as a Maven novice, do not understand) and > finally stops with the error "A pom.xml file already exists in the > destination folder". > > --Vladimir > > > On Dec 11, 2009, at 8:37 AM, Rutger Vos wrote: > > > Yes, you have to do the maven build first (e.g. from the command > line) > > and make sure in eclipse that the M2_REPO variable is configured > > correctly (i.e. points to your local repository in > > $HOME/.m2/repository) > > > > On Thu, Dec 10, 2009 at 11:39 PM, youjun guo <you...@ya...> > > wrote: > >> Make sure you import the project as maven project, it will find and > >> download > >> those dependencies for you. > >> > >> Youjun > >> > >> On Thu, Dec 10, 2009 at 6:18 PM, Vladimir Gapeyev <vga...@ne... > >> > > >> wrote: > >>> > >>> Going through the installation instructions > >>> at https://sourceforge.net/apps/mediawiki/treebase/index.php?title=DeveloperEnvironment > >>> , > >>> I got to creation of Eclipse projects treebase-core and treebase- > >>> web. > >>> This gave me lots of missing buildpath entries: 11 in treebase- > >>> core and 39 > >>> in treebase-web. Please advise on how to proceed! > >>> Here are a few of the missing entries: > >>> M2_REPO/apple/apple-java-extensions/1.2/apple-java- > >>> extensions-1.2.jar > >>> M2_REPO/avalon-framework/avalon-framework/4.1.3/avalon- > >>> framework-4.1.3.jar > >>> M2_REPO/com/lowagie/itext/1.3/itext-1.3.jar > >>> > >>> M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons- > >>> beanutils-1.7.0.jar > >>> I can work on putting together the whole list in case it will be > >>> useful. > >>> --Vladimir > >>> > >>> > ------------------------------------------------------------------------------ > >>> 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 > >>> > >> > >> > >> > ------------------------------------------------------------------------------ > >> 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 > >> > >> > > > > > > > > -- > > Dr. Rutger A. Vos > > School of Biological Sciences > > Philip Lyle Building, Level 4 > > University of Reading > > Reading > > RG6 6BX > > United Kingdom > > Tel: +44 (0) 118 378 7535 > > http://www.nexml.org > > http://rutgervos.blogspot.com > > > ------------------------------------------------------------------------------ > 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 > |