Dov
Dov

Reputation: 8570

processing-java fails on windows, works on Linux and Mac OSX, is there any way around this

We have an automated grading script to compile Java, C++ and processing. For C++ and Java, it works on all three platforms (Linux, Mac OSX, and Windows). For processing, the command:

processing-java --sketch=a --output=test --build

works in both linux and Mac OSX. We are in a directory containing:

a/ a.pde

the sketch a.pde is correctly inside a matching directory with the same name.

In Windows, processing-java reports "a\a.pde does not exist"

Upvotes: 1

Views: 59

Answers (1)

George Profenza
George Profenza

Reputation: 51867

It might be a case of processing-java not understanding relative paths.

Try to use absolute paths: e.g. c:\a instead of a.

processing-java --sketch=c:\a --output=test --build

In general, I recommend testing with absolute paths first and double checking separator characters (/ on Linux,OSX, \ on Windows)

Upvotes: 1

Related Questions