[oXygen-user] running the flattenSchemaMac.sh script

Oxygen XML Editor Support (Adrian Buza) support at oxygenxml.com
Fri Jun 6 02:22:29 CDT 2014


Hello,

'source' does not seem to be able to interpret some of the commands from 
the bash script.
Please use 'sh' (or '/bin/sh') instead of 'source' as the instructions 
recommend.
e.g.
sh /Applications/oxygen/flattenSchemaMac.sh ...

Regards,
Adrian

Adrian Buza
oXygen XML Editor and Author Support

Tel: +1-650-352-1250 ext.2020
Fax: +40-251-461482
support at oxygenxml.com
http://www.oxygenxml.com


On 05.06.2014 22:30, Tara Athan wrote:
> I have oXygen 14.2, and I am trying to run the script to flatten xsd
> files. When I try to run it I get the following error message:
>
> source /Applications/oxygen/flattenSchemaMac.sh
> -in:/Users/taraathan/Repositories/LegalRuleMLSVN/legalruleml/trunk/schemas/temp/local.xsd
> -outDir:/Users/taraathan/Repositories/LegalRuleMLSVN/legalruleml/trunk/schemas/xsd/xsd-normal
>
> dirname: illegal option -- b
> usage: dirname path
> basename: illegal option -- b
> usage: basename string [suffix]
>          basename [-a] [-s suffix] string [...]
> Error: Could not find or load main class
> ro.sync.exml.editor.xsdeditor.pagetext.actions.FlatXmlSchema
>
>
> Any suggestions would be appreciated.
>
> Thanks, Tara
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>




More information about the oXygen-user mailing list