Subject: Running XT on a Mac From: "Chuck White" <chuck@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 08 Jun 1999 16:48:39 -0700 |
As many on this list know, the Mac doesn't have a command line for running XT, so I downloaded the newest iteration of the Mac Java SDK to see if there was a way to run it. It's at: http://developer.apple.com/java/ This has the basic java stuff like javac and javadoc, but there is still no command line application runner so you have to jump through a few hoops to get XT going. I've jumped through a couple of hoops but now am stuck in the last one, I think. I've at least got the JBindery program to read the XT jar package's main class file, I believe. What happens though is that the result file that is generated is empty. I'm using James Clark's demo files for source and stylesheet, so I know it's not my lousy XSL writing skills (besides, I've used XT on the PC and know it should give me a message telling me where I screwed up). And when I leave out the parameters for the command line, I get the usual java usage stdout (in XT's case I get: usage: java com.jclark.xsl.sax.Driver source stylesheet [result]). This tells me I'm at least getting the program to read the main class file (i think). I left out the parameters on purpose just to see if I could get a message stdout to print to a file (it prints to screen but then immediately quits, so I had it print to file). The MacJava SDK version 2.1 comes with a program called JBindery, which is supposed to act as a command-line implementation through a GUI. But it's not a true command line implementation so it's not possible to just paste the command line I'm using into this e-mail so that someone can show me where I am going astray. But as I said, I don't think it's a class path problem. So I'd like to show how I got to this point, and if anybody knows anything about Mac implementations of Java, and particular XT, I would love some feedback (help): In JBindery under Classpath I pick the jar files I want to use (like XP and XT). Under "Command", I provide the name "com.jclark.xsl.sax.Driver". "Command" acts as the command line, I guess (well, part of it anyway). But you have to set the Sax driver property somewhere else, under "Properties". I'm thinking this is where the problems are, but I don't know. I'm a little confused about what Sax driver I should be using for the Mac anyway (I used com.jclark.xml.sax.Driver as a guess). Has anyone out there had any success with what I'm trying to do? Or is there something really obvious that I'm missing? I have a variety of reasons for wanting to run XT on the Mac, which I won't bother going into. any help would be greatly appreciated. thanks, Chuck White Creative Director Advance Recruitment Advertising, Inc. chuck@xxxxxxxxxxxxxxxxxxxxxx http://www.advancerecruitment.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: comparing the attribute values, Kay Michael | Thread | Correction, Chuck White |
Inquiry: XSL Processor Engines, Aaron Fischer | Date | Correction, Chuck White |
Month |