Just use the
(http://ant.apache.org/manual/CoreTasks/concat.html) task to create your
property file in any way you like.
Sam.
Z W <[EMAIL PROTECTED]> wrote: Hi
I have a list of properties in a properties file.
I like to write these property values into a file to be used as an input to
a shell
You may want to look at the echo command. You should be able to use something
like:
Property_Name : ${Property_Name}
You can create fairly complex files this way. You may have to set append to
false for the first echo just in case you are re-using the file.
Z W <[EMAIL PROTECTED]> wrote: Hi
I
1) before
2) with a
Jan
> -Ursprüngliche Nachricht-
> Von: Z W [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 13. Februar 2008 10:54
> An: Ant Users List
> Betreff: Re: Creating a list of entries
>
> This task seems to replace/overwrites the existing file
t; On Feb 13, 2008 12:56 AM, <[EMAIL PROTECTED]> wrote:
>
> > replacint "=" by " : " ?
> >
> > Jan
> >
> > > -Ursprüngliche Nachricht-
> > > Von: Z W [mailto:[EMAIL PROTECTED]
> > > Gesendet: Mittwoch, 1
n: Z W [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 13. Februar 2008 09:30
> > An: Ant Users List
> > Betreff: Re: Creating a list of entries
> >
> > Jan
> >
> > I have a list of entries in a properties file
> >
> > apple=1
> > orange
replacint "=" by " : " ?
Jan
> -Ursprüngliche Nachricht-
> Von: Z W [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 13. Februar 2008 09:30
> An: Ant Users List
> Betreff: Re: Creating a list of entries
>
> Jan
>
> I have a list of entri
t; wrote:
> My first thought was:
> My second thought is: what do want to achieve? Can you post an example?
>
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: Z W [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 13. Februar 2008 07:48
> > An: Ant
My first thought was:
My second thought is: what do want to achieve? Can you post an example?
Jan
> -Ursprüngliche Nachricht-
> Von: Z W [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 13. Februar 2008 07:48
> An: Ant Users List
> Betreff: Creating a list of entries
Hi
I have a list of properties in a properties file.
I like to write these property values into a file to be used as an input to
a shell script using sshexec task.
I like to know if there's way to achieve this using Ant.
Any suggestions ?
Thanks