ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML
Date Thu, 17 Dec 2009 01:25:03 GMT
Hello Tamer,

I suggest you open the ant manual that you can find online, and you look
at the tasks mkdir, unzip, xslt.

Regards,

Antoine

Tamer Demirel wrote:
> Hello,
>
> i like to automatise my transformations xslt and . So i don't want to
> build class files.
> Can somebody give me a short example how i can use ant to achieve it?
> I need the commands or example File.
>
> What i have:
>
> Folder: PROJECT
> Subfolder: RAR (here are my RAR-File)
> Subfolder: XSLT (here are my XSLT-Files)
> Subfolder: XML (here are my XML-Files)
> Subfolder: OUTPUT (here comes the results)
>
> What i need:
>
> 1. I need a Script that creates first the OUTPUT-Folder
>
> 2. Then i must extract from the RAR-File one XML-File and cut and
> paste it in Subfolder OUTPUT
>
> 3. Then i must use XALAN and make the command:
>
> java org.apache.xalan.xslt.Process -in {input-File}-xsl
> {XSLT-File}-out {Output-File}
>
> Then i must do this command x-times. and finish.
>
> Can somebody help me???
> Thx,
> Tamer
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message