You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Youngho Cho <yo...@nannet.co.kr> on 2002/05/02 02:34:56 UTC
Build turbine-2 problem
Hello,
I installed maven today and tried to build turbine-2 module.
But I got error message liked an attached file.
I checked the build status in jakarta Gump.
There is no build failure ( only some comment about missing prereq )
Am I something wrong ?
Thanks,
youngho
Re: Build turbine-2 problem
Posted by Youngho Cho <yo...@nannet.co.kr>.
Hello Eric,
Thanks for your reply.
>
> Did you checkout the latest copy of maven from cvs?
>
Ok, Yes Today I checkouted the latest copy of maven from cvs
And maven build using
% ant -f build-bootstrap.xml
maven was build successfully to my maven.home.
( I was deep impressed of the great feature of maven ! )
And also checkouted the latest copy of Turbine-2 from cvs.
and modified maven.home in project.properties and build.properties.
and start build turbine using
%ant -f build-maven.xml maven.jar -l report.txt
Still I have some trouble to build turbine.
The report.txt is attached.
I can't understand that
The failure message said that ComponentLoader cannot resolve symbol
javac.compile:
[javac] Compiling 7 source files to /home/youngho/project/jakarta-turbine-2/target/classes
[javac] /home/youngho/project/jakarta-turbine-2/src/java/org/apache/turbine/Turbine.java:244: cannot resolve symbol
[javac] symbol : constructor ComponentLoader (org.apache.commons.configuration.Configuration)
[javac] location: class org.apache.stratum.component.ComponentLoader
[javac] ComponentLoader loader = new ComponentLoader(
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error
BUILD FAILED
But during the build stratum-1.0-b2-dev.jar was in the classpath. you can see it in report.txt file.
Thanks,
Youngho
Re: Build turbine-2 problem
Posted by Eric Dobbs <er...@dobbse.net>.
On Wednesday, May 1, 2002, at 06:34 PM, Youngho Cho wrote:
> I installed maven today and tried to build turbine-2 module.
> But I got error message liked an attached file.
Did you checkout the latest copy of maven from cvs?
Maven and the various Turbine builds are changing frequently.
It seems mostly likely that you have a slightly outdated copy
of Maven trying to install the current turbine-2 stuff.
Maven's bootstrap is very easy to use and installs the very
latest stuff for you:
% cvs co jakarta-turbine-maven
% cd jakarta-turbine-maven
(you might be able to skip this step if you've already
defined maven.home in your ~/build.properties file)
% echo "maven.home=${user.home}/maven" >> ~/build.properties
% ant -f build-bootstrap.xml
-Eric
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>