"David P. Cunningham" wrote:

> Which version of xalan has the bug fix and the Compile class?

Both would be satified with the current build.

Tom

>
>
> -----Original Message-----
> From: Tom Amiro [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 16, 2001 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Translets Newbie
>
> Hi,
>
> "David P. Cunningham" wrote:
>
> > Is there any examples out on the web anywhere or could anyone give me
> advice
> > on compiling stylesheets. I have a full directory structure of stylesheets
> > that I want to compile and put into a package structure just like the
> > directory structure is now in one batch process.
>
> You can use the command-line for XSLTC. From each directory, do
>
>     java -cp $CLASSPATH org.apache.xalan.xsltc.compiler.XSLTC -p
> <packagename> -j <jarfilename> *.xsl
>
> Or if you have the latest build,
>
>        java -cp $CLASSPATH org.apache.xalan.xsltc.cmdline.Compile -p
> <packagename> -j <jarfilename.jar> *.xsl
>
> Note: the options must come before the *.xsl.
>
> This will create a jar file with all the compiled translets in the package
> structure you specify.
>
> Afterward, you can copy all the jars to a /tmp directory, unjar them and
> re-jar them,
> using the "jar" command to create one big jar file with all the translets in
> the different
> packages you want.
>
> > Also I have seen some
> > problems where the compiler fails because of unknown variables which have
> > been set up in included files. Has anyone seen this or know what the
> problem
> > is??
>
> That sounds similar to bug 1487
>
>     http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=1487
>
> which has been fixed since 5-17-01. Otherwise, we don't have any
> open bugs on such problems with variables. You could send me
> simple stylesheet(s) to rerpoduce the problem.
>
> Tom
>
> > I would have assumed that the compiler would also compile any
> > dependency or included files.
> >
> > Any help would be appreciated.
> >
> > Thanks, david

Reply via email to