[Issue 342] New - Parent directory paths not supported

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Issue 342] New - Parent directory paths not supported

hispanic
https://hudson.dev.java.net/issues/show_bug.cgi?id=342
                 Issue #|342
                 Summary|Parent directory paths not supported
               Component|hudson
                 Version|current
                Platform|PC
              OS/Version|Windows XP
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|www
             Assigned to|issues@hudson
             Reported by|hispanic






------- Additional comments from [hidden email] Sun Mar  4 21:41:21 +0000 2007 -------
I have a Maven build with the following directory structure:
/trunk
     /BlahBuild
     /BlahCommon
     /BlahBiz
     /BlahDataAccess

The parent pom.xml inside BlahBuild looks like so:
        <modules>
                <module>../BlahCommon</module>
                <module>../BlahDataAccess</module>
                <module>../BlahBiz</module>
        </modules>

This works fine in Maven, but fails in Hudson. My project configuration uses the
following values:
Subversion Modules - file:///C:/svnrepo_blah/trunk
Root POM - BlahBuild/pom.xml

Console output for BlahBiz:
started
ERROR: No POM: C:\Documents and
Settings\mike\.hudson\jobs\Blah\workspace\trunk\..\BlahBiz\pom.xml
finished: FAILURE

Tomcat output:
Mar 4, 2007 4:34:57 PM hudson.model.Run setResult
INFO: Blah #25 : result is set to SUCCESS by hudson.model.Run.run(Run.java:533)
Mar 4, 2007 4:34:57 PM hudson.model.Run run
INFO: Blah #25 main build action completed: SUCCESS
Mar 4, 2007 4:35:04 PM hudson.model.Run setResult
INFO: blah:blah-maven-build #25 : result is set to SUCCESS by
hudson.model.Run.run(Run.java:533)
Mar 4, 2007 4:35:04 PM hudson.model.Run run
INFO: blah:blah-maven-build #25 main build action completed: SUCCESS
Mar 4, 2007 4:35:10 PM hudson.model.Run setResult
INFO: Blah:blah-biz #25 : result is set to FAILURE by
hudson.model.Run.run(Run.java:533)
Mar 4, 2007 4:35:10 PM hudson.model.Run run
INFO: Blah:blah-biz #25 main build action completed: FAILURE
Mar 4, 2007 4:35:10 PM hudson.model.Run setResult
INFO: Blah:blah-common #25 : result is set to FAILURE by
hudson.model.Run.run(Run.java:533)
Mar 4, 2007 4:35:10 PM hudson.model.Run run
INFO: Blah:blah-common #25 main build action completed: FAILURE
Mar 4, 2007 4:35:10 PM hudson.model.Run setResult
INFO: Blah:blah-data-access #25 : result is set to FAILURE by
hudson.model.Run.run(Run.java:533)
Mar 4, 2007 4:35:10 PM hudson.model.Run run
INFO: Blah:blah-data-access #25 main build action completed: FAILURE

In short, it looks like the ../ isn't accounted-for. I can work around this by
placing a modified pom.xml in the trunk directory.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]