You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Slava Zimine <sl...@japgod.mine.nu> on 2002/04/30 01:45:15 UTC
can't compile turbine-3 with maven
Hi.
on Tue Apr 30 01:41:08 CEST 2002
did:
read the docs on maven site,
and
cvs co jakarta-turbine-3
ant -f build-maven.xml maven:update-jars
ant -f build-maven.xml maven:jar
Build Failed with this error message:
------------------------------------------
run-tests:
[echo]
Running all JUnit tests
BUILD FAILED
/soft/projs/maven/build-test.xml:383: Could not create task of type:
junit. Common solutions are to use taskdef to declare your task, or, if
this is an optional task, to put the optional.jar in the lib directory
of your ant installation (ANT_HOME).
------------------------------------------
do you have such a build error building turbine-3 ?
regards.
Slava
p.s.
thanx a lot to Martin for organizing the Turbine Conference in Breda
thanx to Jason for his interesting discussions.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: can't compile turbine-3 with maven
Posted by Diederik de Groot <dd...@talon.nl>.
Hi Slava,
I just wanted to see if it worked for me.
1. i cleaned out the jars directory and coppied all the jar files from
maven/install to my jars directory.
2. did a new checkout from cvs of jakarta-turbine-3
3. went into jakarta-turbine-3
4. ran [ant -f build-maven.xml maven:update-jars]
5. of course the stratum-1.0-b2-dev.jar was overwritten again (has to be
fixed). so i replaced it from the maven/install dir otherwise you get an
exception (D:\development\maven\build-maven.xml:126:
java.lang.reflect.InvocationTargetException)
6. ant after that i ran [ant -f build-maven.xml maven:compile]
7. and [ant -f build-maven.xml maven:jar]
It all ran perfectly fine. I don't get any complaints about Junit. Have you
downloaded turbine-3 or did you use cvs ? Have you run the update-jars
function ?
What is in your build.properties
This is mine
-----
tdk.home=d:/development/jakarta/tdk-2.2b1
ant.home=d:/development/ant
lib.repo = d:/development/jars
maven.home = d:/development/maven
project.home = d:/development/projects
turbine.dir = ${project.home}/jakarta-turbine-3
debug = on
optimize = on
deprecation = off
dvsl.jar = d:/development/jars/velocity-dvsl-0.43.jar
dom4j.jar = d:/development/jars/dom4j-1.3.jar
mlrpc.jar = d:/development/jars/xmlrpc-1.1.jar
stratum.jar = d:/development/jars/stratum-1.0-b2-dev.jar
commons-configuration.jar =
d:/development/jars/commons-configuration-1.0-dev.jar
commons-configuration-1.0-dev.jar =
d:/development/jars/commons-configuration-1.0-dev.jar
----
I hope that helps.
Diederik
> -----Original Message-----
> From: Slava Zimine [mailto:slava@japgod.mine.nu]
> Sent: dinsdag 30 april 2002 13:08
> To: Turbine Users List
> Subject: Re: can't compile turbine-3 with maven
>
>
> Hi, Diederik.
>
> yesterday, thanx to the late dutch train i nearly missed my plane.
> well, the plane was also late, so they let me in.
>
> as about jakarta-turbine-3 compilation.
>
> I put junit.jar and optional.jar in $ANT_HOME/lib
>
> but ant -f build-maven.xml maven:jar
> still complains with exceptions when actually already running Junit
> tests.
>
>
> ant compile (without using maven) actually compiles
> turbine-3.0-dev.jar in target.
>
>
>
> i've also checked out today jakarta-turbine-2
>
> ant jar (and ant -f build-maven.xml maven:jar ) produce one
> compilation error
>
> compile:
> [javac] Compiling 1 source file to
> /soft/ce/turbine/jakarta-turbine-2/target/classes
> [javac]
> /soft/ce/turbine/jakarta-turbine-2/target/src/org/apache/turbine/T
> urbine.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] ^
>
>
>
> cheers.
>
> slava
>
>
>
>
> On Tue, Apr 30, 2002 at 11:33:00AM +0200, Diederik de Groot wrote:
> > Hi Slava,
> >
> > everyone is back onine I see. No big hangovers i hope.
> >
> > Did you add the jakarta-ant-1.4-optional.jar in the lib
> directory of Ant?
> > You can find it in the ant repository.
> >
> > Greetings,
> >
> > Diederik
> >
> >
> >
> > > -----Original Message-----
> > > From: Martin van den Bemt [mailto:martin@isallineed.org]
> > > Sent: dinsdag 30 april 2002 9:19
> > > To: Turbine Users List
> > > Subject: RE: can't compile turbine-3 with maven
> > >
> > >
> > > Hi Slava,
> > >
> > > Hope your flight back was ok. I just tried to build it last
> night and the
> > > compile went ok. I think you don't junit.jar in your ANT_HOME/lib
> > > directory
> > > (at least that is to only thing I can think of right now).
> > >
> > > mvgr,
> > > Martin
> > >
> > > > -----Original Message-----
> > > > From: Slava Zimine [mailto:slava@japgod.mine.nu]
> > > > Sent: Tuesday, April 30, 2002 01:45
> > > > To: Turbine Users List
> > > > Subject: can't compile turbine-3 with maven
> > > >
> > > >
> > > > Hi.
> > > >
> > > > on Tue Apr 30 01:41:08 CEST 2002
> > > >
> > > > did:
> > > >
> > > > read the docs on maven site,
> > > > and
> > > >
> > > > cvs co jakarta-turbine-3
> > > >
> > > > ant -f build-maven.xml maven:update-jars
> > > > ant -f build-maven.xml maven:jar
> > > >
> > > >
> > > > Build Failed with this error message:
> > > > ------------------------------------------
> > > > run-tests:
> > > > [echo]
> > > > Running all JUnit tests
> > > >
> > > >
> > > > BUILD FAILED
> > > >
> > > > /soft/projs/maven/build-test.xml:383: Could not create task of type:
> > > > junit. Common solutions are to use taskdef to declare your
> task, or, if
> > > > this is an optional task, to put the optional.jar in the
> lib directory
> > > > of your ant installation (ANT_HOME).
> > > > ------------------------------------------
> > > >
> > > >
> > > > do you have such a build error building turbine-3 ?
> > > >
> > > >
> > > >
> > > > regards.
> > > > Slava
> > > >
> > > > p.s.
> > > >
> > > > thanx a lot to Martin for organizing the Turbine Conference
> in Breda
> > > >
> > > > thanx to Jason for his interesting discussions.
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: can't compile turbine-3 with maven
Posted by Slava Zimine <sl...@japgod.mine.nu>.
Hi, Diederik.
yesterday, thanx to the late dutch train i nearly missed my plane.
well, the plane was also late, so they let me in.
as about jakarta-turbine-3 compilation.
I put junit.jar and optional.jar in $ANT_HOME/lib
but ant -f build-maven.xml maven:jar
still complains with exceptions when actually already running Junit
tests.
ant compile (without using maven) actually compiles
turbine-3.0-dev.jar in target.
i've also checked out today jakarta-turbine-2
ant jar (and ant -f build-maven.xml maven:jar ) produce one compilation error
compile:
[javac] Compiling 1 source file to
/soft/ce/turbine/jakarta-turbine-2/target/classes
[javac]
/soft/ce/turbine/jakarta-turbine-2/target/src/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] ^
cheers.
slava
On Tue, Apr 30, 2002 at 11:33:00AM +0200, Diederik de Groot wrote:
> Hi Slava,
>
> everyone is back onine I see. No big hangovers i hope.
>
> Did you add the jakarta-ant-1.4-optional.jar in the lib directory of Ant?
> You can find it in the ant repository.
>
> Greetings,
>
> Diederik
>
>
>
> > -----Original Message-----
> > From: Martin van den Bemt [mailto:martin@isallineed.org]
> > Sent: dinsdag 30 april 2002 9:19
> > To: Turbine Users List
> > Subject: RE: can't compile turbine-3 with maven
> >
> >
> > Hi Slava,
> >
> > Hope your flight back was ok. I just tried to build it last night and the
> > compile went ok. I think you don't junit.jar in your ANT_HOME/lib
> > directory
> > (at least that is to only thing I can think of right now).
> >
> > mvgr,
> > Martin
> >
> > > -----Original Message-----
> > > From: Slava Zimine [mailto:slava@japgod.mine.nu]
> > > Sent: Tuesday, April 30, 2002 01:45
> > > To: Turbine Users List
> > > Subject: can't compile turbine-3 with maven
> > >
> > >
> > > Hi.
> > >
> > > on Tue Apr 30 01:41:08 CEST 2002
> > >
> > > did:
> > >
> > > read the docs on maven site,
> > > and
> > >
> > > cvs co jakarta-turbine-3
> > >
> > > ant -f build-maven.xml maven:update-jars
> > > ant -f build-maven.xml maven:jar
> > >
> > >
> > > Build Failed with this error message:
> > > ------------------------------------------
> > > run-tests:
> > > [echo]
> > > Running all JUnit tests
> > >
> > >
> > > BUILD FAILED
> > >
> > > /soft/projs/maven/build-test.xml:383: Could not create task of type:
> > > junit. Common solutions are to use taskdef to declare your task, or, if
> > > this is an optional task, to put the optional.jar in the lib directory
> > > of your ant installation (ANT_HOME).
> > > ------------------------------------------
> > >
> > >
> > > do you have such a build error building turbine-3 ?
> > >
> > >
> > >
> > > regards.
> > > Slava
> > >
> > > p.s.
> > >
> > > thanx a lot to Martin for organizing the Turbine Conference in Breda
> > >
> > > thanx to Jason for his interesting discussions.
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: can't compile turbine-3 with maven
Posted by Diederik de Groot <dd...@talon.nl>.
Hi Slava,
everyone is back onine I see. No big hangovers i hope.
Did you add the jakarta-ant-1.4-optional.jar in the lib directory of Ant?
You can find it in the ant repository.
Greetings,
Diederik
> -----Original Message-----
> From: Martin van den Bemt [mailto:martin@isallineed.org]
> Sent: dinsdag 30 april 2002 9:19
> To: Turbine Users List
> Subject: RE: can't compile turbine-3 with maven
>
>
> Hi Slava,
>
> Hope your flight back was ok. I just tried to build it last night and the
> compile went ok. I think you don't junit.jar in your ANT_HOME/lib
> directory
> (at least that is to only thing I can think of right now).
>
> mvgr,
> Martin
>
> > -----Original Message-----
> > From: Slava Zimine [mailto:slava@japgod.mine.nu]
> > Sent: Tuesday, April 30, 2002 01:45
> > To: Turbine Users List
> > Subject: can't compile turbine-3 with maven
> >
> >
> > Hi.
> >
> > on Tue Apr 30 01:41:08 CEST 2002
> >
> > did:
> >
> > read the docs on maven site,
> > and
> >
> > cvs co jakarta-turbine-3
> >
> > ant -f build-maven.xml maven:update-jars
> > ant -f build-maven.xml maven:jar
> >
> >
> > Build Failed with this error message:
> > ------------------------------------------
> > run-tests:
> > [echo]
> > Running all JUnit tests
> >
> >
> > BUILD FAILED
> >
> > /soft/projs/maven/build-test.xml:383: Could not create task of type:
> > junit. Common solutions are to use taskdef to declare your task, or, if
> > this is an optional task, to put the optional.jar in the lib directory
> > of your ant installation (ANT_HOME).
> > ------------------------------------------
> >
> >
> > do you have such a build error building turbine-3 ?
> >
> >
> >
> > regards.
> > Slava
> >
> > p.s.
> >
> > thanx a lot to Martin for organizing the Turbine Conference in Breda
> >
> > thanx to Jason for his interesting discussions.
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: can't compile turbine-3 with maven
Posted by Martin van den Bemt <ma...@isallineed.org>.
Hi Slava,
Hope your flight back was ok. I just tried to build it last night and the
compile went ok. I think you don't junit.jar in your ANT_HOME/lib directory
(at least that is to only thing I can think of right now).
mvgr,
Martin
> -----Original Message-----
> From: Slava Zimine [mailto:slava@japgod.mine.nu]
> Sent: Tuesday, April 30, 2002 01:45
> To: Turbine Users List
> Subject: can't compile turbine-3 with maven
>
>
> Hi.
>
> on Tue Apr 30 01:41:08 CEST 2002
>
> did:
>
> read the docs on maven site,
> and
>
> cvs co jakarta-turbine-3
>
> ant -f build-maven.xml maven:update-jars
> ant -f build-maven.xml maven:jar
>
>
> Build Failed with this error message:
> ------------------------------------------
> run-tests:
> [echo]
> Running all JUnit tests
>
>
> BUILD FAILED
>
> /soft/projs/maven/build-test.xml:383: Could not create task of type:
> junit. Common solutions are to use taskdef to declare your task, or, if
> this is an optional task, to put the optional.jar in the lib directory
> of your ant installation (ANT_HOME).
> ------------------------------------------
>
>
> do you have such a build error building turbine-3 ?
>
>
>
> regards.
> Slava
>
> p.s.
>
> thanx a lot to Martin for organizing the Turbine Conference in Breda
>
> thanx to Jason for his interesting discussions.
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>