http://code.google.com/p/swarm-dpl/wiki/GettingStarted
I'd love to get some feedback on whether someone (other than me) can
get Swarm up and running.
Ian.
--
Ian Clarke
CEO, Uprizer Labs
Email: i...@uprizer.com
Ph: +1 512 422 3588
Fax: +1 512 276 6674
Build gave one warning
>./build.sh
mkdir: cannot create directory `bin': File exists
Test worked!
Patrick
http://code.google.com/p/swarm-dpl/issues/detail?id=1
and came up with a fix.
The only thing I'd mention is that the continuations plugin is
dependent on Java6.
Eric
> The only thing I had to do was mkdir Swarm/target/classes. (I'm
> guessing the empty directory problem struck again)
No, that was my fault. I'd told Ian that Maven wrote to target/, but
actually target is for all build artifacts, and classes go to
target/classes. I had missed adding /classes to the top part of the
build script. Just fixed it, thanks for letting us know.
Glad it worked for you.
Cheers
Patrick
It sounds like scalac isn't finding the plugin jar. Do you have the
SCALA_HOME
and
SCALA_C_DIR
environment variables set?
I just tried rebuilding continuations and I had to provide
-Dscala.home when I didn't have SCALA_HOME env variable set.
What platform are you running this on?
Thanks,
Eric
The scala.continuations package is part of the selectivecps-library.jar.
What do you get for
jar tf $SCALA_C_DIR/build/pack/selectivecps-library.jar
Patrick
the library looks correct. It's added to the classpath in the build.sh
script, explicitly
#!/bin/bash
if [ ! -d target/classes ]
then
mkdir -p target/classes
fi
scalac -cp $SCALA_C_DIR/build/pack/selectivecps-library.jar \
-unchecked \
-Xpluginsdir $SCALA_C_DIR/build/pack \
-sourcepath src/main/scala -d target/classes \
`find src/main/scala -name '*.scala'`
Try adding -verbose after the scalac command in the build.sh script
scalac -verbose -cp ...
You'll probably want to pipe the output somewhere.
The other thing to double-check is that you're running the right build
of Scala itself. Try
$SCALA_HOME/bin/scala
and see what you get.
Patrick