Re: krysalis-barcode with xalan-j2

Jeremias Maerki <[email protected]> Sun, 26 Oct 2003 12:38:23 +0100
Newsgroups gmane.comp.krysalis.user
Message-ID <[email protected]>
Hello Richard

On 25.10.2003 02:41:19 Richard Prescott wrote:
> Hello everyone,
> 
>   Sorry for this newbie question (not really at the right mailing list I
> know) but I guess to have better result here.

Hey, this IS the right mailing list. :-)

> In exchange for your help I created a .spec file to create rpm for
> krysalis-barcode.  Result is compatible with jpackages.org.

Thanks. Now, if I only knew what to do about that .spec file and how to
test it (because I don't have a Linux box here. I'm currently
downloading Knoppix, though).

> Here it goes :  How can I make the command line of xalan works!
> 
> You can see my guesses in the attached output file called "out".

This is real strange. I'd say this has to work. I've just done the same
on my Windows box again and it worked. Here's my command-line:


------------------ START of console output

D:\krysalis.org\BarCode\examples\xsl-fo>java -cp ..\..\build\krysalis-barcode.jar;..\..\lib\avalon-framework-4.1.4.jar org.apache.xa
lan.xslt.Process -IN barcodes.xml -XSL barcodes2xsl-fo.xsl -OUT foo.out


D:\krysalis.org\BarCode\examples\xsl-fo>dir
 Volume in drive D is Data
 Volume Serial Number is 20E4-8288

 Directory of D:\krysalis.org\BarCode\examples\xsl-fo

26.10.2003  12:34    <DIR>          .
26.10.2003  12:34    <DIR>          ..
04.08.2003  15:47             7'903 barcodes.xml
05.08.2003  16:56             5'052 barcodes2xsl-fo.xsl
02.04.2003  07:47    <DIR>          CVS
26.10.2003  12:34           181'397 foo.out
05.08.2003  17:49             5'409 fop-extension-demo.fo
               4 File(s)        199'761 bytes
               3 Dir(s)   2'246'664'192 bytes free

D:\krysalis.org\BarCode\examples\xsl-fo>

------------------ END of console output

Note: I'm using JDK 1.4.1_03 so I don't need to have Xerces and Xalan in
the classpath explicitely. JDOM, by the way, is not needed for normal
operation, only if you embed Krysalis Barcode in a Java application and
you want to use JDOM instead of a W3C DOM.

Can anybody else check the whole thing on a Linux box? I still have to
wait a few hours until I have my Knoppix ready.

Jeremias Maerki



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/