{"action":"closed","issue":{"url":"https://api.github.com/repos/pantsbuild/pants/issues/2668","labels_url":"https://api.github.com/repos/pantsbuild/pants/issues/2668/labels{/name}","comments_url":"https://api.github.com/repos/pantsbuild/pants/issues/2668/comments","events_url":"https://api.github.com/repos/pantsbuild/pants/issues/2668/events","html_url":"https://github.com/pantsbuild/pants/issues/2668","id":120548961,"number":2668,"title":"No enum constant org.pantsbuild.tools.jar.JarBuilder.DuplicateAction.CONCAT_TEXT","user":{"login":"tkruse","id":1525116,"avatar_url":"https://avatars.githubusercontent.com/u/1525116?v=3","gravatar_id":"","url":"https://api.github.com/users/tkruse","html_url":"https://github.com/tkruse","followers_url":"https://api.github.com/users/tkruse/followers","following_url":"https://api.github.com/users/tkruse/following{/other_user}","gists_url":"https://api.github.com/users/tkruse/gists{/gist_id}","starred_url":"https://api.github.com/users/tkruse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkruse/subscriptions","organizations_url":"https://api.github.com/users/tkruse/orgs","repos_url":"https://api.github.com/users/tkruse/repos","events_url":"https://api.github.com/users/tkruse/events{/privacy}","received_events_url":"https://api.github.com/users/tkruse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-05T11:40:43Z","updated_at":"2015-12-05T14:59:17Z","closed_at":"2015-12-05T14:59:17Z","body":"Using pants 0.0.51 to 0.0.63, always the same:\r\n```\r\njava.lang.IllegalArgumentException: No enum constant org.pantsbuild.tools.jar.JarBuilder.DuplicateAction.CONCAT_TEXT\r\n                                at java.lang.Enum.valueOf(Enum.java:238)\r\n                                at org.pantsbuild.tools.jar.JarBuilder$DuplicateAction.valueOf(JarBuilder.java:123)\r\n                                at org.pantsbuild.tools.jar.Main$Options$DuplicatePolicyParser$1.parse(Main.java:68)\r\n                                at org.pantsbuild.tools.jar.Main$Options$DuplicatePolicyParser$1.parse(Main.java:61)\r\n                                at org.pantsbuild.args4j.CollectionOptionHandler$1.parse(CollectionOptionHandler.java:66)\r\n                                at org.kohsuke.args4j.spi.DelimitedOptionHandler.parseArguments(DelimitedOptionHandler.java:37)\r\n                                at org.kohsuke.args4j.CmdLineParser.parseArgument(CmdLineParser.java:535)\r\n                                at org.kohsuke.args4j.CmdLineParser.parseArgument(CmdLineParser.java:474)\r\n                                at org.pantsbuild.args4j.Parser.parse(Parser.java:120)\r\n                                at org.pantsbuild.tools.jar.Main.main(Main.java:470)\r\n                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n                                at java.lang.reflect.Method.invoke(Method.java:497)\r\n                                at com.martiansoftware.nailgun.NGSession.run(NGSession.java:280)\r\n```\r\n\r\nProbably I am missing some tiny bit of configuration in either my pants.ini or my BUILD.tools:\r\n\r\n```\r\n[DEFAULT]\r\npants_version: 0.0.63\r\nprint_exception_stacktrace: True\r\n\r\n[jvm]\r\noptions: [\"-Xmx1g\", \"-XX:MaxPermSize=256m\"]\r\n\r\n[goals]\r\nbootstrap_buildfiles: ['%(buildroot)s/BUILD']\r\n```\r\n\r\n```\r\n# JVM artifacts that Pants itself depends on.\r\n# http://pantsbuild.github.io/dev_tasks.html#jvm-tool-bootstrapping\r\n# examples at https://github.com/pantsbuild/pants/blob/master/BUILD.tools\r\n\r\nSCALA_REV = '2.10.4'\r\n\r\njar_library(name = 'scala-compiler',\r\n            jars = [\r\n              jar(org = 'org.scala-lang', name = 'scala-compiler', rev = SCALA_REV),\r\n            ])\r\n\r\njar_library(name = 'scala-library',\r\n            jars = [\r\n              jar(org = 'org.scala-lang', name = 'scala-library', rev = SCALA_REV),\r\n            ])\r\n\r\njar_library(name = 'scala-repl',\r\n            jars = [\r\n              jar(org = 'org.scala-lang', name = 'jline', rev = SCALA_REV, intransitive = True),\r\n            ],\r\n            dependencies = [\r\n              ':scala-compiler',\r\n              ':scala-library',\r\n            ])\r\n\r\njar_library(name = 'scalastyle',\r\n            jars = [\r\n              scala_jar(org='org.scalastyle', name='scalastyle', rev='0.3.2')\r\n            ])\r\n\r\njar_library(name = 'nailgun-server',\r\n            jars = [jar(org = 'com.martiansoftware', name = 'nailgun-server', rev = '0.9.1')])\r\n\r\njar_library(name = 'java-compiler',\r\n            jars = [\r\n              jar(org = 'org.pantsbuild.tools.compiler', name = 'java-compiler', rev = '0.0.1')\r\n            ])\r\n\r\njar_library(name = 'jmake',\r\n            jars = [jar(org = 'org.pantsbuild', name = 'jmake', rev = '1.3.8-10')])\r\n\r\njar_library(name = 'jar-tool',\r\n            jars = [\r\n              jar(org = 'org.pantsbuild', name = 'jar-tool', rev = '0.0.5')\r\n            ])\r\n\r\njar_library(name = 'junit',\r\n            jars = [\r\n              jar(org = 'junit', name = 'junit', rev = '4.11'),\r\n              jar(org = 'org.pantsbuild', name = 'junit-runner', rev = '0.0.8'),\r\n            ])\r\n\r\njar_library(name = 'jarjar',\r\n            jars=[\r\n              jar(org = 'org.pantsbuild.jarjar', name = 'jarjar', rev = '1.5')\r\n            ])\r\n\r\njar_library(name='junit-runner',\r\n            jars=[\r\n                jar('org.pantsbuild', 'junit-runner', '0.0.8'),\r\n            ])\r\n```"}}