Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stellation-res] Problem parsing location option

There is a problem when parsing the location option for a Firebird database
on Windows. Firebird requires the database name to be a fully qualified
path. This leads to location options such as

  --location=firebirdsql:d:\Firebird\tsvctest

When this string is split up with StringList.splitString() using ':' as the
separator we wind up with three components rather than two. I made a
temporary local fix to use a '+' character as the separator and this worked.

The issue is what should we do for the Alpha release. Long term this problem
will be solved with the new configuration support I am working on, but this
will not be available until after the Alpha release.

My preference is to define a different separator for the location option.
Since the location option is broken up and then reconstituted for use in
JDBC, the separator used for input is not relevant to the ultimate use of
the data.

Any thoughts?

Regards

Jonathan



Back to the top