xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ludovic.mauril...@saros.fr
Subject executing fop with ant
Date Wed, 05 Jun 2002 09:54:30 GMT

I have in my application a set of FO file, that i have to convert in PDF. I 
would like to do this with ant. so i wrote those lines:

   <apply executable="fop" os="Linux" dest="${build.src}">
     <fileset dir="${src.dir}">
       <include name="**/*.fo"/>
     <mapper type="glob" from="*.fo" to="*.pdf"/>

that runs pretty well. My problem is that when i execute this, it re-create all 
the pdf each time, even if the .fo had not been update! I would like to notify 
to my apply tag that: if the .fo didn't change, don't create the .pdf. In fact, 
I just want to do the same as <javac>, that doesn't compile the .java if it 
still the same. 
Do you follow me ?
Is there anyone having the same problem?
thanks for helping,


             Webmail Saros: http://webmail.saros.fr

View raw message