Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build errors when I try twitter-demo #5

Closed
sanity opened this issue May 30, 2011 · 3 comments
Closed

Build errors when I try twitter-demo #5

sanity opened this issue May 30, 2011 · 3 comments

Comments

@sanity
Copy link
Owner

sanity commented May 30, 2011

Just did a pull, last commit is:

commit 4fe3d02
Author: James Earl Douglas james@earldouglas.com
Date: Mon May 30 10:23:11 2011 -0700

extract RefMap into its own class file

I then try the Twitter demo, but get the following errors:

$ sbt

twitter-demo
[info]
[info] == twitter-demo ==
[info] Source analysis: 1 new/modified, 0 indirectly invalidated, 0 removed.
[info] Compiling main sources...
[error] /Users/ian/workspace/Swarm/swarm-twitter/node1/src/main/scala/swarm/twitter/SwarmTwitter.scala:3: not found: type SwarmTwitterTemplate
[error] class SwarmTwitter extends SwarmTwitterTemplate("node1", 9998, 9997)
[error] ^
[error] /Users/ian/workspace/Swarm/swarm-twitter/node1/src/main/scala/swarm/twitter/SwarmTwitter.scala:3: too many arguments for constructor Object: ()java.lang.Object
[error] class SwarmTwitter extends SwarmTwitterTemplate("node1", 9998, 9997)
[error] ^
[error] two errors found
[info] Source analysis: 1 new/modified, 0 indirectly invalidated, 0 removed.
[info] Compiling main sources...
[error] /Users/ian/workspace/Swarm/swarm-twitter/node2/src/main/scala/swarm/twitter/SwarmTwitter.scala:3: not found: type SwarmTwitterTemplate
[error] class SwarmTwitter extends SwarmTwitterTemplate("node2", 9997, 9998)
[error] ^
[error] /Users/ian/workspace/Swarm/swarm-twitter/node2/src/main/scala/swarm/twitter/SwarmTwitter.scala:3: too many arguments for constructor Object: ()java.lang.Object
[error] class SwarmTwitter extends SwarmTwitterTemplate("node2", 9997, 9998)
[error] ^
[error] two errors found
[info] == twitter-demo ==
[success] Successful.

@earldouglas
Copy link
Collaborator

The twitter-demo command does not have an implicit compile command built-in, though this would be very nice to have.

Try running compile first:

$ sbt

compile
twitter-demo

@sanity sanity closed this as completed May 30, 2011
@sanity
Copy link
Owner Author

sanity commented May 30, 2011

I'm an idiot, I assumed that running the demo would trigger recompilation.

Ian.

On Mon, May 30, 2011 at 3:11 PM, JamesEarlDouglas <
reply@reply.github.com>wrote:

The twitter-demo command does not have an implicit compile command
built-in, though this would be very nice to have.

Try running compile first:

$ sbt

compile
twitter-demo

Reply to this email directly or view it on GitHub:
#5 (comment)

Ian Clarke
CEO, Uprizer Labs LLC
Email: ian@uprizer.com
Ph: +1 512 422 3588

@earldouglas
Copy link
Collaborator

I updated the sbt configuration so that running twitter-demo automatically runs compile when necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants