Closed AlexProudfoot closed 3 years ago
$ java --version
openjdk 11 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
Saxon version is 6.5.5.
Aha!
> java -cp saxon.jar com.icl.saxon.StyleSheet
No source file name
SAXON 6.5.5 from Michael Kay
Usage: java com.icl.saxon.StyleSheet [options] source-doc style-doc {param=value}...
What has changed?
java -cp saxon.jar com.icl.saxon.StyleSheet
gives an error, but if you look at the report at the top of this issue you’ll note there are backslashes at the line ends, so the source-doc should’ve been ../models/ColdFrameProfile.uml
and the style-doc ../scripts/normalize-profile.xsl
.
The -cp
argument has Windows backslashes, some confusion maybe?
What has changed?
I see, you’re trying out Windows instead of Linux.
Yes. I take it that java needs windows paths since it's a windows application. There's a similar issue with ADA_PROJECT_PATH when using the windows version of GNAT I think.
This works.
$ java -cp D:\\Alex\\Programs\\Cygwin\\Root\\home\\Alex\\saxon\\saxon.jar com.icl.saxon.StyleSheet \
..\\models\\ColdFrameProfile.uml ..\\scripts\\normalize-profile.xsl > ColdFrameProfile.xmi
It looks to me as though back in November 2003 Saxon was available as a self-contained executable on Cygwin/Windows. The latest instant_saxon at Sourceforge is 6.5.3 (August 2003).
Unfortunately, that route is no longer open. Instant Saxon depends on the, now defunct, Microsoft JVM.
Forked ColdFrame so I can work on the makefiles.
On 12 Apr 2021, at 11:37, Alex Proudfoot @.***> wrote:
Forked ColdFrame so I can work on the makefiles.
OK.
I wondered about xsltproc (which AFAICT is available in Cygwin), but it has trouble with some of my scripts.
Fixed. See pull request #16.