I left out the build element, and just used the site:generate goal. James build is quite happy at it is IMHO.
d. > -----Original Message----- > From: Vincent Keunen [mailto:[EMAIL PROTECTED]] > Sent: 15 August 2002 20:13 > To: James Developers List > Subject: Re: Next question.. (was: Should we remove ant? ) > > > I just did a small test but am stuck... I wanted to test Maven for > James, so I grabbed the latest source of james, wrote the (required by > Maven) project.xml file (attached to this message), which just took me > 10 minutes then tried to generate the site (which includes compiling the > james sources). There it breaks and I don't know why. Probably I would > need to tweak the build process of James, but I'm not comfortable in > doing that. > > The error I get is: > > F:\Dev\cvs-ext\jakarta-james>maven site:generate > __ __ > | \/ |__ Jakarta _ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-b5-dev > > jakarta-james (james) v2.0a3 > F:\Dev\cvs-ext\jakarta-james > > [available] DEPRECATED - <available> used to override an existing > property. > Build file should not reuse the same property name for different values. > site:generate: > init-dvsl-tag: > > jdepend:generate-report: > java:prepare-filesystem: > > java:compile: > [javac] Compiling 150 source files to > F:\Dev\cvs-ext\jakarta-james\target\classes > [javac] [ERROR] > F:\Dev\cvs-ext\jakarta-james\src\java\org\apache\james\BaseConnect > ionHandler.java:10: > cannot resolve symbol > [javac] [ERROR] symbol : class ConnectionHandler > [javac] [ERROR] location: package connection > [javac] [ERROR] import > org.apache.avalon.cornerstone.services.connection.ConnectionHandler; > [javac] > [ERROR] ^ > [javac] [ERROR] > F:\Dev\cvs-ext\jakarta-james\src\java\org\apache\james\BaseConnect > ionHandler.java:11: > cannot resolve symbol > [javac] [ERROR] symbol : class Configurable > [javac] [ERROR] location: package configuration > [javac] [ERROR] import > org.apache.avalon.framework.configuration.Configurable; > [javac] [ERROR] ^ > > Running ant for james does the compilation ok, so it must be that Maven > requires some tweaking (apparently, Maven uses ant to build the project, > so I would suppose it uses the build.xml?...) > > Can someone help? > > > > Vincent Keunen wrote: > > > I have read quite a bit and played a little with Maven: it looks > > pretty interesting. Its goal is to standardize jakarta projects > > developments (while Forrest seems to be related to web publishing > > only). It seems to be getting more and more acceptance: > > http://jakarta.apache.org/turbine/maven/powered.html > > > > I installed it: very easy: download, unpack, set 2 env. vars and > > that's it! I was also pretty impressed by the first launch: it got a > > number of standard jar files it needed from a server (commons modules, > > logging, regexp,... most from jakarta). > > > > I did modify the sample projects.file for one of our projects: easy > > too. Now I'm trying to solve a compiling problem, but otherwize, it > > looks great. > > > > The documentation on the site is pretty good for a young project... > > > > I'll keep studying the tool, but it seems nice (and the people working > > on it seem to be bright...) > > > > > > Noel J. Bergman wrote: > > > >> Charles, > >> > >> Maven is a subproject of Turbine. Anakia is a subproject of Velocity. > >> Anything that deprecates Velocity is A Good Thing. > >> > >> > >> > >>> If there is an Apache option, I think we should take it in > preference to > >>> non-Apache options. > >>> > >> > >> > >> Apache Forrest *is* an Apache project. It is, FAIAP, a Cocoon > >> subproject. > >> > >> Maven: http://jakarta.apache.org/turbine/maven/ > >> Anakia: http://jakarta.apache.org/velocity/anakia.html > >> Forrest: http://xml.apache.org/forrest/ > >> > >> Anakia appears to be the most primitive of the bunch. Forrest is a way > >> better tool in the same space, and it is also an active tool. > Maven has > >> other goals, but one of its features includes site publication. > >> > >> I wonder why the Maven folks and Forrest folks don't get together, so > >> that > >> Maven can focus on all of the backend project management, and Forrest > >> can > >> focus on publishing the web content. > >> > >> --- Noel > >> > >> > >> -- > >> To unsubscribe, e-mail: > >> <mailto:[EMAIL PROTECTED]> > >> For additional commands, e-mail: > >> <mailto:[EMAIL PROTECTED]> > >> > >> > >> > > > > -- > !try; do() > -- > Vincent Keunen, Ir, http://vincent.keunen.net > Manex, rue Wagner 93, BE-4100 Boncelles, Belgium > Our site: http://www.manex.be > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
