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
Buildfile: build-maven.xml
maven:jar:
update-pom-check:
[echo]
pomUpdateRequired = ${pomUpdateRequired}
callUpdateDescriptor:
project-properties:
Creating classpath reference ...
Creating dependency.set ...
Creating source set reference ...
Adding Reference src.set with a value of
/home/youngho/project/jakarta-turbine-2/src/java
[project-properties] mpsd => null
Adding Reference compile.src.set with a value of
/home/youngho/project/jakarta-turbine-2/src/java
Creating unit test class entries reference ...
Creating integration unit test class entries reference ...
load-default-properties:
prepare.httpget:
verify-project-proxy:
verify-project-noproxy:
verify-project:
init:
local-init:
compile:
update-pom-check:
project-properties:
Creating classpath reference ...
Creating dependency.set ...
Creating source set reference ...
Adding Reference src.set with a value of
/home/youngho/project/jakarta-turbine-2/src/java
[project-properties] mpsd => null
Adding Reference compile.src.set with a value of
/home/youngho/project/jakarta-turbine-2/src/java
Creating unit test class entries reference ...
Creating integration unit test class entries reference ...
load-default-properties:
prepare.httpget:
verify-project-proxy:
verify-project-noproxy:
verify-project:
init:
local-init:
env:
[echo]
java.home = /usr/local/java/IBMJava2-13/jre
user.home = /home/youngho
lib.repo = /home/youngho/lib.repo
Classpath:
/home/youngho/lib.repo/commons-collections.jar:/home/youngho/lib.repo/commons-configuration-1.0-dev.jar:/home/youngho/lib.repo/commons-lang-0.1-dev.jar:/home/youngho/lib.repo/ecs-1.4.1.jar:/home/youngho/lib.repo/jakarta-regexp-1.3-dev.jar:/home/youngho/lib.repo/mail-1.2.jar:/home/youngho/lib.repo/activation-1.0.1.jar:/home/youngho/lib.repo/jdbc2_0-stdext.jar:/home/youngho/lib.repo/jndi-1.2.1.jar:/home/youngho/lib.repo/log4j-1.1.3.jar:/home/youngho/lib.repo/servlet-2.2.jar:/home/youngho/lib.repo/stratum-1.0-b2-dev.jar:/home/youngho/lib.repo/torque-3.0-b2-dev.jar:/home/youngho/lib.repo/velocity-1.3-dev.jar:/home/youngho/lib.repo/village-1.5.3-dev.jar:/home/youngho/lib.repo/xmlrpc-helma.jar:/home/youngho/lib.repo/xercesImpl-2.0.0.jar:/home/youngho/lib.repo/xmlParserAPIs-2.0.0.jar:/home/youngho/lib.repo/xalan-2.1.0.jar:/home/youngho/lib.repo/httpclient.jar:/home/youngho/lib.repo/httpunit.jar:/home/youngho/lib.repo/cactus.jar:/home/youngho/lib.repo/cactus-ant.jar:/home/youngho/lib.repo/tidy.jar:/home/youngho/lib.repo/junit-3.7.jar:/home/youngho/lib.repo/castor-0.9.3.jar:/home/youngho/lib.repo/webmacro-0.94.jar:/home/youngho/lib.repo/freemarker-1.5.3.jar:/home/youngho/lib.repo/jython-2.1.jar
prepare-sources:
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
/home/youngho/project/maven/build-maven.xml:553: Compile failed, messages should have
been provided.
Total time: 6 seconds
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>