Hi Max,

the problem is that Ubuntu inserts the wrapper scripts to call the sdk commands. Commands are renamed with extension .bin and the scripts take the place of the commnds. So the plugin calls the scripts with an environment which is customized for the commands. This environment does not contain a path to call "basename", so it is simply not found and calling uno-skeletonmaker.bin fails because the name is not constructed correctly. Now that I know it, I can easily extend the plugin to be aware of this and work correctly on Ubuntu. Would you like to write me a bug for it?

Regards, Steffen

Max Giesbert wrote:


CRITICAL   # org.openoffice.extensions.util.ProjectCreator,line 486:
/usr/lib/openoffice/sdk/linux/bin/uno-skeletonmaker: 4: basename: not found
/usr/lib/openoffice/sdk/linux/bin/uno-skeletonmaker: 4:
/usr/lib/openoffice/sdk/linux/bin/.bin: not found
--->this happened with the Ubuntu SDK

--->then i changed /usr/lib/openoffice/sdk/linux/bin/uno-skeletonmaker from

#!/bin/sh
# wrapper script for OOos SDK programs

LD_LIBRARY_PATH=/usr/lib/openoffice/program
/usr/lib/openoffice/sdk/linux/bin/`basename $0`.bin "$@"

--->to

#!/bin/sh
# wrapper script for OOos SDK programs

LD_LIBRARY_PATH=/usr/lib/openoffice/program
/usr/lib/openoffice/sdk/linux/bin/uno-skeletonmaker.bin "$@"


Maybe you can enlighten me what exactly went wrong in the first place
because I don't really get it.

Thx

Max


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

Reply via email to