Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Building on Unix AND Windows

    6 answers - 713 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    We have setup CruiseControl, which is using Maven to build, on a Linux
    box, but most (all) developers are currently using Maven on Windows.
    We have a parent project, containing the common project.xml, and
    several child project's, containing project.xml's that extend the
    parent project.xml. With me so far?
    The child project.xml files have the following:
    <extend>\project.xml</extend>
    That works fine on Windows, but fails on Linux (semi understandable).
    I haven't had a chance to try it yet, but I'm guessing switching the
    slash will get it to work on Linux, but fail on Windows. How can we
    get it to work regardless of S?
    Thanks!
  • No.1 | | 1081 bytes | |

    The forward slash works in both Windows and Linux.

    Jamie Bisotti wrote:

    >We have setup CruiseControl, which is using Maven to build, on a Linux
    >box, but most (all) developers are currently using Maven on Windows.
    >We have a parent project, containing the common project.xml, and
    >several child project's, containing project.xml's that extend the
    >parent project.xml. With me so far?
    >
    >The child project.xml files have the following:
    >

    <extend>\project.xml</extend>
    >
    >
    >That works fine on Windows, but fails on Linux (semi understandable).
    >I haven't had a chance to try it yet, but I'm guessing switching the
    >slash will get it to work on Linux, but fail on Windows. How can we
    >get it to work regardless of S?
    >
    >Thanks!


    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.2 | | 1182 bytes | |

    Great! Thanks.

    5/3/05, Peter van de Hoef <pvdhoef (AT) springsite (DOT) comwrote:
    The forward slash works in both Windows and Linux.

    Jamie Bisotti wrote:

    >We have setup CruiseControl, which is using Maven to build, on a Linux
    >box, but most (all) developers are currently using Maven on Windows.
    >We have a parent project, containing the common project.xml, and
    >several child project's, containing project.xml's that extend the
    >parent project.xml. With me so far?
    >
    >The child project.xml files have the following:
    >

    <extend>\project.xml</extend>
    >
    >
    >That works fine on Windows, but fails on Linux (semi understandable).
    >I haven't had a chance to try it yet, but I'm guessing switching the
    >slash will get it to work on Linux, but fail on Windows. How can we
    >get it to work regardless of S?
    >
    >Thanks!
    >
    >


    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.3 | | 1194 bytes | |

    I use forward slashes on windows and I haven't had a problem. Here is
    a snippet of one of my project.xml's:
    <project>
    <extend>${basedir}///common/project.xml</extend>

    I'm not running a build on linux at the moment, so I can't test it on
    Linux, but forward slashes works on windows for me. Have you tried
    using forward slashes yet?

    Alex Soto

    5/3/05, Jamie Bisotti <jbisotti (AT) gmail (DOT) comwrote:
    We have setup CruiseControl, which is using Maven to build, on a Linux
    box, but most (all) developers are currently using Maven on Windows.
    We have a parent project, containing the common project.xml, and
    several child project's, containing project.xml's that extend the
    parent project.xml. With me so far?

    The child project.xml files have the following:

    <extend>\project.xml</extend>

    That works fine on Windows, but fails on Linux (semi understandable).
    I haven't had a chance to try it yet, but I'm guessing switching the
    slash will get it to work on Linux, but fail on Windows. How can we
    get it to work regardless of S?

    Thanks!
  • No.4 | | 1112 bytes | |

    Jamie Bisotti wrote:

    >We have setup CruiseControl, which is using Maven to build, on a Linux
    >box, but most (all) developers are currently using Maven on Windows.
    >We have a parent project, containing the common project.xml, and
    >several child project's, containing project.xml's that extend the
    >parent project.xml. With me so far?
    >
    >The child project.xml files have the following:
    >

    <extend>\project.xml</extend>
    >
    >
    >That works fine on Windows, but fails on Linux (semi understandable).
    >I haven't had a chance to try it yet, but I'm guessing switching the
    >slash will get it to work on Linux, but fail on Windows. How can we
    >get it to work regardless of S?


    The forward slash will work fine on both operating systems.

    >Thanks!


    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.5 | | 1188 bytes | |

    Hi Jamie,

    I'm using

    <extend>/project.xml</extend>

    on Windows and it works fine.

    Cheers,

    Siegfried Goeschl

    Jamie Bisotti wrote:

    >We have setup CruiseControl, which is using Maven to build, on a Linux
    >box, but most (all) developers are currently using Maven on Windows.
    >We have a parent project, containing the common project.xml, and
    >several child project's, containing project.xml's that extend the
    >parent project.xml. With me so far?
    >
    >The child project.xml files have the following:
    >

    <extend>\project.xml</extend>
    >
    >
    >That works fine on Windows, but fails on Linux (semi understandable).
    >I haven't had a chance to try it yet, but I'm guessing switching the
    >slash will get it to work on Linux, but fail on Windows. How can we
    >get it to work regardless of S?
    >
    >Thanks!


    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.6 | | 1377 bytes | |

    Is this mentioned/documented anywhere? Did I just miss it? Also,
    what else might this affect?

    5/4/05, Siegfried Goeschl <siegfried.goeschl (AT) it20one (DOT) atwrote:
    Hi Jamie,

    I'm using

    <extend>/project.xml</extend>

    on Windows and it works fine.

    Cheers,

    Siegfried Goeschl

    Jamie Bisotti wrote:

    >We have setup CruiseControl, which is using Maven to build, on a Linux
    >box, but most (all) developers are currently using Maven on Windows.
    >We have a parent project, containing the common project.xml, and
    >several child project's, containing project.xml's that extend the
    >parent project.xml. With me so far?
    >
    >The child project.xml files have the following:
    >

    <extend>\project.xml</extend>
    >
    >
    >That works fine on Windows, but fails on Linux (semi understandable).
    >I haven't had a chance to try it yet, but I'm guessing switching the
    >slash will get it to work on Linux, but fail on Windows. How can we
    >get it to work regardless of S?
    >
    >Thanks!
    >
    >


    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

Re: Building on Unix AND Windows


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 3 =
QUESTION ON "Java"

EMSDN.COM