This pretty much confirms that I shouldn't be using ":" in my property names. (If I once knew that ":" could be used in property files, I don't remember it.)
Thanks, Rich On Tue, Feb 1, 2011 at 10:41 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Damn you Peter, you beat me to the punch! > > On 1 February 2011 14:41, Peter Reilly <peter.kitt.rei...@gmail.com> > wrote: > > : and = and ' ' are used to separate the key from value in java property > files. > > so, not a good thing to use in property values. > > > > Peter > > > > > > On Tue, Feb 1, 2011 at 2:37 PM, Vimil Saju <vimils...@yahoo.com> wrote: > >> you're nuts, don't use : in property names! :P > >> > >> --- On Tue, 2/1/11, Steele, Richard <r...@steelezone.net> wrote: > >> > >>> From: Steele, Richard <r...@steelezone.net> > >>> Subject: Wisdom of using ":" in property name > >>> To: user@ant.apache.org > >>> Date: Tuesday, February 1, 2011, 5:53 AM > >>> For better or for worse, I'm using > >>> ":" as a separator character in my > >>> property names as part of a set of reusable build > >>> files. The part before > >>> the ":" indicates which build file the property is defined > >>> in. > >>> > >>> I've come across at least one incompatibility doing this, > >>> however, and that > >>> is with the Bundlor tool (from SpringSource) for generating > >>> OSGi manifests. > >>> The issue appears to be that Bundlor uses the ":" character > >>> for its own > >>> purposes and is getting confused by my property naming > >>> convention. I'm > >>> faced with several choices: > >>> > >>> 1. Use something other than Bundlor, like bnd. > >>> 2. Work around or patch Bundlor to make it work with my > >>> property naming > >>> convention. > >>> 3. Use some other naming convention (or none at all). > >>> > >>> None of these choices are all that appealing, but if the > >>> Ant community says > >>> something like "you're nuts, don't use : in property names" > >>> that will > >>> obviously push me towards #3. > >>> > >>> (If you're curious, I chose ":" both because the obvious > >>> choice of "." > >>> wasn't distinct enough from many built-in property names, > >>> and because I also > >>> use ":" in my target names.) > >>> > >>> Thanks, > >>> Rich > >>> > >> > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > >> For additional commands, e-mail: user-h...@ant.apache.org > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > > For additional commands, e-mail: user-h...@ant.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > >