Error Running Hello World Examples

36 views
Skip to first unread message

Pankaj Bhambhani

unread,
Mar 21, 2013, 2:28:52 PM3/21/13
to Cassovary
Hi,

I am Pankaj, a final year B.Tech. Student from DA-IICT, India.
I am new to Cassovery and was trying it on my Ubuntu. While trying to
run the examples, while running the "build_run_example.sh" when I
encountered the following error

./build_run_example.sh:34 : ./build_run_example.sh : Syntax error :
"(" unexpected

Line 34 of the script is as follows

JAVA_CP=(
$(find $root/target -name 'cassovary*.jar') \
$HOME/.sbt/boot/scala-2.8.1/lib/scala-library.jar \
$(find $root/lib_managed/jars/ -name '*.jar')
)

Any help would be appreciated.

Thanks,
Pankaj Bhambhani.

Mohit Singh

unread,
Mar 21, 2013, 2:39:01 PM3/21/13
to twitter-...@googlegroups.com
Hey. I just got the same error :D
Try running with bash build_run_examples.sh
Though it throws another error.. :P

Pankaj Bhambhani

unread,
Mar 21, 2013, 2:45:38 PM3/21/13
to Cassovary
Note that running the same line directly on the terminal gives no
errors - the variable JAVA_CP is updated with the cassovary jar file.

Ajeet Grewal

unread,
Mar 21, 2013, 10:08:12 PM3/21/13
to twitter-...@googlegroups.com
Weird, this works for me. Can you try updating the first line in the file from "#! /bin/sh" to "#! /bin/bash" ? Try using whatever shell you are running.


--
You received this message because you are subscribed to the Google Groups "Cassovary" group.
To unsubscribe from this group and stop receiving emails from it, send an email to twitter-cassov...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Regards,
Ajeet

Pankaj Bhambhani

unread,
Mar 23, 2013, 5:06:28 AM3/23/13
to Cassovary
Changing the first line to "#! /bin/bash" did the trick. Thanks a
lot :)

On Mar 22, 7:08 am, Ajeet Grewal <aj...@twitter.com> wrote:
> Weird, this works for me. Can you try updating the first line in the file
> from "#! /bin/sh" to "#! /bin/bash" ? Try using whatever shell you are
> running.
>

Pankaj Gupta

unread,
Mar 23, 2013, 2:43:10 PM3/23/13
to twitter-...@googlegroups.com, Cassovary
Feel free to submit a pull request.

Pankaj

Pankaj Bhambhani

unread,
Mar 24, 2013, 12:12:19 PM3/24/13
to Cassovary
Pull Request Submitted

On Mar 23, 11:43 pm, Pankaj Gupta <pan...@yogins.com> wrote:
> Feel free to submit a pull request.
>
> Pankaj
>
Reply all
Reply to author
Forward
0 new messages