buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Toulme <anto...@lunar-ocean.com>
Subject File::SEPARATOR on Windows
Date Fri, 16 Jul 2010 18:43:42 GMT
It looks like calling out Java doesn't work well on Windows, in particular
this h2.rake home made extension on Apache ODE:
http://svn.apache.org/viewvc/ode/trunk/tasks/h2.rake?view=markup

The log looks like this:

https://gist.github.com/c304862ba875ba29b12f/469ac1e899ccbe1dd76ea1c2cb1081bdf5a0c479

I tempered with it as much as I could, the only line that makes any sense
is:
The filename, directory name, or volume label syntax is incorrect.

Which turned me to think the problem lies in the path of the command, which
uses slashes instead of backslashes:

"C:/Program Files (x86)/Java/jdk1.6.0_20/bin/java" "-classpath"
"C:/Users/vanto/.m2/repository/com/h2database/h2/1.1.117/h2-1.1.117.jar"
"org.h2.tools.RunScript" "-url"
"jdbc:h2:file:C:/Users/vanto/dev/git/pxe/dao-hibernate-db/target/h2/hibdb/ode-hib-h2;DB_CLOSE_ON_EXIT=false;user=sa"
"-showResults" "-script"
"C:/Users/vanto/dev/git/pxe/dao-hibernate-db/src/schema/ode-hib-h2.sql"

I am pretty sure Buildr worked towards supporting this before. Any hint to
help me on this ?

Thanks,
Antoine

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message