Personally, I use Xalan, although oddly enough I don't use the style task
very often myself. (But I'm biased, since I work on Xalan... 8-)
Note that some modern JDK's include a copy of JAXP in the lib/ext directory
or in some cases inside the rt.jar (like some of Sun's JDK 1.4.x betas);
this
Indeed, Xalan-J 1.x is no longer officially supported. Someone should
consider updating whoever's code this is to use the equivalent Xalan-J 2.x
code. XSLTProcessorFactory was a Xalan-J 1.x class, and it used it's own
API to do stylesheet transformations; it is no longer available in Xalan-J
Indeed, Xalan relies on the XML parser currently being used (Xalan doesn't
necessarily know which JAXP-compatible parser is being used; we normally
don't care) to support XML Namespaces, since otherwise we cannot process
XSL stylesheets. Common problems include using an older parser that may
Yes, but in my case I'm doing the condition... in the middle of a target
that both gets called by other targets and calls other targets (because I'm
trying to re-use worker targets that execute things; I re-call them with
different params at various times). So I don't (yet*) see an easy way to
Thanks to both for the suggestions, however I'm looking for something
that's done within Ant, so I can be cross-platform and avoid any extra
maintenance cost of external files. (Yes, I know of various sh-utils for
Windows, but I don't want to ask users to have to install them, etc.)
The right
Also: Re: java task files on standard input
So, basically, there's no way in an Ant build file to force a core task
that takes a command line argument to read (something) from standard input,
is there? I'm looking for simple, and have no wish to write my own task
for this; if it's not part of
OK, I'm cross-posting cause this question has been bugging me for a while,
and I think the answer is within Ant.
ant-user denizens: any clues? (please cc: me directly as I'm not currently
on ant-user; I'll summarize for xalan-dev as needed).
We occasionally get users complaining that they can't
Sorry, my bad. Specific versions of software for the below problem are:
Xalan .zip distros were created with:
Ant version 1.2rc2 compiled on October 19 2000
WinNT 4.0 SP5/SP6 systems
java version "1.2.2" Classic VM (build JDK-1.2.2-W, native threads,
symcjit)
Zip programs that do not work