on my MAC, full path to scomp works fine for me like this
/Volumes/Build/XmlBeans/xmlbeans-2.3.0/bin/scomp -out MyJar.jar
/Volumes/Build/MyLibrary/X/MySchema.xsd
Radu Preotiuc-Pietro wrote:
Hi,
Could there be any problem with permissions, that sort of thing?
I don't have access to a Mac myself, but I expect that once you set the PATH variable like you did, it should be able to find the script like any other Unix.
Radu
-----Original Message-----
From: riya [mailto:[email protected]]
Sent: Tuesday, February 03, 2009 5:18 PM
To: [email protected]
Subject: SCOMP not found on MAC
Hi,
We have started evaluating xmlbeans recently. We tried to
install it on MAC OS X 10.5.6. I unzipped xml bean folder in
/Library and followed these
steps:
1) cd xmlbeans/
./xbeanenv.sh
ant
This generated build folder with mandatory SAXON jars.
2) set the environment variables like below:
export XMLBEANS_HOME=/Library/xmlbeans-2.4.0
export PATH=$PATH:$XMLBEANS_HOME/bin
export
CLASSPATH=$XMLBEANS_HOME/lib/xbean.jar:$XMLBEANS_HOME/lib/jsr1
73_1.0_api.jar:$CLASSPATH
3) Then I tried to test if I could generate the jar file for
one of the schema provided with the source.
Now I opened terminal and tried to execute following
$ cd ../../Library/xmlbeans-2.4.0/samples/XsdConfig/schemas
$ scomp -out catalog.jar catalog.xsd
Above command gives me:
-bash: scomp: command not found
We could easily follow the instructions and generated the JAR
on windows.
But our develpment platform is MAC only. Can someone please
tell if I am missing something.
I need to get it going as soon as possible.
Thanks in advance!
Riya
--
View this message in context:
http://www.nabble.com/SCOMP-not-found-on-MAC-tp21820139p21820139.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]