{"action":"created","issue":{"url":"https://api.github.com/repos/DSpace-Labs/SAFBuilder/issues/13","repository_url":"https://api.github.com/repos/DSpace-Labs/SAFBuilder","labels_url":"https://api.github.com/repos/DSpace-Labs/SAFBuilder/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/DSpace-Labs/SAFBuilder/issues/13/comments","events_url":"https://api.github.com/repos/DSpace-Labs/SAFBuilder/issues/13/events","html_url":"https://github.com/DSpace-Labs/SAFBuilder/issues/13","id":151565819,"number":13,"title":"SAFbuilder error","user":{"login":"ialiraza","id":18714888,"avatar_url":"https://avatars.githubusercontent.com/u/18714888?v=3","gravatar_id":"","url":"https://api.github.com/users/ialiraza","html_url":"https://github.com/ialiraza","followers_url":"https://api.github.com/users/ialiraza/followers","following_url":"https://api.github.com/users/ialiraza/following{/other_user}","gists_url":"https://api.github.com/users/ialiraza/gists{/gist_id}","starred_url":"https://api.github.com/users/ialiraza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ialiraza/subscriptions","organizations_url":"https://api.github.com/users/ialiraza/orgs","repos_url":"https://api.github.com/users/ialiraza/repos","events_url":"https://api.github.com/users/ialiraza/events{/privacy}","received_events_url":"https://api.github.com/users/ialiraza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-28T07:14:07Z","updated_at":"2016-05-06T14:57:37Z","closed_at":null,"body":"Hi \r\n I'm tring to create Simple archive format. while running safbuilder command it gives error. please help me. \r\n\r\nraza@raza:~$ cd SAFBuilder/\r\nraza@raza:~/SAFBuilder$ ./safbuilder.sh -c /home/raza/Desktop/import/16/16-import.csv -z\r\nRecompiling SAFBuilder, just a moment...\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project safbuilder: Failed to clean project: Failed to delete /home/raza/SAFBuilder/target/maven-archiver/pom.properties -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException\r\n./safbuilder.sh: 9: ./safbuilder.sh: Syntax error: \"(\" unexpected\r\n"},"comment":{"url":"https://api.github.com/repos/DSpace-Labs/SAFBuilder/issues/comments/217465408","html_url":"https://github.com/DSpace-Labs/SAFBuilder/issues/13#issuecomment-217465408","issue_url":"https://api.github.com/repos/DSpace-Labs/SAFBuilder/issues/13","id":217465408,"user":{"login":"peterdietz","id":58014,"avatar_url":"https://avatars.githubusercontent.com/u/58014?v=3","gravatar_id":"","url":"https://api.github.com/users/peterdietz","html_url":"https://github.com/peterdietz","followers_url":"https://api.github.com/users/peterdietz/followers","following_url":"https://api.github.com/users/peterdietz/following{/other_user}","gists_url":"https://api.github.com/users/peterdietz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterdietz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterdietz/subscriptions","organizations_url":"https://api.github.com/users/peterdietz/orgs","repos_url":"https://api.github.com/users/peterdietz/repos","events_url":"https://api.github.com/users/peterdietz/events{/privacy}","received_events_url":"https://api.github.com/users/peterdietz/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T14:57:37Z","updated_at":"2016-05-06T14:57:37Z","body":"I'm not sure what the problem is, perhaps your parameter input is causing escaping issues. Such as including a double-quote or something. Can you share what your full `./safbuilder.sh` command was, including your options? i.e. `./safbuilder.sh -c /path/to/metadata.csv`\r\n\r\nInstead of running safbuilder from safbuilder.sh, you can invoke it directly from maven. (If you look at the `safbuilder.sh` file, it contains these commands.)\r\n\r\n1) Compile SAFBuilder\r\n\r\n```\r\nmvn clean package\r\n```\r\n\r\n2) Run SAFBuilder, provide your own input in `-c /path/to/metadata.csv`\r\n\r\n```\r\nmvn exec:java -Dexec.mainClass=\"safbuilder.BatchProcess\" -Dexec.args=\"-c /Users/peterdietz/Projects/clients/auk/batches/20160316-2015/_sheet.csv\"\r\n```"}}