-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Description
Description
Running the schema update process with mvn clean install -P process-schemas on a Unix-like platform results in the following exception:
Caused by: java.lang.IllegalArgumentException: /home/magnusbk/src/eiffel-remrem-semantics/src\main\resources\schemas\input does not exist
at org.apache.commons.io.FileUtils.verifiedListFiles (FileUtils.java:1741)
at org.apache.commons.io.FileUtils.cleanDirectory (FileUtils.java:1716)
at com.ericsson.eiffel.remrem.semantics.schemas.LocalRepo.readSchemas (LocalRepo.java:46)
at com.ericsson.eiffel.remrem.semantics.clone.PrepareLocalEiffelSchemas.main (PrepareLocalEiffelSchemas.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:294)
at java.lang.Thread.run (Thread.java:748)
This is unsurprising given the backslash-separated paths in EiffelConstants.
Motivation
The schema update process should obviously be possible to run on platforms other than Windows.
Exemplification
I'd like to be able to update the schemas from a Linux host.
Benefits
Obvious.
Possible Drawbacks
None.
Metadata
Metadata
Assignees
Labels
No labels