theflyinggriffin / corb-row-exporter

A scripting tool to extract CSV files from MarkLogic TDEs
Apache License 2.0
1 stars 0 forks source link

Can't use extractor from Windows #4

Open theflyinggriffin opened 3 years ago

theflyinggriffin commented 3 years ago

Due to the difference in Java classpath notation between Linux and Windows (using ; for Windows vs : for Linux/Mac to separate entries), the current implementation will not work on Windows.

Solution: Abstract away the construction of the java command used to call each Corb2 process. This abstraction can detect the kind of system it is running on using platform.system() and produce the command accordingly.