Because the main class is not org.apache.fop.apps.Fop anymore, but
org.apache.fop.cli.Main now. If you want to know how the command-line
should look, look at fop.bat in the root directory of the FOP
distribution. If you use that batch file, everything will work fine.

On 31.01.2006 09:38:40 jelka.kosir wrote:
> Hi all!
> 
> I was just wondering, how could I use fop beta from Command prompt.
> 
> In 0.20.5 version I used this line:
> 
> java -cp "C:\fopdir\fop.jar;C:\xalandir\xalan.jar" org.apache.fop.apps.Fop 
> -c "C:\configdir\config.xml" -xml "C:\xmldir\test.xml" -xsl 
> "C:\xsldir\test.xsl" -pdf "C:\pdfdir\test.pdf"
> 
> Now with the beta/Trunk version I notice this line retrieves error 
> "Exception in thread "main" java.lang.NoSuchMethodError: main"
> 
> How should my Command line call look in the new beta/Trunk version?
> 
> Thank You
> 
> Jelka



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to