[stringtemplate-interest] [ST4 Beta-4] Retrieving version information
Collin Fagan
collin.fagan at gmail.com
Thu Feb 10 16:02:23 PST 2011
Maven makes this easy. ...,*ducks*
On Feb 10, 2011 5:55 PM, "Terence Parr" <parrt at cs.usfca.edu> wrote:
Hi Udo,
Seems like the more common use case would be to test the version number and
do something different to avoidable or use a feature only if a particular
version is available. but we can't test values in the template so it would
have to be a Boolean set for the various versions; might be hard to add one
for every random version we make.
<if(v4_0b1)>...<endif>
Hmm... also I would have to figure out how to make ANT alter my software
automatically to include the right version string; it would have to know
about perforce version control and so on. setting this by hand would be a
problem as it would get out of sync.
Ter
On Feb 7, 2011, at 6:25 AM, Udo Borkowski wrote:
> Hi,
>
> what about providing "version informati...
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
_______________________________________________
stringtemplate-interest mailing list
stringtemplate-interest at antlr.org
http://www.antlr.org/mailman/listinfo/stringtemplate-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110210/8ec0ab6b/attachment.html
More information about the stringtemplate-interest
mailing list