Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: Running ANT on Linux

Robert Koberg

2008-04-24

Replies: Find Java Web Hosting

Author LoginPost Reply

On Thu, 2008-04-24 at 19:48 +0100, Dave Pawson wrote:
> On 24/04/2008, bgolman <b_golman@(protected):
> >
> > Hello everyone!
> >
> > I need your help on running the ant task on Linux box. It might sound simple
> > (and so it was for me), however, things turned out to be rather ugly. Any
> > kind of help is appreciated. Now, here's what I'm trying to do:
> >
> > Suppose I have a build.xml script, which includes a following task:
> >
> > <xslt basedir="..."
> > destdir="..."
> > includes="*.*"
> > extension=".xml
> > style="ContentCleanup.xsl">
> >
> > Basically, what it supposed to is to grab all the XML files from the base
> > directory, run it through the aforementioned XSL file and output the results
> > to the destination directory.
>
> That isn't valid with XSLT engines according to the W3C rec. Needs an engine
> that supports it. It is viable with Saxon, maybe with Xalan I don't know.

Not really sure what you mean by this. Of course it will work using ant.

Don't know why things are running slower on linux. I have always found
it to be much faster (assuming same hardware).

> Slow transforms could be due to you running with the default installed
> java rather than Sun java, I found that slow.
>
> Another option would be to write an XML file which lists the files to
> be transformed, then use the document() xpath call to process them all.
>
> HTH
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.