You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Bill Nagy <na...@watson.ibm.com> on 2006/03/30 05:30:09 UTC
[Axis2] Error when running maven using the war target
Hi,
I've just updated from the source tree (I haven't updated in a while)
and when I attempt to do a 'maven war', I get:
BUILD FAILED
File...... /home/apache/axis2/maven.xml
Element... ant:copy
Line...... 398
Column.... 47
/home/apache/axis2/modules/doom/target not found.
I tried checking the tree out from scratch as well with the same result.
-Bill
Re: [Axis2] Error when running maven using the war target
Posted by Bill Nagy <na...@watson.ibm.com>.
Hi Deepal,
I had tried:
cd /tmp (no axis2 directory exists)
svn checkout
https://svn.apache.org/repos/asf/webservices/axis2/trunk/java axis2
cd axis2
maven war
and I get the same failure.
-Bill
On Thu, 2006-03-30 at 11:03 +0600, Deepal Jayasinghe wrote:
> Hi Bill;
>
> I just run maven war and it worked form me.
>
> Yes we have removed doom module from the source tree and moved it
> axiom, and I think you have not updated the full source tree.
> Please get a source update
> (https://svn.apache.org/repos/asf/webservices/axis2/trunk/java) and run
> : maven clean war
>
> Bill Nagy wrote:
>
> >Hi,
> >
> >I've just updated from the source tree (I haven't updated in a while)
> >and when I attempt to do a 'maven war', I get:
> >
> >BUILD FAILED
> >File...... /home/apache/axis2/maven.xml
> >Element... ant:copy
> >Line...... 398
> >Column.... 47
> >/home/apache/axis2/modules/doom/target not found.
> >
> >I tried checking the tree out from scratch as well with the same result.
> >
> >-Bill
> >
> >
> >
> >
> >
> >
>
Re: [Axis2] Error when running maven using the war target
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Bill;
I just run maven war and it worked form me.
Yes we have removed doom module from the source tree and moved it
axiom, and I think you have not updated the full source tree.
Please get a source update
(https://svn.apache.org/repos/asf/webservices/axis2/trunk/java) and run
: maven clean war
Bill Nagy wrote:
>Hi,
>
>I've just updated from the source tree (I haven't updated in a while)
>and when I attempt to do a 'maven war', I get:
>
>BUILD FAILED
>File...... /home/apache/axis2/maven.xml
>Element... ant:copy
>Line...... 398
>Column.... 47
>/home/apache/axis2/modules/doom/target not found.
>
>I tried checking the tree out from scratch as well with the same result.
>
>-Bill
>
>
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
Re: [Axis2] Error when running maven using the war target
Posted by Bill Nagy <na...@watson.ibm.com>.
Hi Ruchith,
It seems to build fine now. Thanks.
-Bill
On Thu, 2006-03-30 at 23:54 +0600, Ruchith Fernando wrote:
> Hi Bill,
>
> >
> > The offending section of the maven.xml is:
> >
> > <!-- Copy the doom jar -->
> > <ant:copy toDir="target/temp/war/lib">
> > <ant:fileset file="modules/doom/target/axis2-doom-
> > ${pom.currentVersion}.jar"/>
> > </ant:copy>
> >
>
> Thanks for finding this issue ... just fixed it and I was able to
> build the war and was able to deploy it in Tomcat properly.
>
> Please try it out now.
>
> Thanks,
> Ruchith
Re: [Axis2] Error when running maven using the war target
Posted by Eran Chinthaka <ch...@opensource.lk>.
I just fixed a small issue in cache-min-deps and now all the goals
should work.
I got war, dist-std-bin targets successful.
-- Chinthaka
Ruchith Fernando wrote:
> Hi Bill,
>
>> The offending section of the maven.xml is:
>>
>> <!-- Copy the doom jar -->
>> <ant:copy toDir="target/temp/war/lib">
>> <ant:fileset file="modules/doom/target/axis2-doom-
>> ${pom.currentVersion}.jar"/>
>> </ant:copy>
>>
>
> Thanks for finding this issue ... just fixed it and I was able to
> build the war and was able to deploy it in Tomcat properly.
>
> Please try it out now.
>
> Thanks,
> Ruchith
>
Re: [Axis2] Error when running maven using the war target
Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Bill,
>
> The offending section of the maven.xml is:
>
> <!-- Copy the doom jar -->
> <ant:copy toDir="target/temp/war/lib">
> <ant:fileset file="modules/doom/target/axis2-doom-
> ${pom.currentVersion}.jar"/>
> </ant:copy>
>
Thanks for finding this issue ... just fixed it and I was able to
build the war and was able to deploy it in Tomcat properly.
Please try it out now.
Thanks,
Ruchith
Re: [Axis2] Error when running maven using the war target
Posted by Eran Chinthaka <ch...@opensource.lk>.
Doug Davis wrote:
>
> Will the axis2 site ( http://ws.apache.org/axis2/svn.html ) be updated
> to show the step-by-step instructions on how to build/test it?
http://ws.apache.org/axis2/svn.html together with frequently used
commands found in http://ws.apache.org/axis2/faq.html will help you to
start working with axis2 sources.
> Even
> before this split I've never been able to successfully build and run all
> of the tests and I'm sure it must have been a setup issue.
Once you checkout the sources and run, one of the maven commands (maven
clean jar being the popular one), you should get a successful build (at
least theoretically :)). But if you are getting any test failures or
build failures, please let us know.
Thanks,
Chinthaka
> thanks,
> -Doug
>
Re: [Axis2] Error when running maven using the war target
Posted by Doug Davis <du...@us.ibm.com>.
Will the axis2 site ( http://ws.apache.org/axis2/svn.html ) be updated to
show the step-by-step instructions on how to build/test it? Even before
this split I've never been able to successfully build and run all of the
tests and I'm sure it must have been a setup issue.
thanks,
-Doug
Bill Nagy <na...@watson.ibm.com>
03/30/2006 12:16 PM
Please respond to
axis-dev
To
axis-dev@ws.apache.org
cc
Subject
Re: [Axis2] Error when running maven using the war target
Hi Sanjiva,
The offending section of the maven.xml is:
<!-- Copy the doom jar -->
<ant:copy toDir="target/temp/war/lib">
<ant:fileset file="modules/doom/target/axis2-doom-
${pom.currentVersion}.jar"/>
</ant:copy>
but as you indicated, the doom module has been moved into another
project (i.e. the modules/doom directory no longer exists in the axis2
project.)
Am I supposed to check out Axiom (or some portion of it) underneath the
Axis2 tree, or does the maven target need to be modified to pull the
required jar in from the ${war_dep_cache} like some of the other
dependencies, with the expectation that it will have been built
separately?
-Bill
On Thu, 2006-03-30 at 14:57 +0600, Sanjiva Weerawarana wrote:
> Hi Bill,
>
> You need checkouts of a bunch of commons projects- we've refactored bits
> out of Axis2 in WS Commons. You'll need XmlSchema, Policy, Axiom and (if
> you want the tool) Tcpmon.
>
> Sanjiva.
>
> On Wed, 2006-03-29 at 22:30 -0500, Bill Nagy wrote:
> > Hi,
> >
> > I've just updated from the source tree (I haven't updated in a while)
> > and when I attempt to do a 'maven war', I get:
> >
> > BUILD FAILED
> > File...... /home/apache/axis2/maven.xml
> > Element... ant:copy
> > Line...... 398
> > Column.... 47
> > /home/apache/axis2/modules/doom/target not found.
> >
> > I tried checking the tree out from scratch as well with the same
result.
> >
> > -Bill
> >
> >
Re: [Axis2] Error when running maven using the war target
Posted by Bill Nagy <na...@watson.ibm.com>.
Hi Sanjiva,
The offending section of the maven.xml is:
<!-- Copy the doom jar -->
<ant:copy toDir="target/temp/war/lib">
<ant:fileset file="modules/doom/target/axis2-doom-
${pom.currentVersion}.jar"/>
</ant:copy>
but as you indicated, the doom module has been moved into another
project (i.e. the modules/doom directory no longer exists in the axis2
project.)
Am I supposed to check out Axiom (or some portion of it) underneath the
Axis2 tree, or does the maven target need to be modified to pull the
required jar in from the ${war_dep_cache} like some of the other
dependencies, with the expectation that it will have been built
separately?
-Bill
On Thu, 2006-03-30 at 14:57 +0600, Sanjiva Weerawarana wrote:
> Hi Bill,
>
> You need checkouts of a bunch of commons projects- we've refactored bits
> out of Axis2 in WS Commons. You'll need XmlSchema, Policy, Axiom and (if
> you want the tool) Tcpmon.
>
> Sanjiva.
>
> On Wed, 2006-03-29 at 22:30 -0500, Bill Nagy wrote:
> > Hi,
> >
> > I've just updated from the source tree (I haven't updated in a while)
> > and when I attempt to do a 'maven war', I get:
> >
> > BUILD FAILED
> > File...... /home/apache/axis2/maven.xml
> > Element... ant:copy
> > Line...... 398
> > Column.... 47
> > /home/apache/axis2/modules/doom/target not found.
> >
> > I tried checking the tree out from scratch as well with the same result.
> >
> > -Bill
> >
> >
Re: [Axis2] Error when running maven using the war target
Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
Hi Bill,
You need checkouts of a bunch of commons projects- we've refactored bits
out of Axis2 in WS Commons. You'll need XmlSchema, Policy, Axiom and (if
you want the tool) Tcpmon.
Sanjiva.
On Wed, 2006-03-29 at 22:30 -0500, Bill Nagy wrote:
> Hi,
>
> I've just updated from the source tree (I haven't updated in a while)
> and when I attempt to do a 'maven war', I get:
>
> BUILD FAILED
> File...... /home/apache/axis2/maven.xml
> Element... ant:copy
> Line...... 398
> Column.... 47
> /home/apache/axis2/modules/doom/target not found.
>
> I tried checking the tree out from scratch as well with the same result.
>
> -Bill
>
>