{"action":"created","issue":{"url":"https://api.github.com/repos/adamw/elasticmq/issues/42","labels_url":"https://api.github.com/repos/adamw/elasticmq/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/adamw/elasticmq/issues/42/comments","events_url":"https://api.github.com/repos/adamw/elasticmq/issues/42/events","html_url":"https://github.com/adamw/elasticmq/issues/42","id":58619776,"number":42,"title":"Instructions to Run From Source","user":{"login":"cancan101","id":51059,"avatar_url":"https://avatars.githubusercontent.com/u/51059?v=3","gravatar_id":"","url":"https://api.github.com/users/cancan101","html_url":"https://github.com/cancan101","followers_url":"https://api.github.com/users/cancan101/followers","following_url":"https://api.github.com/users/cancan101/following{/other_user}","gists_url":"https://api.github.com/users/cancan101/gists{/gist_id}","starred_url":"https://api.github.com/users/cancan101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cancan101/subscriptions","organizations_url":"https://api.github.com/users/cancan101/orgs","repos_url":"https://api.github.com/users/cancan101/repos","events_url":"https://api.github.com/users/cancan101/events{/privacy}","received_events_url":"https://api.github.com/users/cancan101/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T17:34:17Z","updated_at":"2015-02-23T19:22:17Z","closed_at":null,"body":"I am trying to use `sbt` to run this from source. Within the shell I am running `run` but I get:\r\n```\r\n> run\r\n[warn] Credentials file /Users/alex/.ivy2/.credentials does not exist\r\njava.lang.RuntimeException: No main class detected.\r\n\tat scala.sys.package$.error(package.scala:27)\r\n[trace] Stack trace suppressed: run last elasticmq-root/compile:run for the full output.\r\n[error] (elasticmq-root/compile:run) No main class detected.\r\n[error] Total time: 0 s, completed Feb 23, 2015 12:33:18 PM\r\n```\r\nalternatively, how do I create a JAR like the one posted in the README?"},"comment":{"url":"https://api.github.com/repos/adamw/elasticmq/issues/comments/75612137","html_url":"https://github.com/adamw/elasticmq/issues/42#issuecomment-75612137","issue_url":"https://api.github.com/repos/adamw/elasticmq/issues/42","id":75612137,"user":{"login":"adamw","id":60503,"avatar_url":"https://avatars.githubusercontent.com/u/60503?v=3","gravatar_id":"","url":"https://api.github.com/users/adamw","html_url":"https://github.com/adamw","followers_url":"https://api.github.com/users/adamw/followers","following_url":"https://api.github.com/users/adamw/following{/other_user}","gists_url":"https://api.github.com/users/adamw/gists{/gist_id}","starred_url":"https://api.github.com/users/adamw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamw/subscriptions","organizations_url":"https://api.github.com/users/adamw/orgs","repos_url":"https://api.github.com/users/adamw/repos","events_url":"https://api.github.com/users/adamw/events{/privacy}","received_events_url":"https://api.github.com/users/adamw/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T19:22:17Z","updated_at":"2015-02-23T19:22:17Z","body":"You have to switch to the `elasticmq-server` project, which contains the main class. So:\r\n```\r\n> project elasticmq-server\r\n> run\r\n```\r\n\r\nor in one command: `elasticmq-server/run`.\r\n\r\nTo create a fat-jar, you need to run `assembly` also while in the `elasticmq-server` sub-module.\r\n\r\nHope that helps!"}}