summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/sources.mk1
-rw-r--r--rules/commons-lang2/java4-enum.mk6
2 files changed, 7 insertions, 0 deletions
diff --git a/conf/sources.mk b/conf/sources.mk
index a133b05..54752a9 100644
--- a/conf/sources.mk
+++ b/conf/sources.mk
@@ -31,6 +31,7 @@ jsoup = git|git://github.com/jhy/jsoup.gi
qdox = tar|http://nexus.codehaus.org/content/repositories/releases/com/thoughtworks/qdox/qdox/2.0-M1/qdox-2.0-M1-project.tar.bz2
commons-cli = tar|$(_apache_mirror)/commons/cli/source/commons-cli-1.2-src.tar.gz
commons-codec = tar|$(_apache_mirror)/commons/codec/source/commons-codec-1.9-src.tar.gz
+commons-lang2 = tar|$(_apache_mirror)/commons/lang/source/commons-lang-2.6-src.tar.gz
httpcomponents-core = tar|$(_apache_mirror)/httpcomponents/httpcore/source/httpcomponents-core-4.3.2-src.tar.gz
httpcomponents-client-bootstrap = tar|$(_apache_mirror)/httpcomponents/httpclient/source/httpcomponents-client-4.3.4-src.tar.gz
diff --git a/rules/commons-lang2/java4-enum.mk b/rules/commons-lang2/java4-enum.mk
new file mode 100644
index 0000000..7689b64
--- /dev/null
+++ b/rules/commons-lang2/java4-enum.mk
@@ -0,0 +1,6 @@
+# error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
+# package org.apache.commons.lang.enum;
+# ^
+# (use -source 1.4 or lower to use 'enum' as an identifier)
+
+JAVAC += -source 1.4