No, I don't have <extend> in my master project.xml... anyway here's the
output with -X if that helps. I am using CVS HEAD too.
[DEBUG] Adding reference: maven.dependency.classpath ->
[available] [VERBOSE] Unable to find src\java to set property
sourcesPresen
[DEBUG] Adding reference: maven-classpath ->
Starting the reactor ...
BUILD FAILED
..\project.xml (The system cannot find the file specified)
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [all] --
..\p
oject.xml (The system cannot find the file specified) File: null At tag
<m:reac
or>: line: 11 column: 40
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:568)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
532)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:350)
at org.apache.maven.cli.App.doMain(App.java:523)
at org.apache.maven.cli.App.main(App.java:1079)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
org.apache.commons.jelly.JellyException: ..\project.xml (The system cannot
find
the file specified) File: null At tag <m:reactor>: line: 11 column: 40
at
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.ja
a:656)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:284)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:232)
at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:108)
at com.werken.werkz.Goal.fire(Goal.java:632)
at com.werken.werkz.Goal.attain(Goal.java:568)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
532)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:350)
at org.apache.maven.cli.App.doMain(App.java:523)
at org.apache.maven.cli.App.main(App.java:1079)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
Root cause
java.io.FileNotFoundException: ..\project.xml (The system cannot find the
file
pecified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:59)
at java.io.FileInputStream.<init>(FileInputStream.java:90)
at org.apache.commons.digester.Digester.parse(Digester.java:1264)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:203)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:259)
at
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:3
6)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:278)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:232)
at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:108)
16:44 WMCCWKGT100002A ~/projects/ccf-common %
at com.werken.werkz.Goal.attain(Goal.java:568)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
532)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:350)
at org.apache.maven.cli.App.doMain(App.java:523)
at org.apache.maven.cli.App.main(App.java:1079)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
Total time: 2 seconds
-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 4:42 PM
To: Turbine Maven Users List
Subject: Re: Reactor question
I've had no problem doing exactly this - maybe its an oversight. Did you
happen to include the extend in master.xml as well?
Otherwise, I suggest running with maven -X and see if it gives you more
info.
Cheers,
Brett
Chan, Charles wrote:
> Hi, I am using CVSHEAD Maven. I am close to finish porting an Ant J2EE
build
> to Maven but encounter a problem. My project is structured as follows:
>
> master/
> project.xml
> ejb/
> project.xml
> ui/
> project.xml
> startup/
> project.xml
>
> Each project.xml in the subcomponent "extends" the master project.xml by
> using <extend>../project.xml</extend> (similar to what Commons does). In
my
> Master maven.xml, I have
>
> <project xmlns:j="jelly:core"
> xmlns:m="jelly:maven"
> xmlns:u="jelly:util">
> <goal name="all">
> <m:reactor basedir="${basedir}"
> includes="*/project.xml"
> goals="java:jar"
> banner="Building"
> ignoreFailures="false"/>
> </goal>
> </project>
>
> I suppose that means invoking "maven all" at the master level would invoke
> "maven java:jar" in each subproject. But I got the following error
instead:
>
>
> Starting the reactor ...
>
> BUILD FAILED
> ..\project.xml (The system cannot find the file specified)
> Total time: 2 seconds
>
> What did I do wrong??
>
> Thanks
> Charles
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>