Re: Merge base settings with environment specific ones

2009-05-14 Thread Eric Fetzer
ubject: Re: Merge base settings with environment specific ones Yes, merging or concatenating two files together is non-issue if you explicitly tell the Ant script what files to merge. But remember the Ant build script is expected to be used for building anything that follows the same convention.

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
g file to be packaged into the application that is being built... Eric Fetzer wrote: > > Since they don't contain the same settings couldn't you just append one > file to the end of the other or something similar with maybe? > -- View this message in context:

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
ain the same thing in multiple > places and WILL screw up.  If that's a game that you're willing to play, > just copy a.dev.properties to a.properties and that's the end of it.  > Personally, I just keep a.properties and modify settings of that file > based on what it shoul

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
ing in multiple > places and WILL screw up.  If that's a game that you're willing to play, > just copy a.dev.properties to a.properties and that's the end of it.  > Personally, I just keep a.properties and modify settings of that file > based on what it should be for differ

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
13, 2009 1:20:58 PM Subject: Re: Merge base settings with environment specific ones Thanks Eric. What you did certainly is one of the options. I was wondering if the same thing could also be done with Ant built-in capabilities. One thing I'm not sure is that once the script gets a set of base

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
>       >     >     it for that environment using your favorite installation tool/> > > -- View this message in context: http://www.nabble.com/Merge-base-settings-with-environment-specific-ones-tp23524997p23528278.html Sent from the Ant - Users mailing list archive

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
Subject: Re: Merge base settings with environment specific ones Thanks Eric. If I understood you correctly, it's that program you wrote that did the trick for you, not the NAnt script. Is it correct? Thanks. Eric Fetzer wrote: > > OK, so here's what I did with NAnt and a C# .Net

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
t;     >   > > > Seems something similar could be done for non-xml files as well using > global substitution using regex or such... > -- View this message in context: http://www.nabble.com/Merge-base-settings-with-environment-specific-ones-tp23524997p23527870.html Sent from the Ant -

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
.  This seemed like a bug to me, but I'm > sure it's by design... > -- View this message in context: http://www.nabble.com/Merge-base-settings-with-environment-specific-ones-tp23524997p23526214.html Sent from the Ant - Users mailing list archive at Nabble.com.

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
I'm > sure it's by design... > -- View this message in context: http://www.nabble.com/Merge-base-settings-with-environment-specific-ones-tp23524997p23526309.html Sent from the Ant - Users mailing list archive at Nabble.com.

Re: Merge base settings with environment specific ones

2009-05-13 Thread nagish
I'm > sure it's by design... > -- View this message in context: http://www.nabble.com/Merge-base-settings-with-environment-specific-ones-tp23524997p23526214.html Sent from the Ant - Users mailing list archive at Nabble.com.

Re: Merge base settings with environment specific ones

2009-05-13 Thread Eric Fetzer
ld have to "unset" those properties first.  This seemed like a bug to me, but I'm sure it's by design... From: nagish To: user@ant.apache.org Sent: Wednesday, May 13, 2009 10:11:23 AM Subject: Merge base settings with environment specific ones I

Merge base settings with environment specific ones

2009-05-13 Thread nagish
itten. I would like to get some help on how to write an Ant script like this. Thanks very much. -- View this message in context: http://www.nabble.com/Merge-base-settings-with-environment-specific-ones-tp23524997p23524997.html Sent from the Ant - Users mailing list archive at Nabble.com.