Re: [ERROR] Don't know what to do with

2002-07-10 Thread Arnd Beißner

> e are having a problem using FOP on a suse shell system.
> first of all we wrote a batchfile containinng the following:
>
> java -cp
>./build/fop.jar:./lib/batik.jar:./lib/xalan-2.0.0.jar:./lib/xerces-1.2.3.jar:./lib/avalon-framework-4.0.jar:./lib/logkit-1.0.jar:./lib>
> 
/jimi-1.0.jar org.apache.fop.apps.Fop $1 $2 $3 $4 $5 $6 $7 $8

1. Improvement, not a problem here: use $* instead of $1 $2 $3 etc.
2. Check that you don't have a linebreak after "java -cp". If you're 
working
   with Suse Linux, chances are you're editing the shellscript with the 
pico editor.
   This one has the annoying behaviour of breaking long lines as soon as 
you edit them...

Arnd Beissner
--
Cappelino Informationstechnologie GmbH
Arnd Beißner
Bahnhofstr. 3, 71063 Sindelfingen, Germany
Email: [EMAIL PROTECTED]
Phone: +49-7031-463458
Fax: +49-7031-463460
Mobile: +49-173-3016917


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




Re: [ERROR] Don't know what to do with

2002-07-10 Thread J.Pietschmann

FOP project-Vienna wrote:
> we get an error message saying:
> [ERROR] don't know what to do with
> 
> can anyone help? are the spacers not correct in linux? whate else can we
> use? please ...

The error messages indicates there is an empty parameter
or a parameter consisting of whitespace only passed to
the FOP main().
There could be any number of reasonst for it, including JVM
bugs. The most probably reason is that you prepared the
shell script on a Windows system, and it is still in DOS
format. This causes a CR passed as a parameter. Load
the file in a hex editor and check whether it contains
0x0D bytes, and run dos2unix or a similar program in this
case.

J.Pietschmann





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




Re: [ERROR] Don't know what to do with

2002-07-10 Thread Oleg Tkachenko

FOP project-Vienna wrote:

> we are having a problem using FOP on a suse shell system.
> first of all we wrote a batchfile containinng the following:
> 
> java -cp
> 
>./build/fop.jar:./lib/batik.jar:./lib/xalan-2.0.0.jar:./lib/xerces-1.2.3.jar:./lib/avalon-framework-4.0.jar:./lib/logkit-1.0.jar:./lib/jimi-1.0.jar
> org.apache.fop.apps.Fop $1 $2 $3 $4 $5 $6 $7 $8
> 
> when calling this batchfile e.g. with files in the same directory like:
> 
> fop.sh border.fo -pdf myfirst.pdf
> 
> we get an error message saying:
> [ERROR] don't know what to do with
> 
> can anyone help? are the spacers not correct in linux? whate else can we
> use? please ...

Just curious: why don't you use fop.sh script which come with fop?

-- 
Oleg Tkachenko
Multiconn International, Israel


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




[ERROR] Don't know what to do with

2002-07-10 Thread FOP project-Vienna

hi there,

we are having a problem using FOP on a suse shell system.
first of all we wrote a batchfile containinng the following:

java -cp
./build/fop.jar:./lib/batik.jar:./lib/xalan-2.0.0.jar:./lib/xerces-1.2.3.jar:./lib/avalon-framework-4.0.jar:./lib/logkit-1.0.jar:./lib/jimi-1.0.jar
 org.apache.fop.apps.Fop $1 $2 $3 $4 $5 $6 $7 $8

when calling this batchfile e.g. with files in the same directory like:

fop.sh border.fo -pdf myfirst.pdf

we get an error message saying:
[ERROR] don't know what to do with

can anyone help? are the spacers not correct in linux? whate else can we
use? please ...

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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