james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Keunen <vincent.keu...@manex.be>
Subject Re: Next question.. (was: Should we remove ant? )
Date Thu, 15 Aug 2002 19:13:12 GMT
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

    [available] DEPRECATED - <available> used to override an existing 
  Build file should not reuse the same property name for different values.


    [javac] Compiling 150 source files to 
    [javac] [ERROR] 
cannot resolve symbol
    [javac] [ERROR] symbol  : class ConnectionHandler
    [javac] [ERROR] location: package connection
    [javac] [ERROR] import 
[ERROR]                                                          ^
    [javac] [ERROR] 
cannot resolve symbol
    [javac] [ERROR] symbol  : class Configurable
    [javac] [ERROR] location: package configuration
    [javac] [ERROR] import 
    [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:james-dev-unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail: 
>> <mailto:james-dev-help@jakarta.apache.org>

!try; do()
Vincent Keunen, Ir, http://vincent.keunen.net
Manex, rue Wagner 93, BE-4100 Boncelles, Belgium
Our site: http://www.manex.be

View raw message