[stringtemplate-interest] ST4 wish: platform specific dir separator in PathGroupLoader
Nicola Musatti
Nicola.Musatti at objectway.it
Thu Nov 5 00:47:41 PST 2009
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.
More information about the stringtemplate-interest
mailing list