Re: svn commit: r675698 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/cli: CommandLineOptions.java InputHandler.java Main.java

2008-07-11 Thread Vincent Hennebert
Hi Jeremias, Author: jeremias Date: Thu Jul 10 12:47:12 2008 New Revision: 675698 URL: http://svn.apache.org/viewvc?rev=675698view=rev Log: Added support for piping: - input from stdin (-imagein not supported) - output to stdout Syntax: fop -xml # -xsl mystylesheet.xsl -pdf # (reads

Re: svn commit: r675698 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/cli: CommandLineOptions.java InputHandler.java Main.java

2008-07-11 Thread Jeremias Maerki
Hi Vincent Certainly not, but you'll probably have to do a few more changes to the command-line parser to be able to use the -. You'll see. ;-) On 11.07.2008 12:01:24 Vincent Hennebert wrote: Hi Jeremias, Author: jeremias Date: Thu Jul 10 12:47:12 2008 New Revision: 675698 URL:

Re: svn commit: r675698 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/cli: CommandLineOptions.java InputHandler.java Main.java

2008-07-11 Thread Max Berger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vincent, it may (or may not) make sense to move to commons-cli: http://commons.apache.org/cli/introduction.html which addresses this (and other problems) very well, but this would mean a lot more work. Max Jeremias Maerki schrieb: Hi Vincent

Re: svn commit: r675698 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/cli: CommandLineOptions.java InputHandler.java Main.java

2008-07-11 Thread Jeremias Maerki
commons-cli is quite nice. I use it in Barcode4J. It could simplify the cli package a bit but would add a new dependency. Not sure if it's worth it. On 11.07.2008 13:29:43 Max Berger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vincent, it may (or may not) make sense to move to

Re: svn commit: r675698 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/cli: CommandLineOptions.java InputHandler.java Main.java

2008-07-11 Thread Peter B. West
I can recommend it. Max Berger wrote: Vincent, it may (or may not) make sense to move to commons-cli: http://commons.apache.org/cli/introduction.html which addresses this (and other problems) very well, but this would mean a lot more work. Max -- Peter B. West http://cv.pbw.id.au/ Folio