Defining format for Property

View: New views
2 Messages — Rating Filter:   Alert me  

Defining format for Property

by dkhanna123 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We have a task in ANT to update propertyfile with format like

<propertyfile file=.....>
  <Entry key=proper.name
            pattern=......
  </entry>
</propertyfile>

And this can change the pattern in property file, now I do not want to change/update property file but still I want that, if the value of key is 1 lets say proper.name=1 then my target should read it as "01" and NOT "1".

Now can I do that without updating the propertyfile ?

THanks

Re: Defining format for Property

by antoinell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

can you repost this message on our user mailling list user at ant dot apache dot org ?

Regards,

Antoine
-------- Original-Nachricht --------
> Datum: Fri, 25 Apr 2008 09:31:55 -0700 (PDT)
> Von: dkhanna123 <dkhanna01@...>
> An: dev@...
> Betreff: Defining format for Property

>
> We have a task in ANT to update propertyfile with format like
>
> <propertyfile file=.....>
>   <Entry key=proper.name
>             pattern=......
>   </entry>
> </propertyfile>
>
> And this can change the pattern in property file, now I do not want to
> change/update property file but still I want that, if the value of key is
> 1
> lets say proper.name=1 then my target should read it as "01" and NOT "1".
>
> Now can I do that without updating the propertyfile ?
>
> THanks
>
> --
> View this message in context:
> http://www.nabble.com/Defining-format-for-Property-tp16897959p16897959.html
> Sent from the Ant - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...