There are a couple exceedingly odd bugs while running
under unix. The one that's baffling is this one:
[apowers@homenet2 sheets]$ java -Xmx128m -classpath
$JAVA_HOME/lib/tools.jar:tools/ant.jar
org.apache.tools.ant.Main -emacs opendev
Buildfile: build.xml
opendev:
Launching sheets...
*** Hitting compile inside sheets: ***
Executing ant.bat compile -- output follows:
Execution of ant.bat compile failed to start:
java.io.IOException: java.io.IOException: ant.bat: not
found
(Note that ant.bat does exist, but it won't work under
unix).
This makes no sense. We're looking for ant.bat. The
wierd part is that no files we're using contain the
text "ant.bat" so I can't find a way to fix this
problem! Where's it getting called from?
The other bug will be filed separately.
Logged In: YES
user_id=338208
Correction: The .sheetsrc file includes two references to
ant.bat.
Changing these works.
However, for cross-platform compatibility, .sheetsrc should
not use "ant.bat" as a reference for compiling. It would be
nice if it optionally spontaneously generated the command
found in "ant.bat" and "ant" to do this. Alternatively, a
new "antCompile.bat" could be created and we could change
the command in .sheetsrc to "../antCompile.bat", sorta...
Logged In: YES
user_id=338208
Fixed by making it automatically search for the appropriate
"ant.bat" or "ant.sh" or "ant" as long as the .sheetsrc
command is "ant"