{"action":"created","issue":{"url":"https://api.github.com/repos/binduwavell/generator-alfresco/issues/44","repository_url":"https://api.github.com/repos/binduwavell/generator-alfresco","labels_url":"https://api.github.com/repos/binduwavell/generator-alfresco/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/binduwavell/generator-alfresco/issues/44/comments","events_url":"https://api.github.com/repos/binduwavell/generator-alfresco/issues/44/events","html_url":"https://github.com/binduwavell/generator-alfresco/issues/44","id":143826876,"number":44,"title":"yo alfresco for 2.2.0 SDK is producing a project that fails to start","user":{"login":"binduwavell","id":115754,"avatar_url":"https://avatars.githubusercontent.com/u/115754?v=3","gravatar_id":"","url":"https://api.github.com/users/binduwavell","html_url":"https://github.com/binduwavell","followers_url":"https://api.github.com/users/binduwavell/followers","following_url":"https://api.github.com/users/binduwavell/following{/other_user}","gists_url":"https://api.github.com/users/binduwavell/gists{/gist_id}","starred_url":"https://api.github.com/users/binduwavell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binduwavell/subscriptions","organizations_url":"https://api.github.com/users/binduwavell/orgs","repos_url":"https://api.github.com/users/binduwavell/repos","events_url":"https://api.github.com/users/binduwavell/events{/privacy}","received_events_url":"https://api.github.com/users/binduwavell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/binduwavell/generator-alfresco/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/binduwavell/generator-alfresco/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"vprince1","id":11996632,"avatar_url":"https://avatars.githubusercontent.com/u/11996632?v=3","gravatar_id":"","url":"https://api.github.com/users/vprince1","html_url":"https://github.com/vprince1","followers_url":"https://api.github.com/users/vprince1/followers","following_url":"https://api.github.com/users/vprince1/following{/other_user}","gists_url":"https://api.github.com/users/vprince1/gists{/gist_id}","starred_url":"https://api.github.com/users/vprince1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vprince1/subscriptions","organizations_url":"https://api.github.com/users/vprince1/orgs","repos_url":"https://api.github.com/users/vprince1/repos","events_url":"https://api.github.com/users/vprince1/events{/privacy}","received_events_url":"https://api.github.com/users/vprince1/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-03-27T16:48:37Z","updated_at":"2016-04-13T02:09:09Z","closed_at":null,"body":"I validated that a project created using the same mvn command as the generator uses produces a project that can be run. Here is the mvn command:\r\n\r\n```bash\r\nmvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=org.alfresco.maven.archetype -DarchetypeArtifactId=alfresco-allinone-archetype -DarchetypeVersion=2.2.0 -DgroupId=org.alfresco -DartifactId=yoalf220 -Dversion=1.0.0-SNAPSHOT -Dpackage=org.alfresco\r\n```\r\n\r\nWhen using `yo alfresco` and the 2.2.0 SDK, there are multiple issues reported in the logs. I didn't capture them and have to leave where I am so can't reproduce right now.\r\n\r\nIt appears that some of the changes we make must be breaking the project."},"comment":{"url":"https://api.github.com/repos/binduwavell/generator-alfresco/issues/comments/209193829","html_url":"https://github.com/binduwavell/generator-alfresco/issues/44#issuecomment-209193829","issue_url":"https://api.github.com/repos/binduwavell/generator-alfresco/issues/44","id":209193829,"user":{"login":"binduwavell","id":115754,"avatar_url":"https://avatars.githubusercontent.com/u/115754?v=3","gravatar_id":"","url":"https://api.github.com/users/binduwavell","html_url":"https://github.com/binduwavell","followers_url":"https://api.github.com/users/binduwavell/followers","following_url":"https://api.github.com/users/binduwavell/following{/other_user}","gists_url":"https://api.github.com/users/binduwavell/gists{/gist_id}","starred_url":"https://api.github.com/users/binduwavell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binduwavell/subscriptions","organizations_url":"https://api.github.com/users/binduwavell/orgs","repos_url":"https://api.github.com/users/binduwavell/repos","events_url":"https://api.github.com/users/binduwavell/events{/privacy}","received_events_url":"https://api.github.com/users/binduwavell/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T02:09:09Z","updated_at":"2016-04-13T02:09:09Z","body":"@vprince1 I was about to close this and then I discovered something kinda yucky. It appears that something in the 2.2.0 SDK is attempting to make the run.sh script executable. Since we explicitly remove run.sh in favor of the more accurate run-without-springloaded.sh, we can't start the repo until we have a file in the root named run.sh... I guess the right thing to do for 2.2.0 SDK is replace the contents of run.sh with something like `echo This version of the sdk does not work with spring-loaded, please use the run-without-springloades.sh script`."}}