You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code that makes the file pathname to the copied .yaml resource file doesn't match the pathname of the copied file. This causes failures when the resource file is in a package (directory) other than the root.
When startEmbeddedCassandra(...) is called with a Yaml resource file pathname of /com/xxx/yyy/zzz/db/cassandra.yaml (and when such a resource exists, of course), the code makes a copy at .../embeddedCassandra/cassandra.yaml--adding just the simple name (last pathname segment) of the resource file pathname to the temporary directory name (.../embeddedCassandra).
However, after that copy, when the code tries to make a file pathname to that copied file, it makes a file pathname of ...embeddedCassandra/com/xxx/yyy/zzz/db/cassandra.yaml--using the whole pathname of the resource, not just the simple name (as the copy used).
The text was updated successfully, but these errors were encountered:
The code that makes the file pathname to the copied
.yaml
resource file doesn't match the pathname of the copied file. This causes failures when the resource file is in a package (directory) other than the root.When
startEmbeddedCassandra(...)
is called with a Yaml resource file pathname of/com/xxx/yyy/zzz/db/cassandra.yaml
(and when such a resource exists, of course), the code makes a copy at.../embeddedCassandra/cassandra.yaml
--adding just the simple name (last pathname segment) of the resource file pathname to the temporary directory name (.../embeddedCassandra
).However, after that copy, when the code tries to make a file pathname to that copied file, it makes a file pathname of
...embeddedCassandra/com/xxx/yyy/zzz/db/cassandra.yaml
--using the whole pathname of the resource, not just the simple name (as the copy used).The text was updated successfully, but these errors were encountered: