Compiling directedgraph sample

2 views
Skip to first unread message

Jan van Mansum

unread,
Feb 22, 2010, 8:05:20 AM2/22/10
to CAL Language Discussion
Hello group,

I am trying to compile the directedgraph sample but it doesn't work.
I have copied the exact command line from the documentation but quarkc
complains about "not enough arguments". I have also tried the ant
script, but it doesn't have the necessary jars on the class path. I
tried just putting the stuff in bin/java/release and lib/Resources/
External/java on the classpath but then the workspace file is not
found, even if I refer to it with an absolute path. Thanks in advance
for any help.

Regards,

Jan van Mansum.

Richard Webster

unread,
Mar 4, 2010, 3:06:29 PM3/4/10
to CAL Language Discussion
Hi Jan,

I tried building the directedgraph sample on my Mac using quarkc.sh
and it worked for me.
Are you using Windows or Unix/Mac?

Also, the document includes 2 backslashes in the command (to indicate
line continuation).
You may want to remove these backslashes when you enter the command.
It worked for me either way on the Mac, but Windows behaves
differently.

The commands to build this stand-alone JAR using quarkc should be:

(Windows)
quarkc cal.samples.cws -lib Cal.Samples.DirectedGraphLibrary public
org.openquark.cal.samples.directedgraph.DirectedGraphLibrary
directedgraph.jar -src directedgraph.src.zip

(Unix/Linux/Mac)
./quarkc.sh cal.samples.cws -lib Cal.Samples.DirectedGraphLibrary
public org.openquark.cal.samples.directedgraph.DirectedGraphLibrary
directedgraph.jar -src directedgraph.src.zip

Thanks
Richard Webster

Reply all
Reply to author
Forward
0 new messages