[stringtemplate-interest] ST4 wish: platform specific dir separator in PathGroupLoader
Terence Parr
parrt at cs.usfca.edu
Sat Nov 7 13:21:10 PST 2009
Hi. yes, makes sense. I'll add a todo item in v4 about the ':' being
platform specific.
added this too:
http://www.antlr.org/jira/browse/ST-64
Ter
On Nov 5, 2009, at 12:47 AM, Nicola Musatti wrote:
> Hallo,
> I'm writing again as my previous post on the subject didn't receive
> any
> feedback. Would it be possible to have the change I suggested
> applied to
> the forthcoming version 4 of StringTemplate?
>
> To recap: under Windows the PathGroupLoader class is close to unusable
> because of its use of colon as directory separator. Even when a single
> directory is specified, the path is split at the drive letter,
> making it
> impossible to put template files on a different drive from the
> current one.
>
> In my opinion PathGroupLoader should adhere to the conventions in use
> for CLASSPATH, i.e. use semi-colon as path separator on Windows. I
> would
> expect that implementing this change shouldn't require much more than
> replacing literal ":" occurrences with java.io.File.pathSeparator, but
> there might be implications I'm not aware of.
>
> On a different note: would my just being a recent adopter of Antlr/ST
> make me eligible for a Jira account? I feel that providing bur reports
> is the very least I can do in exchange for the free use of the
> software.
>
> Thank you,
> Nicola Musatti
>
> --
> La presente comunicazione potrebbe contenere informazioni riservate
> e/o protette
> da segreto professionale ed e' indirizzata esclusivamente ai
> destinatari della
> medesima qui indicati. Se avete ricevuto per errore la presente
> comunicazione,
> siete invitati a segnalarcelo, rispondendo a questo stesso indirizzo
> di e-mail,
> e a cancellare il presente messaggio dal Vostro sistema. E'
> strettamente proibito
> e potrebbe essere fonte di violazione di legge qualsiasi uso,
> comunicazione, copia
> o diffusione dei contenuti di questa comunicazione da parte di chi
> la abbia
> ricevuta per errore o in violazione degli scopi della presente.
> Il messaggio e' stato analizzato alla ricerca di virus o contenuti
> pericolosi
> ed e' risultato NON infetto.
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list