Glen Mazza wrote:
--- Miroslav Pukhalsky <[EMAIL PROTECTED]>
wrote:
Hi there!
Glen Mazza wrote:
Looks like an Apache Ant task. Look at the
example at
the bottom of [1].
[1] http://xml.apache.org/fop/anttask.html
Glen
Thanks, but ANT is out law :(
Miroslav
That's quite unfortunate, as Ant is an excellent
productivity tool. I would try to get your company to
reconsider.
Anyway, I think your next step may be to start looking
at writing your own Java program using JAXP to process
all those files. The Embed[1] page on our website
should be of help.
Glen
[1] http://xml.apache.org/fop/embedding.html
Far too late, perhaps, but this gives you a starting block.
Regards,
Per Gunnar Hans�
package no.prokonsult;
import org.apache.fop.apps.Fop;
/*
* Created on 24.jan.2005
*
*/
/**
* @author Per Gunnar Hans�
*
*/
public class FO2PDF {
public static void main(String[] args) {
long start = System.currentTimeMillis();
for (int i = 0; i < 1; i++) {
String[] newArgs = { "-fo", "RettmedLop" + i + ".fo", "-pdf", "RettmedLop" + i + ".pdf" };
Fop.main(newArgs);
}
long stop = System.currentTimeMillis();
System.out.println("Duration: " + (stop - start) + " milliseconds");
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]