andrewoma / quokka

Automatically exported from code.google.com/p/quokka
0 stars 0 forks source link

Make normalise and escape functions available within property expressions #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the release plugin creates different versions of all project
tokens with --normalise and --escape suffixes.

"Normalise" converts a path to the local platform norms, and "escape"
escapes a property to make it suitable for embedding within property files.

This functions are useful globally. Moving them into AnnotatedProperties
would make this possible.

e.g.
basedir=C:\projects\quokka
foo=${basedir}/../../repository
fooNorm=${@normalise foo}
fooEsc=${@escape fooNorm}

would result in:
fooNorm=C:\repository
fooEsc=C:\\repository

Original issue reported on code.google.com by andrewoma@gmail.com on 16 Jan 2008 at 6:08

GoogleCodeExporter commented 9 years ago

Original comment by andrewoma@gmail.com on 30 Jan 2008 at 11:16

GoogleCodeExporter commented 9 years ago

Original comment by andrewoma@gmail.com on 4 Oct 2008 at 6:41