You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jamie Bisotti <jb...@gmail.com> on 2005/05/03 22:04:31 UTC

Building on Unix AND Windows

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 OS?

Thanks!
-- 
Jamie Bisotti
Software Engineer
Lexmark International, Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Building on Unix AND Windows

Posted by Alex Soto <ap...@gmail.com>.
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

On 5/3/05, Jamie Bisotti <jb...@gmail.com> 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 OS?
> 
> Thanks!
> --
> Jamie Bisotti
> Software Engineer
> Lexmark International, Inc.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Building on Unix AND Windows

Posted by Jamie Bisotti <jb...@gmail.com>.
Great!  Thanks.

On 5/3/05, Peter van de Hoef <pv...@springsite.com> wrote:
> 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 OS?
> >
> >Thanks!
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
Jamie Bisotti
Software Engineer
Lexmark International, Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Building on Unix AND Windows

Posted by Peter van de Hoef <pv...@springsite.com>.
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 OS?
>
>Thanks!
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Building on Unix AND Windows

Posted by Jamie Bisotti <jb...@gmail.com>.
Is this mentioned/documented anywhere?  Did I just miss it?  Also,
what else might this affect?

On 5/4/05, Siegfried Goeschl <si...@it20one.at> wrote:
> 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 OS?
> >
> >Thanks!
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
Jamie Bisotti
Software Engineer
Lexmark International, Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Building on Unix AND Windows

Posted by Siegfried Goeschl <si...@it20one.at>.
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 OS?
>
>Thanks!
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Building on Unix AND Windows

Posted by Chad Brandon <ch...@gmail.com>.
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 OS?
>  
>
The forward slash will work fine on both operating systems.

>Thanks!
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org