struts git commit: WW-4646 Replaces ASM3 with the latest version of ASM5

2016-07-14 Thread lukaszlenart
Repository: struts
Updated Branches:
  refs/heads/master a31766821 -> 8db9d8352


WW-4646 Replaces ASM3 with the latest version of ASM5


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/8db9d835
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/8db9d835
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/8db9d835

Branch: refs/heads/master
Commit: 8db9d8352f515de2bf714a174bec8f8a9248db0a
Parents: a317668
Author: Lukasz Lenart 
Authored: Thu Jul 14 09:18:19 2016 +0200
Committer: Lukasz Lenart 
Committed: Thu Jul 14 09:18:19 2016 +0200

--
 core/pom.xml|   4 +-
 .../xwork2/util/finder/DefaultClassFinder.java  |  44 +-
 plugins/java8-support/README.adoc   |  11 -
 plugins/java8-support/pom.xml   |  60 --
 .../struts2/convention/Java8ClassFinder.java| 572 ---
 .../convention/Java8ClassFinderFactory.java |  48 --
 .../src/main/resources/LICENSE.txt  | 174 --
 .../java8-support/src/main/resources/NOTICE.txt |   5 -
 .../src/main/resources/struts-plugin.xml|  33 --
 plugins/java8-support/src/site/site.xml |  57 --
 plugins/pom.xml |   1 -
 pom.xml |  12 +-
 12 files changed, 34 insertions(+), 987 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/struts/blob/8db9d835/core/pom.xml
--
diff --git a/core/pom.xml b/core/pom.xml
index 549bd3c..92e28c0 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -282,11 +282,11 @@
 commons-lang3
 
 
-asm
+org.ow2.asm
 asm
 
 
-asm
+org.ow2.asm
 asm-commons
 
 

http://git-wip-us.apache.org/repos/asf/struts/blob/8db9d835/core/src/main/java/com/opensymphony/xwork2/util/finder/DefaultClassFinder.java
--
diff --git 
a/core/src/main/java/com/opensymphony/xwork2/util/finder/DefaultClassFinder.java
 
b/core/src/main/java/com/opensymphony/xwork2/util/finder/DefaultClassFinder.java
index 2e140a7..aed42a8 100644
--- 
a/core/src/main/java/com/opensymphony/xwork2/util/finder/DefaultClassFinder.java
+++ 
b/core/src/main/java/com/opensymphony/xwork2/util/finder/DefaultClassFinder.java
@@ -24,9 +24,10 @@ import org.apache.logging.log4j.LogManager;
 import org.apache.logging.log4j.Logger;
 import org.objectweb.asm.AnnotationVisitor;
 import org.objectweb.asm.ClassReader;
+import org.objectweb.asm.ClassVisitor;
 import org.objectweb.asm.FieldVisitor;
 import org.objectweb.asm.MethodVisitor;
-import org.objectweb.asm.commons.EmptyVisitor;
+import org.objectweb.asm.Opcodes;
 
 import java.io.File;
 import java.io.IOException;
@@ -463,17 +464,18 @@ public class DefaultClassFinder implements ClassFinder {
 
 }
 
-public class InfoBuildingVisitor extends EmptyVisitor {
+public class InfoBuildingVisitor extends ClassVisitor {
 private Info info;
 private ClassFinder classFinder;
 
 public InfoBuildingVisitor(ClassFinder classFinder) {
+super(Opcodes.ASM5);
 this.classFinder = classFinder;
 }
 
 public InfoBuildingVisitor(Info info, ClassFinder classFinder) {
+this(classFinder);
 this.info = info;
-this.classFinder = classFinder;
 }
 
 @Override
@@ -516,7 +518,7 @@ public class DefaultClassFinder implements ClassFinder {
 }
 
 private String javaName(String name) {
-return (name == null)? null:name.replace('/', '.');
+return (name == null) ? null : name.replace('/', '.');
 }
 
 @Override
@@ -524,7 +526,7 @@ public class DefaultClassFinder implements ClassFinder {
 AnnotationInfo annotationInfo = new AnnotationInfo(desc);
 info.getAnnotations().add(annotationInfo);
 getAnnotationInfos(annotationInfo.getName()).add(info);
-return new InfoBuildingVisitor(annotationInfo, classFinder);
+return null;
 }
 
 @Override
@@ -532,7 +534,7 @@ public class DefaultClassFinder implements ClassFinder {
 ClassInfo classInfo = ((ClassInfo) info);
 FieldInfo fieldInfo = new FieldInfo(classInfo, name, desc);
 classInfo.getFields().add(fieldInfo);
-return new InfoBuildingVisitor(fieldInfo, classFinder);
+return null;
 }
 
 @Override
@@ -540,7 +542,28 @@ public class DefaultClassFinder implements ClassFinder {
 ClassInfo classInfo = ((ClassInfo) info);
 MethodInfo methodInfo = new MethodInfo(classInfo,

struts git commit: Upgrades Log4j2 to the latest version

2016-07-14 Thread lukaszlenart
Repository: struts
Updated Branches:
  refs/heads/master 8db9d8352 -> 633552d11


Upgrades Log4j2 to the latest version


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/633552d1
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/633552d1
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/633552d1

Branch: refs/heads/master
Commit: 633552d112665721c1321775f83ecf88e7ad4ca2
Parents: 8db9d83
Author: Lukasz Lenart 
Authored: Thu Jul 14 09:23:47 2016 +0200
Committer: Lukasz Lenart 
Committed: Thu Jul 14 09:23:47 2016 +0200

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/struts/blob/633552d1/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 2b19b55..a8ac15a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,7 +90,7 @@
 5.1
 3.0.5
 1.0.6
-2.5
+2.6.2
 
 
 
${project.build.directory}/site



[2/2] struts git commit: WW-4660 Moves example portlet app into struts-examples

2016-07-14 Thread lukaszlenart
WW-4660 Moves example portlet app into struts-examples


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/f21a3fd1
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/f21a3fd1
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/f21a3fd1

Branch: refs/heads/master
Commit: f21a3fd10f12a25f22318e5623eb0fafb3690eba
Parents: 633552d
Author: Lukasz Lenart 
Authored: Thu Jul 14 11:47:08 2016 +0200
Committer: Lukasz Lenart 
Committed: Thu Jul 14 11:47:08 2016 +0200

--
 apps/pom.xml|   1 -
 apps/portlet/README.txt |  22 --
 apps/portlet/pom.xml| 218 ---
 apps/portlet/src/main/etc/exo/web.xml   |  63 ---
 .../main/etc/gridsphere/README-gridsphere.txt   |   2 -
 .../main/etc/gridsphere/gridsphere-portlet.xml  |  24 --
 apps/portlet/src/main/etc/gridsphere/group.xml  |  10 -
 apps/portlet/src/main/etc/gridsphere/layout.xml |  19 -
 .../src/main/etc/gridsphere/struts-portlet  |   0
 apps/portlet/src/main/etc/gridsphere/web.xml|  63 ---
 .../src/main/etc/jbossportal2.0/jboss-app.xml   |   3 -
 .../main/etc/jbossportal2.0/jboss-portlet.xml   |  12 -
 .../src/main/etc/jbossportal2.0/jboss-web.xml   |   3 -
 .../etc/jbossportal2.0/portlet-instances.xml|  11 -
 .../etc/jbossportal2.0/struts-portlet-pages.xml |  18 -
 .../src/main/etc/jbossportal2.2/jboss-app.xml   |   3 -
 .../main/etc/jbossportal2.2/jboss-portlet.xml   |  12 -
 .../src/main/etc/jbossportal2.2/jboss-web.xml   |   3 -
 .../jbossportal2.2/struts-portlet-object.xml|  25 --
 .../src/main/etc/jetspeed2/README-jetspeed2.txt |   1 -
 .../src/main/etc/jetspeed2/struts-portlet.psml  |  20 -
 apps/portlet/src/main/etc/liferay3.6.1/web.xml  |  75 
 .../struts2/portlet/example/ExampleAction.java  |  39 --
 .../struts2/portlet/example/FormExample.java|  50 ---
 .../portlet/example/FormExampleModelDriven.java |  37 --
 .../example/FormExampleWithValidation.java  |  47 ---
 .../portlet/example/FormResultAction.java   |  49 ---
 .../struts2/portlet/example/FormTestAction.java |  36 --
 .../portlet/example/SavePrefsAction.java|  62 ---
 .../portlet/example/eventing/ProcessAction.java |  61 ---
 .../portlet/example/eventing/PublishAction.java |  52 ---
 .../example/fileupload/FileUploadAction.java|  81 
 .../struts2/portlet/example/model/Name.java |  18 -
 .../portlet/example/spring/SpringAction.java|  58 ---
 .../portlet/example/spring/ThingManager.java|  38 --
 apps/portlet/src/main/resources/LICENSE.txt | 174 -
 apps/portlet/src/main/resources/NOTICE.txt  |   5 -
 apps/portlet/src/main/resources/log4j2.xml  |  15 -
 .../FormExample-formExamplePrg-validation.xml   |  13 -
 ...processTilesFreemarkerExample-validation.xml |  13 -
 ...mple-processValidationExample-validation.xml |  13 -
 .../pluto-portal-driver-services-config.xml | 155 
 apps/portlet/src/main/resources/struts-edit.xml |  48 ---
 .../src/main/resources/struts-eventing.xml  |  21 -
 apps/portlet/src/main/resources/struts-help.xml |  14 -
 .../portlet/src/main/resources/struts-tiles.xml |  27 --
 apps/portlet/src/main/resources/struts-view.xml | 130 ---
 apps/portlet/src/main/resources/struts.xml  |  12 -
 .../template/xhtml/components/checkbox.vm   |  12 -
 .../template/xhtml/components/datefield.vm  |   8 -
 .../template/xhtml/components/mytextfield.vm|  15 -
 apps/portlet/src/main/resources/validators.xml  |  18 -
 .../src/main/resources/velocity.properties  |   1 -
 .../main/webapp/WEB-INF/applicationContext.xml  |  22 --
 .../main/webapp/WEB-INF/edit/defaultEdit.jsp|   5 -
 .../main/webapp/WEB-INF/edit/formExample.jsp|   5 -
 .../webapp/WEB-INF/edit/formExampleInput.jsp|   8 -
 .../src/main/webapp/WEB-INF/edit/index.jsp  |  11 -
 .../main/webapp/WEB-INF/edit/namespaceTest.jsp  |   4 -
 .../src/main/webapp/WEB-INF/edit/prefsForm.jsp  |   6 -
 .../src/main/webapp/WEB-INF/edit/prefsSaved.jsp |   5 -
 .../src/main/webapp/WEB-INF/edit/test.jsp   |   4 -
 .../src/main/webapp/WEB-INF/eventing/index.jsp  |  11 -
 .../main/webapp/WEB-INF/eventing/process.jsp|  12 -
 .../main/webapp/WEB-INF/help/defaultHelp.jsp|   1 -
 .../src/main/webapp/WEB-INF/help/index.jsp  |   1 -
 .../webapp/WEB-INF/jetty-pluto-web-default.xml  | 384 ---
 .../portlet/src/main/webapp/WEB-INF/portlet.xml | 214 ---
 apps/portlet/src/main/webapp/WEB-INF/readme.txt |  10 -
 apps/portlet/src/main/webapp/WEB-INF/tiles.xml  |  46 ---
 .../src/main/webapp/WEB-INF/view/fileUpload.jsp |  13 -
 .../webapp/WEB-INF/view/fileUploadSuccess.jsp   |  14 -
 .../main/webapp/WEB-INF/view/formExample.jsp|   5 -
 .../webapp/WEB-INF/view/formExampleInput.jsp|   8 -
 .../view/formExampleInputModelDriven.jsp|   8 -
 .../webapp/WE

[1/2] struts git commit: WW-4660 Moves example portlet app into struts-examples

2016-07-14 Thread lukaszlenart
Repository: struts
Updated Branches:
  refs/heads/master 633552d11 -> f21a3fd10


http://git-wip-us.apache.org/repos/asf/struts/blob/f21a3fd1/apps/portlet/src/main/resources/struts-eventing.xml
--
diff --git a/apps/portlet/src/main/resources/struts-eventing.xml 
b/apps/portlet/src/main/resources/struts-eventing.xml
deleted file mode 100644
index c571cb9..000
--- a/apps/portlet/src/main/resources/struts-eventing.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-http://struts.apache.org/dtds/struts-2.5.dtd";>
-
-
-
-
-
-/WEB-INF/eventing/index.jsp
-
-
-
-/WEB-INF/eventing/process.jsp
-
-process
-/eventing
-
-
-
-

http://git-wip-us.apache.org/repos/asf/struts/blob/f21a3fd1/apps/portlet/src/main/resources/struts-help.xml
--
diff --git a/apps/portlet/src/main/resources/struts-help.xml 
b/apps/portlet/src/main/resources/struts-help.xml
deleted file mode 100644
index 451aa7d..000
--- a/apps/portlet/src/main/resources/struts-help.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-http://struts.apache.org/dtds/struts-2.5.dtd";>
-
-
-   
-   
-   /WEB-INF/help/index.jsp
-   
-   
-
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/struts/blob/f21a3fd1/apps/portlet/src/main/resources/struts-tiles.xml
--
diff --git a/apps/portlet/src/main/resources/struts-tiles.xml 
b/apps/portlet/src/main/resources/struts-tiles.xml
deleted file mode 100644
index 042f0c6..000
--- a/apps/portlet/src/main/resources/struts-tiles.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-http://struts.apache.org/dtds/struts-2.5.dtd";>
-
-
-
-
-
-
-formExampleTiles.index
-formExampleTiles.index
-
-
-
-formExampleTiles.freemarker
-
-
-
-formExampleTiles.freemarker
-formExampleTiles.freemarkerResult
-
-
-
-
-
-

http://git-wip-us.apache.org/repos/asf/struts/blob/f21a3fd1/apps/portlet/src/main/resources/struts-view.xml
--
diff --git a/apps/portlet/src/main/resources/struts-view.xml 
b/apps/portlet/src/main/resources/struts-view.xml
deleted file mode 100644
index e492af1..000
--- a/apps/portlet/src/main/resources/struts-view.xml
+++ /dev/null
@@ -1,130 +0,0 @@
-
-http://struts.apache.org/dtds/struts-2.5.dtd";>
-
-
-   
-   
-   /WEB-INF/view/index.jsp
-   
-
-   
-   
-   /WEB-INF/view/formExampleInput.jsp
-   
-   
-
-   
-   
-   /WEB-INF/view/formExampleInput.jsp
-   
-   
-   /WEB-INF/view/formExample.jsp
-   
-   
-   
-   
-   
-   /WEB-INF/view/formExampleInputPrg.jsp
-   
-   
-   formExamplePrg
-   displayResult
-   ${firstName}
-   ${lastName}
-   
-   
-   /WEB-INF/view/formExample.jsp
-   
-   
-   
-   
-   
-   /WEB-INF/view/formExampleInputModelDriven.jsp
-   
-   
-   /WEB-INF/view/formExample.jsp
-   
-   
-
-   
-   
-   /WEB-INF/view/formExampleInputValidation.jsp
-   
-   
-
-   
-   
-   /WEB-INF/view/formExample.jsp
-   
-   
-   /WEB-INF/view/formExampleInputValidation.jsp
-   
-   
-   
-   
-   
-   /WEB-INF/view/fileUpload.jsp
-   
-   
-   /WEB-INF/view/fileUploadSuccess.jsp
-   
-   
-
-   
-   
-   /WEB-INF/view/tokenExampleInput.jsp
-   
-   
-
-   
-   
-   /WEB-INF/view/tokenExampleInput.jsp
-

[4/6] struts-examples git commit: WW-4660 Moves example portlet app into struts-examples

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-examples/blob/1dfc0aa2/portlet/src/main/resources/struts-eventing.xml
--
diff --git a/portlet/src/main/resources/struts-eventing.xml 
b/portlet/src/main/resources/struts-eventing.xml
new file mode 100644
index 000..c571cb9
--- /dev/null
+++ b/portlet/src/main/resources/struts-eventing.xml
@@ -0,0 +1,21 @@
+
+http://struts.apache.org/dtds/struts-2.5.dtd";>
+
+
+
+
+
+/WEB-INF/eventing/index.jsp
+
+
+
+/WEB-INF/eventing/process.jsp
+
+process
+/eventing
+
+
+
+

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/1dfc0aa2/portlet/src/main/resources/struts-help.xml
--
diff --git a/portlet/src/main/resources/struts-help.xml 
b/portlet/src/main/resources/struts-help.xml
new file mode 100644
index 000..451aa7d
--- /dev/null
+++ b/portlet/src/main/resources/struts-help.xml
@@ -0,0 +1,14 @@
+
+http://struts.apache.org/dtds/struts-2.5.dtd";>
+
+
+   
+   
+   /WEB-INF/help/index.jsp
+   
+   
+
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/1dfc0aa2/portlet/src/main/resources/struts-tiles.xml
--
diff --git a/portlet/src/main/resources/struts-tiles.xml 
b/portlet/src/main/resources/struts-tiles.xml
new file mode 100644
index 000..042f0c6
--- /dev/null
+++ b/portlet/src/main/resources/struts-tiles.xml
@@ -0,0 +1,27 @@
+
+http://struts.apache.org/dtds/struts-2.5.dtd";>
+
+
+
+
+
+
+formExampleTiles.index
+formExampleTiles.index
+
+
+
+formExampleTiles.freemarker
+
+
+
+formExampleTiles.freemarker
+formExampleTiles.freemarkerResult
+
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/1dfc0aa2/portlet/src/main/resources/struts-view.xml
--
diff --git a/portlet/src/main/resources/struts-view.xml 
b/portlet/src/main/resources/struts-view.xml
new file mode 100644
index 000..e492af1
--- /dev/null
+++ b/portlet/src/main/resources/struts-view.xml
@@ -0,0 +1,130 @@
+
+http://struts.apache.org/dtds/struts-2.5.dtd";>
+
+
+   
+   
+   /WEB-INF/view/index.jsp
+   
+
+   
+   
+   /WEB-INF/view/formExampleInput.jsp
+   
+   
+
+   
+   
+   /WEB-INF/view/formExampleInput.jsp
+   
+   
+   /WEB-INF/view/formExample.jsp
+   
+   
+   
+   
+   
+   /WEB-INF/view/formExampleInputPrg.jsp
+   
+   
+   formExamplePrg
+   displayResult
+   ${firstName}
+   ${lastName}
+   
+   
+   /WEB-INF/view/formExample.jsp
+   
+   
+   
+   
+   
+   /WEB-INF/view/formExampleInputModelDriven.jsp
+   
+   
+   /WEB-INF/view/formExample.jsp
+   
+   
+
+   
+   
+   /WEB-INF/view/formExampleInputValidation.jsp
+   
+   
+
+   
+   
+   /WEB-INF/view/formExample.jsp
+   
+   
+   /WEB-INF/view/formExampleInputValidation.jsp
+   
+   
+   
+   
+   
+   /WEB-INF/view/fileUpload.jsp
+   
+   
+   /WEB-INF/view/fileUploadSuccess.jsp
+   
+   
+
+   
+   
+   /WEB-INF/view/tokenExampleInput.jsp
+   
+   
+
+   
+   
+   /WEB-INF/view/tokenExampleInput.jsp
+   
+   
+   /WEB-INF/view/tokenExampleInput.jsp
+   
+   

[5/6] struts-examples git commit: WW-4660 Moves example portlet app into struts-examples

2016-07-14 Thread lukaszlenart
WW-4660 Moves example portlet app into struts-examples


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/1dfc0aa2
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/1dfc0aa2
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/1dfc0aa2

Branch: refs/heads/master
Commit: 1dfc0aa2081e5ec5a28cfea513e66c728df2fdcd
Parents: 81b2df4
Author: Lukasz Lenart 
Authored: Thu Jul 14 11:49:12 2016 +0200
Committer: Lukasz Lenart 
Committed: Thu Jul 14 11:49:12 2016 +0200

--
 pom.xml |   5 +-
 portlet/README.txt  |  22 ++
 portlet/pom.xml | 218 +++
 portlet/src/main/etc/exo/web.xml|  63 +++
 .../main/etc/gridsphere/README-gridsphere.txt   |   2 +
 .../main/etc/gridsphere/gridsphere-portlet.xml  |  24 ++
 portlet/src/main/etc/gridsphere/group.xml   |  10 +
 portlet/src/main/etc/gridsphere/layout.xml  |  19 +
 portlet/src/main/etc/gridsphere/struts-portlet  |   0
 portlet/src/main/etc/gridsphere/web.xml |  63 +++
 .../src/main/etc/jbossportal2.0/jboss-app.xml   |   3 +
 .../main/etc/jbossportal2.0/jboss-portlet.xml   |  12 +
 .../src/main/etc/jbossportal2.0/jboss-web.xml   |   3 +
 .../etc/jbossportal2.0/portlet-instances.xml|  11 +
 .../etc/jbossportal2.0/struts-portlet-pages.xml |  18 +
 .../src/main/etc/jbossportal2.2/jboss-app.xml   |   3 +
 .../main/etc/jbossportal2.2/jboss-portlet.xml   |  12 +
 .../src/main/etc/jbossportal2.2/jboss-web.xml   |   3 +
 .../jbossportal2.2/struts-portlet-object.xml|  25 ++
 .../src/main/etc/jetspeed2/README-jetspeed2.txt |   1 +
 .../src/main/etc/jetspeed2/struts-portlet.psml  |  20 +
 portlet/src/main/etc/liferay3.6.1/web.xml   |  75 
 .../struts2/portlet/example/ExampleAction.java  |  39 ++
 .../struts2/portlet/example/FormExample.java|  50 +++
 .../portlet/example/FormExampleModelDriven.java |  37 ++
 .../example/FormExampleWithValidation.java  |  47 +++
 .../portlet/example/FormResultAction.java   |  49 +++
 .../struts2/portlet/example/FormTestAction.java |  36 ++
 .../portlet/example/SavePrefsAction.java|  62 +++
 .../portlet/example/eventing/ProcessAction.java |  61 +++
 .../portlet/example/eventing/PublishAction.java |  52 +++
 .../example/fileupload/FileUploadAction.java|  81 
 .../struts2/portlet/example/model/Name.java |  18 +
 .../portlet/example/spring/SpringAction.java|  58 +++
 .../portlet/example/spring/ThingManager.java|  38 ++
 portlet/src/main/resources/LICENSE.txt  | 174 +
 portlet/src/main/resources/NOTICE.txt   |   5 +
 portlet/src/main/resources/log4j2.xml   |  15 +
 .../FormExample-formExamplePrg-validation.xml   |  13 +
 ...processTilesFreemarkerExample-validation.xml |  13 +
 ...mple-processValidationExample-validation.xml |  13 +
 .../pluto-portal-driver-services-config.xml | 155 
 portlet/src/main/resources/struts-edit.xml  |  48 +++
 portlet/src/main/resources/struts-eventing.xml  |  21 +
 portlet/src/main/resources/struts-help.xml  |  14 +
 portlet/src/main/resources/struts-tiles.xml |  27 ++
 portlet/src/main/resources/struts-view.xml  | 130 +++
 portlet/src/main/resources/struts.xml   |  12 +
 .../template/xhtml/components/checkbox.vm   |  12 +
 .../template/xhtml/components/datefield.vm  |   8 +
 .../template/xhtml/components/mytextfield.vm|  15 +
 portlet/src/main/resources/validators.xml   |  18 +
 portlet/src/main/resources/velocity.properties  |   1 +
 .../main/webapp/WEB-INF/applicationContext.xml  |  22 ++
 .../main/webapp/WEB-INF/edit/defaultEdit.jsp|   5 +
 .../main/webapp/WEB-INF/edit/formExample.jsp|   5 +
 .../webapp/WEB-INF/edit/formExampleInput.jsp|   8 +
 portlet/src/main/webapp/WEB-INF/edit/index.jsp  |  11 +
 .../main/webapp/WEB-INF/edit/namespaceTest.jsp  |   4 +
 .../src/main/webapp/WEB-INF/edit/prefsForm.jsp  |   6 +
 .../src/main/webapp/WEB-INF/edit/prefsSaved.jsp |   5 +
 portlet/src/main/webapp/WEB-INF/edit/test.jsp   |   4 +
 .../src/main/webapp/WEB-INF/eventing/index.jsp  |  11 +
 .../main/webapp/WEB-INF/eventing/process.jsp|  12 +
 .../main/webapp/WEB-INF/help/defaultHelp.jsp|   1 +
 portlet/src/main/webapp/WEB-INF/help/index.jsp  |   1 +
 .../webapp/WEB-INF/jetty-pluto-web-default.xml  | 384 +++
 portlet/src/main/webapp/WEB-INF/portlet.xml | 214 +++
 portlet/src/main/webapp/WEB-INF/readme.txt  |  10 +
 portlet/src/main/webapp/WEB-INF/tiles.xml   |  46 +++
 .../src/main/webapp/WEB-INF/view/fileUpload.jsp |  13 +
 .../webapp/WEB-INF/view/fileUploadSuccess.jsp   |  14 +
 .../main/webapp/WEB-INF/view/formExample.jsp|   5 +
 .../webapp/WEB-INF/view/formExampleInput.jsp|   8 +
 .../view/formExampleInputModelDri

[2/6] struts-examples git commit: Drops jboss-blank as a duplication of blank

2016-07-14 Thread lukaszlenart
Drops jboss-blank as a duplication of blank


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/7ce189c0
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/7ce189c0
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/7ce189c0

Branch: refs/heads/master
Commit: 7ce189c030433b9208b04dd02982d13770b36b20
Parents: 4a7216c
Author: Lukasz Lenart 
Authored: Sat Jun 18 09:13:51 2016 +0200
Committer: Lukasz Lenart 
Committed: Sat Jun 18 09:13:51 2016 +0200

--
 jboss-blank/README.txt  |  16 --
 jboss-blank/pom.xml |  63 ---
 .../src/main/java/example/ExampleSupport.java   |  30 
 .../src/main/java/example/HelloWorld.java   |  61 ---
 jboss-blank/src/main/java/example/Login.java|  59 ---
 jboss-blank/src/main/resources/LICENSE.txt  | 174 ---
 jboss-blank/src/main/resources/NOTICE.txt   |   5 -
 jboss-blank/src/main/resources/example.xml  |  25 ---
 .../main/resources/example/Login-validation.xml |  16 --
 .../main/resources/example/package.properties   |   5 -
 .../resources/example/package_es.properties |   5 -
 jboss-blank/src/main/resources/log4j2.xml   |  15 --
 jboss-blank/src/main/resources/struts.xml   |  27 ---
 .../src/main/resources/velocity.properties  |   1 -
 .../webapp/WEB-INF/jsp/example/HelloWorld.jsp   |  28 ---
 .../main/webapp/WEB-INF/jsp/example/Login.jsp   |  15 --
 .../main/webapp/WEB-INF/jsp/example/Menu.jsp|   3 -
 .../main/webapp/WEB-INF/jsp/example/Missing.jsp |  11 --
 .../webapp/WEB-INF/jsp/example/Register.jsp |   3 -
 .../main/webapp/WEB-INF/jsp/example/Welcome.jsp |  18 --
 jboss-blank/src/main/webapp/WEB-INF/web.xml |  37 
 jboss-blank/src/main/webapp/index.html  |  10 --
 .../src/test/java/example/ConfigTest.java   |  96 --
 .../src/test/java/example/HelloWorldTest.java   |  37 
 .../src/test/java/example/LoginTest.java|  55 --
 pom.xml |   1 -
 26 files changed, 816 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/7ce189c0/jboss-blank/README.txt
--
diff --git a/jboss-blank/README.txt b/jboss-blank/README.txt
deleted file mode 100644
index b05df6c..000
--- a/jboss-blank/README.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-README.txt - JBoss Blank
-
-This is an "empty" application that you can deploy as the basis of your own 
-application. This specially dedicated to JBoss server as it includes the 
Javassist library.
-
-For more on getting started with Struts, see 
-
-* http://cwiki.apache.org/WW/home.html
-
-I18N:
-=
-Please note that this project was created with the assumption that it will be 
run
-in an environment where the default locale is set to English. This means that
-the default messages defined in package.properties are in English. If the 
default
-locale for your server is different, then rename package.properties to 
package_en.properties
-and create a new package.properties with proper values for your default locale.

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/7ce189c0/jboss-blank/pom.xml
--
diff --git a/jboss-blank/pom.xml b/jboss-blank/pom.xml
deleted file mode 100644
index 32624d2..000
--- a/jboss-blank/pom.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-4.0.0
-
-org.apache.struts
-struts-examples
-1.0.0
-
-
-struts2-jboss-blank
-war
-Struts 2 JBoss Blank Webapp
-
-
-
-
-javax.servlet
-javax.servlet-api
-3.1.0
-provided
-
-
-
-javax.servlet
-jsp-api
-2.0
-provided
-
-
-
-org.apache.struts
-struts2-junit-plugin
-${struts2.version}
-test
-
-
-
-
-   UTF-8
-
-

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/7ce189c0/jboss-blank/src/main/java/example/ExampleSupport.java
--
diff --git a/jboss-blank/src/main/java/example/ExampleSupport.java 
b/jboss-blank/src/main/java/example/ExampleSupport.java
deleted file mode 100644
index 02264ed..000
--- a/jboss-blank/src/main/java/example/ExampleSupport.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * $Id: ExampleSupport.java 471756 2006-11-06 15:01:43Z husted $
- *
- * Licensed 

[1/6] struts-examples git commit: Adds missing dependencies

2016-07-14 Thread lukaszlenart
Repository: struts-examples
Updated Branches:
  refs/heads/master f59d7baa2 -> 62a6110bf


Adds missing dependencies


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/4a7216c3
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/4a7216c3
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/4a7216c3

Branch: refs/heads/master
Commit: 4a7216c3c8aac6baa7836841b7fec38a1efb6196
Parents: f59d7ba
Author: Lukasz Lenart 
Authored: Sat Jun 18 09:13:37 2016 +0200
Committer: Lukasz Lenart 
Committed: Sat Jun 18 09:13:37 2016 +0200

--
 blank/pom.xml | 17 +
 1 file changed, 17 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/4a7216c3/blank/pom.xml
--
diff --git a/blank/pom.xml b/blank/pom.xml
index 2cd237b..25c9927 100644
--- a/blank/pom.xml
+++ b/blank/pom.xml
@@ -36,6 +36,12 @@
 
 
 
+org.apache.struts
+struts2-core
+${struts2.version}
+
+
+
 javax.servlet
 javax.servlet-api
 3.1.0
@@ -50,6 +56,17 @@
 
 
 
+org.apache.logging.log4j
+log4j-api
+${log4j2.version}
+
+
+org.apache.logging.log4j
+log4j-core
+${log4j2.version}
+
+
+
 org.apache.struts
 struts2-junit-plugin
 ${struts2.version}



[6/6] struts-examples git commit: Adds simple JSON example

2016-07-14 Thread lukaszlenart
Adds simple JSON example


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/62a6110b
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/62a6110b
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/62a6110b

Branch: refs/heads/master
Commit: 62a6110bfd78a135d56c53bf1261d68cc3d8f646
Parents: 1dfc0aa
Author: Lukasz Lenart 
Authored: Thu Jul 14 11:49:45 2016 +0200
Committer: Lukasz Lenart 
Committed: Thu Jul 14 11:49:45 2016 +0200

--
 json/pom.xml   | 108 
 json/src/main/java/org/demo/ConsumeAction.java |  38 +++
 json/src/main/java/org/demo/MyBean.java|  36 +++
 json/src/main/java/org/demo/ProduceAction.java |  43 
 json/src/main/resources/log4j2.xml |  16 +++
 json/src/main/resources/struts.xml |  31 ++
 json/src/main/webapp/WEB-INF/result.jsp|  21 
 json/src/main/webapp/WEB-INF/web.xml   |  23 +
 json/src/main/webapp/index.html|  10 ++
 9 files changed, 326 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/62a6110b/json/pom.xml
--
diff --git a/json/pom.xml b/json/pom.xml
new file mode 100644
index 000..fc758c7
--- /dev/null
+++ b/json/pom.xml
@@ -0,0 +1,108 @@
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  4.0.0
+  
+struts-examples
+org.apache.struts
+1.0.0
+  
+
+  org.demo
+  json
+  1.0-SNAPSHOT
+  war
+  json
+
+  
+UTF-8
+  
+
+  
+
+
+  org.apache.struts
+  struts2-core
+  ${struts2.version}
+
+
+
+  org.apache.struts
+  struts2-config-browser-plugin
+  ${struts2.version}
+
+
+
+  org.apache.struts
+  struts2-json-plugin
+  ${struts2.version}
+
+
+
+  org.apache.logging.log4j
+  log4j-api
+  ${log4j2.version}
+
+
+  org.apache.logging.log4j
+  log4j-core
+  ${log4j2.version}
+
+
+
+  junit
+  junit
+  4.5
+  test
+
+
+
+  javax.servlet
+  javax.servlet-api
+  3.1.0
+  provided
+
+
+
+  javax.servlet
+  jsp-api
+  2.0
+  provided
+
+
+  
+
+  
+
+  
+maven-compiler-plugin
+3.3
+
+  UTF-8
+  1.5
+  1.5
+
+  
+  
+org.mortbay.jetty
+jetty-maven-plugin
+8.1.16.v20140903
+
+  CTRL+C
+  8999
+  
+
+  xwork.loggerFactory
+  
com.opensymphony.xwork2.util.logging.log4j2.Log4j2LoggerFactory
+
+  
+  10
+  
${basedir}/src/main/webapp/
+  
+${basedir}/src/main/webapp/WEB-INF/web.xml
+  
+
+  
+
+  
+

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/62a6110b/json/src/main/java/org/demo/ConsumeAction.java
--
diff --git a/json/src/main/java/org/demo/ConsumeAction.java 
b/json/src/main/java/org/demo/ConsumeAction.java
new file mode 100644
index 000..c142581
--- /dev/null
+++ b/json/src/main/java/org/demo/ConsumeAction.java
@@ -0,0 +1,38 @@
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.demo;
+
+import com.opensymphony.xwork2.ActionSupport;
+
+public class ConsumeAction extends ActionSupport {
+
+private MyBean bean = new MyBean();
+
+public String execute() throws Exception {
+return SUCCESS;
+}
+
+public MyBean getBean() {
+return bean;
+}
+
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/62a6110b/json/src/main/java/org/demo/MyBean.java
-

[3/6] struts-examples git commit: Adds missing dependencies

2016-07-14 Thread lukaszlenart
Adds missing dependencies


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/81b2df4e
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/81b2df4e
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/81b2df4e

Branch: refs/heads/master
Commit: 81b2df4e0b9f3db2261b5e8dead8e93533d77946
Parents: 7ce189c
Author: Lukasz Lenart 
Authored: Sat Jun 18 09:17:59 2016 +0200
Committer: Lukasz Lenart 
Committed: Sat Jun 18 09:17:59 2016 +0200

--
 rest-angular/pom.xml | 13 -
 unit-testing/pom.xml | 10 ++
 2 files changed, 22 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/81b2df4e/rest-angular/pom.xml
--
diff --git a/rest-angular/pom.xml b/rest-angular/pom.xml
index 86967a5..37705cb 100644
--- a/rest-angular/pom.xml
+++ b/rest-angular/pom.xml
@@ -10,7 +10,7 @@
 
 rest-angular
 
-REST Plugin based application with AngularJS frontend
+REST Plugin based application with AngularJS
 
 A REST Plugin based Struts2 application with AngularJS 
frontend, Bean validation, Exception Handling and multi language 
support.
 
@@ -96,6 +96,17 @@
 
 
 
+org.apache.logging.log4j
+log4j-api
+${log4j2.version}
+
+
+org.apache.logging.log4j
+log4j-core
+${log4j2.version}
+
+
+
 junit
 junit
 4.5

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/81b2df4e/unit-testing/pom.xml
--
diff --git a/unit-testing/pom.xml b/unit-testing/pom.xml
index d01d742..5a6ce0e 100644
--- a/unit-testing/pom.xml
+++ b/unit-testing/pom.xml
@@ -36,6 +36,16 @@
2.0


+   org.apache.logging.log4j
+   log4j-api
+   ${log4j2.version}
+   
+   
+   org.apache.logging.log4j
+   log4j-core
+   ${log4j2.version}
+   
+   
org.apache.geronimo.specs
geronimo-servlet_3.0_spec
1.0



svn commit: r14413 - /dev/struts/2.5.2/ /release/struts/2.5.2/

2016-07-14 Thread lukaszlenart
Author: lukaszlenart
Date: Thu Jul 14 09:55:23 2016
New Revision: 14413

Log:
Vote passed, pushing release


Added:
release/struts/2.5.2/
  - copied from r14412, dev/struts/2.5.2/
Removed:
dev/struts/2.5.2/



svn commit: r14414 - /dev/struts/2.3.30/ /release/struts/2.3.30/

2016-07-14 Thread lukaszlenart
Author: lukaszlenart
Date: Thu Jul 14 09:55:54 2016
New Revision: 14414

Log:

Vote passed, pushing release


Added:
release/struts/2.3.30/
  - copied from r14413, dev/struts/2.3.30/
Removed:
dev/struts/2.3.30/



struts-examples git commit: Fixes dependencies

2016-07-14 Thread lukaszlenart
Repository: struts-examples
Updated Branches:
  refs/heads/master 62a6110bf -> 47ed5c294


Fixes dependencies


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/47ed5c29
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/47ed5c29
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/47ed5c29

Branch: refs/heads/master
Commit: 47ed5c2947709107431a86f35637159765bd6ddf
Parents: 62a6110
Author: Lukasz Lenart 
Authored: Thu Jul 14 13:39:09 2016 +0200
Committer: Lukasz Lenart 
Committed: Thu Jul 14 13:39:09 2016 +0200

--
 portlet/pom.xml | 38 ++
 1 file changed, 14 insertions(+), 24 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/47ed5c29/portlet/pom.xml
--
diff --git a/portlet/pom.xml b/portlet/pom.xml
index 2d8025f..d46240d 100644
--- a/portlet/pom.xml
+++ b/portlet/pom.xml
@@ -25,13 +25,13 @@
 4.0.0
 
 org.apache.struts
-struts2-apps
-2.5.3-SNAPSHOT
+struts-examples
+1.0.0
 
 
-struts2-portlet
+portlet
 war
-Struts 2 Portlet Webapp
+Portlet Webapp
 
 
 
@@ -90,48 +90,40 @@
 
 javax.portlet
  portlet-api
+2.0
 provided
 
 
 org.apache.struts
 struts2-spring-plugin
+${struts2.version}
 
 
 org.apache.struts
 struts2-portlet-plugin
+${struts2.version}
 
 
 org.apache.struts
 struts2-dwr-plugin
+${struts2.version}
 
 
 org.apache.struts
 struts2-portlet-tiles-plugin
+${struts2.version}
 
 
 
 org.apache.velocity
 velocity
+1.7
 
 
 
 org.apache.velocity
 velocity-tools
-
-
-
-commons-digester
-commons-digester
-
-
-javax.servlet
-servlet-api
-
-
-
-
-commons-fileupload
-commons-fileupload
+2.0
 
 
 
@@ -149,6 +141,7 @@
 
 org.mortbay.jetty
 jetty
+6.1.9
 test
 
 
@@ -175,17 +168,14 @@
 
 org.mortbay.jetty
 jsp-2.1
+6.1.9
 test
 
 
 
-org.apache.commons
-commons-lang3
-
-
-
 xerces
 xercesImpl
+2.10.0
 test
 
 



[12/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_nl.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_nl.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_nl.js
new file mode 100644
index 000..4f6311b
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_nl.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "a.m.",
+  "p.m."
+],
+"DAY": [
+  "zondag",
+  "maandag",
+  "dinsdag",
+  "woensdag",
+  "donderdag",
+  "vrijdag",
+  "zaterdag"
+],
+"ERANAMES": [
+  "voor Christus",
+  "na Christus"
+],
+"ERAS": [
+  "v.Chr.",
+  "n.Chr."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "januari",
+  "februari",
+  "maart",
+  "april",
+  "mei",
+  "juni",
+  "juli",
+  "augustus",
+  "september",
+  "oktober",
+  "november",
+  "december"
+],
+"SHORTDAY": [
+  "zo",
+  "ma",
+  "di",
+  "wo",
+  "do",
+  "vr",
+  "za"
+],
+"SHORTMONTH": [
+  "jan.",
+  "feb.",
+  "mrt.",
+  "apr.",
+  "mei",
+  "jun.",
+  "jul.",
+  "aug.",
+  "sep.",
+  "okt.",
+  "nov.",
+  "dec."
+],
+"STANDALONEMONTH": [
+  "Januari",
+  "Februari",
+  "Maart",
+  "April",
+  "Mei",
+  "Juni",
+  "Juli",
+  "Augustus",
+  "September",
+  "Oktober",
+  "November",
+  "December"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " d  y",
+"longDate": "d  y",
+"medium": "d MMM y HH:mm:ss",
+"mediumDate": "d MMM y",
+"mediumTime": "HH:mm:ss",
+"short": "dd-MM-yy HH:mm",
+"shortDate": "dd-MM-yy",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u20ac",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "\u00a4\u00a0-",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "nl",
+  "localeID": "nl",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_nmg-cm.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_nmg-cm.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_nmg-cm.js
new file mode 100644
index 000..518ef7c
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_nmg-cm.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "man\

[03/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ve.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ve.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ve.js
new file mode 100644
index 000..0acd86f
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ve.js
@@ -0,0 +1,128 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "Swondaha",
+  "Musumbuluwo",
+  "\u1e3cavhuvhili",
+  "\u1e3cavhuraru",
+  "\u1e3cavhu\u1e4ba",
+  "\u1e3cavhu\u1e71anu",
+  "Mugivhela"
+],
+"ERANAMES": [
+  "BCE",
+  "CE"
+],
+"ERAS": [
+  "BCE",
+  "CE"
+],
+"FIRSTDAYOFWEEK": 6,
+"MONTH": [
+  "Phando",
+  "Luhuhi",
+  "\u1e70hafamuhwe",
+  "Lambamai",
+  "Shundunthule",
+  "Fulwi",
+  "Fulwana",
+  "\u1e70hangule",
+  "Khubvumedzi",
+  "Tshimedzi",
+  "\u1e3cara",
+  "Nyendavhusiku"
+],
+"SHORTDAY": [
+  "Swo",
+  "Mus",
+  "Vhi",
+  "Rar",
+  "\u1e4aa",
+  "\u1e70an",
+  "Mug"
+],
+"SHORTMONTH": [
+  "Pha",
+  "Luh",
+  "\u1e70hf",
+  "Lam",
+  "Shu",
+  "Lwi",
+  "Lwa",
+  "\u1e70ha",
+  "Khu",
+  "Tsh",
+  "\u1e3car",
+  "Nye"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": "y  d, ",
+"longDate": "y  d",
+"medium": "y MMM d HH:mm:ss",
+"mediumDate": "y MMM d",
+"mediumTime": "HH:mm:ss",
+"short": "y-MM-dd HH:mm",
+"shortDate": "y-MM-dd",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "R",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "\u00a4-",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "ve",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_vi-vn.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_vi-vn.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_vi-vn.js
new file mode 100644
index 000..bd1ff23
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_vi-vn.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "SA",
+  "CH"
+],
+"DAY": [
+  "Ch\u1ee7 Nh\u1eadt",
+  "Th\u1ee9 Hai",
+  "Th\u1ee9 Ba",
+  "Th\u1ee9 T\u01b0",
+  "Th\u1ee9 N\u0103m",
+  "Th\u1ee9 S\u00e1u",
+  "Th\u1ee9 B\u1ea3y"
+],
+"ERANAMES": [
+  "tr. CN",
+  "sau CN"
+],
+"ERAS": [
+  "tr. CN",
+  "sau CN"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "th\u00e1ng 1",
+  "th\u00e1ng 2",
+  "th\u00e1ng 3",
+  "th\u00e1ng 4",
+  "th\u00e1ng 5",
+  "th\u00e1ng 6",
+  "th\u00e1ng 7",
+  "th\u0

[02/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_zgh-ma.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_zgh-ma.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_zgh-ma.js
new file mode 100644
index 000..70aaf85
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_zgh-ma.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u2d5c\u2d49\u2d3c\u2d30\u2d61\u2d5c",
+  "\u2d5c\u2d30\u2d37\u2d33\u2d33\u2d6f\u2d30\u2d5c"
+],
+"DAY": [
+  "\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59",
+  "\u2d30\u2d62\u2d4f\u2d30\u2d59",
+  "\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59",
+  "\u2d30\u2d3d\u2d55\u2d30\u2d59",
+  "\u2d30\u2d3d\u2d61\u2d30\u2d59",
+  "\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59",
+  "\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59"
+],
+"ERANAMES": [
+  "\u2d37\u2d30\u2d5c \u2d4f \u2d44\u2d49\u2d59\u2d30",
+  "\u2d37\u2d3c\u2d3c\u2d49\u2d54 \u2d4f \u2d44\u2d49\u2d59\u2d30"
+],
+"ERAS": [
+  "\u2d37\u2d30\u2d44",
+  "\u2d37\u2d3c\u2d44"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54",
+  "\u2d31\u2d55\u2d30\u2d62\u2d55",
+  "\u2d4e\u2d30\u2d55\u2d5a",
+  "\u2d49\u2d31\u2d54\u2d49\u2d54",
+  "\u2d4e\u2d30\u2d62\u2d62\u2d53",
+  "\u2d62\u2d53\u2d4f\u2d62\u2d53",
+  "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63",
+  "\u2d56\u2d53\u2d5b\u2d5c",
+  "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54",
+  "\u2d3d\u2d5c\u2d53\u2d31\u2d54",
+  "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54",
+  "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54"
+],
+"SHORTDAY": [
+  "\u2d30\u2d59\u2d30",
+  "\u2d30\u2d62\u2d4f",
+  "\u2d30\u2d59\u2d49",
+  "\u2d30\u2d3d\u2d55",
+  "\u2d30\u2d3d\u2d61",
+  "\u2d30\u2d59\u2d49\u2d4e",
+  "\u2d30\u2d59\u2d49\u2d39"
+],
+"SHORTMONTH": [
+  "\u2d49\u2d4f\u2d4f",
+  "\u2d31\u2d55\u2d30",
+  "\u2d4e\u2d30\u2d55",
+  "\u2d49\u2d31\u2d54",
+  "\u2d4e\u2d30\u2d62",
+  "\u2d62\u2d53\u2d4f",
+  "\u2d62\u2d53\u2d4d",
+  "\u2d56\u2d53\u2d5b",
+  "\u2d5b\u2d53\u2d5c",
+  "\u2d3d\u2d5c\u2d53",
+  "\u2d4f\u2d53\u2d61",
+  "\u2d37\u2d53\u2d4a"
+],
+"STANDALONEMONTH": [
+  "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54",
+  "\u2d31\u2d55\u2d30\u2d62\u2d55",
+  "\u2d4e\u2d30\u2d55\u2d5a",
+  "\u2d49\u2d31\u2d54\u2d49\u2d54",
+  "\u2d4e\u2d30\u2d62\u2d62\u2d53",
+  "\u2d62\u2d53\u2d4f\u2d62\u2d53",
+  "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63",
+  "\u2d56\u2d53\u2d5b\u2d5c",
+  "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54",
+  "\u2d3d\u2d5c\u2d53\u2d31\u2d54",
+  "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54",
+  "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " d  y",
+"longDate": "d  y",
+"medium": "d MMM, y HH:mm:ss",
+"mediumDate": "d MMM, y",
+"mediumTime": "HH:mm:ss",
+"short": "d/M/y HH:mm",
+"shortDate": "d/M/y",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "dh",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a4",
+"posPre": "",
+"posSuf": "\u00a4"
+  }
+]
+  },
+  "id": "zgh-ma",
+  "localeID": "zgh_MA",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wi

[11/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_os-ge.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_os-ge.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_os-ge.js
new file mode 100644
index 000..45f5634
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_os-ge.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b 
\u0440\u0430\u0437\u043c\u04d5",
+  "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b 
\u0444\u04d5\u0441\u0442\u04d5"
+],
+"DAY": [
+  "\u0445\u0443\u044b\u0446\u0430\u0443\u0431\u043e\u043d",
+  "\u043a\u044a\u0443\u044b\u0440\u0438\u0441\u04d5\u0440",
+  "\u0434\u044b\u0446\u0446\u04d5\u0433",
+  "\u04d5\u0440\u0442\u044b\u0446\u0446\u04d5\u0433",
+  "\u0446\u044b\u043f\u043f\u04d5\u0440\u04d5\u043c",
+  "\u043c\u0430\u0439\u0440\u04d5\u043c\u0431\u043e\u043d",
+  "\u0441\u0430\u0431\u0430\u0442"
+],
+"ERANAMES": [
+  "\u043d.\u0434.\u0430.",
+  "\u043d.\u0434."
+],
+"ERAS": [
+  "\u043d.\u0434.\u0430.",
+  "\u043d.\u0434."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "\u044f\u043d\u0432\u0430\u0440\u044b",
+  "\u0444\u0435\u0432\u0440\u0430\u043b\u044b",
+  "\u043c\u0430\u0440\u0442\u044a\u0438\u0439\u044b",
+  "\u0430\u043f\u0440\u0435\u043b\u044b",
+  "\u043c\u0430\u0439\u044b",
+  "\u0438\u044e\u043d\u044b",
+  "\u0438\u044e\u043b\u044b",
+  "\u0430\u0432\u0433\u0443\u0441\u0442\u044b",
+  "\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044b",
+  "\u043e\u043a\u0442\u044f\u0431\u0440\u044b",
+  "\u043d\u043e\u044f\u0431\u0440\u044b",
+  "\u0434\u0435\u043a\u0430\u0431\u0440\u044b"
+],
+"SHORTDAY": [
+  "\u0445\u0446\u0431",
+  "\u043a\u0440\u0441",
+  "\u0434\u0446\u0433",
+  "\u04d5\u0440\u0442",
+  "\u0446\u043f\u0440",
+  "\u043c\u0440\u0431",
+  "\u0441\u0431\u0442"
+],
+"SHORTMONTH": [
+  "\u044f\u043d\u0432.",
+  "\u0444\u0435\u0432.",
+  "\u043c\u0430\u0440.",
+  "\u0430\u043f\u0440.",
+  "\u043c\u0430\u044f",
+  "\u0438\u044e\u043d\u044b",
+  "\u0438\u044e\u043b\u044b",
+  "\u0430\u0432\u0433.",
+  "\u0441\u0435\u043d.",
+  "\u043e\u043a\u0442.",
+  "\u043d\u043e\u044f.",
+  "\u0434\u0435\u043a."
+],
+"STANDALONEMONTH": [
+  "\u042f\u043d\u0432\u0430\u0440\u044c",
+  "\u0424\u0435\u0432\u0440\u0430\u043b\u044c",
+  "\u041c\u0430\u0440\u0442\u044a\u0438",
+  "\u0410\u043f\u0440\u0435\u043b\u044c",
+  "\u041c\u0430\u0439",
+  "\u0418\u044e\u043d\u044c",
+  "\u0418\u044e\u043b\u044c",
+  "\u0410\u0432\u0433\u0443\u0441\u0442",
+  "\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c",
+  "\u041e\u043a\u0442\u044f\u0431\u0440\u044c",
+  "\u041d\u043e\u044f\u0431\u0440\u044c",
+  "\u0414\u0435\u043a\u0430\u0431\u0440\u044c"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d , y '\u0430\u0437'",
+"longDate": "d , y '\u0430\u0437'",
+"medium": "dd MMM y '\u0430\u0437' HH:mm:ss",
+"mediumDate": "dd MMM y '\u0430\u0437'",
+"mediumTime": "HH:mm:ss",
+"short": "dd.MM.yy HH:mm",
+"shortDate": "dd.MM.yy",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "GEL",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "os-ge",
+  "localeID": "os_GE",
+  "plur

[01/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
Repository: struts-archetypes
Updated Branches:
  refs/heads/master [created] 3662396ad


http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-blank/src/main/resources/archetype-resources/LICENSE.txt
--
diff --git 
a/struts2-archetype-blank/src/main/resources/archetype-resources/LICENSE.txt 
b/struts2-archetype-blank/src/main/resources/archetype-resources/LICENSE.txt
new file mode 100644
index 000..dd5b3a5
--- /dev/null
+++ b/struts2-archetype-blank/src/main/resources/archetype-resources/LICENSE.txt
@@ -0,0 +1,174 @@
+ Apache License
+   Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+  "License" shall mean the terms and conditions for use, reproduction,
+  and distribution as defined by Sections 1 through 9 of this document.
+
+  "Licensor" shall mean the copyright owner or entity authorized by
+  the copyright owner that is granting the License.
+
+  "Legal Entity" shall mean the union of the acting entity and all
+  other entities that control, are controlled by, or are under common
+  control with that entity. For the purposes of this definition,
+  "control" means (i) the power, direct or indirect, to cause the
+  direction or management of such entity, whether by contract or
+  otherwise, or (ii) ownership of fifty percent (50%) or more of the
+  outstanding shares, or (iii) beneficial ownership of such entity.
+
+  "You" (or "Your") shall mean an individual or Legal Entity
+  exercising permissions granted by this License.
+
+  "Source" form shall mean the preferred form for making modifications,
+  including but not limited to software source code, documentation
+  source, and configuration files.
+
+  "Object" form shall mean any form resulting from mechanical
+  transformation or translation of a Source form, including but
+  not limited to compiled object code, generated documentation,
+  and conversions to other media types.
+
+  "Work" shall mean the work of authorship, whether in Source or
+  Object form, made available under the License, as indicated by a
+  copyright notice that is included in or attached to the work
+  (an example is provided in the Appendix below).
+
+  "Derivative Works" shall mean any work, whether in Source or Object
+  form, that is based on (or derived from) the Work and for which the
+  editorial revisions, annotations, elaborations, or other modifications
+  represent, as a whole, an original work of authorship. For the purposes
+  of this License, Derivative Works shall not include works that remain
+  separable from, or merely link (or bind by name) to the interfaces of,
+  the Work and Derivative Works thereof.
+
+  "Contribution" shall mean any work of authorship, including
+  the original version of the Work and any modifications or additions
+  to that Work or Derivative Works thereof, that is intentionally
+  submitted to Licensor for inclusion in the Work by the copyright owner
+  or by an individual or Legal Entity authorized to submit on behalf of
+  the copyright owner. For the purposes of this definition, "submitted"
+  means any form of electronic, verbal, or written communication sent
+  to the Licensor or its representatives, including but not limited to
+  communication on electronic mailing lists, source code control systems,
+  and issue tracking systems that are managed by, or on behalf of, the
+  Licensor for the purpose of discussing and improving the Work, but
+  excluding communication that is conspicuously marked or otherwise
+  designated in writing by the copyright owner as "Not a Contribution."
+
+  "Contributor" shall mean Licensor and any individual or Legal Entity
+  on behalf of whom a Contribution has been received by Licensor and
+  subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  copyright license to reproduce, prepare Derivative Works of,
+  publicly display, publicly perform, sublicense, and distribute the
+  Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  (except as stated in this section) patent license to make, have made,
+  use, offer to sell, sell, import, and otherwise transfer the Work,
+  where 

[10/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_qu-bo.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_qu-bo.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_qu-bo.js
new file mode 100644
index 000..b31aa61
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_qu-bo.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "a.m.",
+  "p.m."
+],
+"DAY": [
+  "Domingo",
+  "Lunes",
+  "Martes",
+  "Mi\u00e9rcoles",
+  "Jueves",
+  "Viernes",
+  "S\u00e1bado"
+],
+"ERANAMES": [
+  "BCE",
+  "d.C."
+],
+"ERAS": [
+  "BCE",
+  "d.C."
+],
+"FIRSTDAYOFWEEK": 6,
+"MONTH": [
+  "Qulla puquy",
+  "Hatun puquy",
+  "Pauqar waray",
+  "Ayriwa",
+  "Aymuray",
+  "Inti raymi",
+  "Anta Sitwa",
+  "Qhapaq Sitwa",
+  "Uma raymi",
+  "Kantaray",
+  "Ayamarq\u02bca",
+  "Kapaq Raymi"
+],
+"SHORTDAY": [
+  "Dom",
+  "Lun",
+  "Mar",
+  "Mi\u00e9",
+  "Jue",
+  "Vie",
+  "Sab"
+],
+"SHORTMONTH": [
+  "Qul",
+  "Hat",
+  "Pau",
+  "Ayr",
+  "Aym",
+  "Int",
+  "Ant",
+  "Qha",
+  "Uma",
+  "Kan",
+  "Aya",
+  "Kap"
+],
+"STANDALONEMONTH": [
+  "Qulla puquy",
+  "Hatun puquy",
+  "Pauqar waray",
+  "Ayriwa",
+  "Aymuray",
+  "Inti raymi",
+  "Anta Sitwa",
+  "Qhapaq Sitwa",
+  "Uma raymi",
+  "Kantaray",
+  "Ayamarq\u02bca",
+  "Kapaq Raymi"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d , y",
+"longDate": "y  d",
+"medium": "y MMM d hh:mm:ss a",
+"mediumDate": "y MMM d",
+"mediumTime": "hh:mm:ss a",
+"short": "dd/MM/y hh:mm a",
+"shortDate": "dd/MM/y",
+"shortTime": "hh:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "Bs",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "qu-bo",
+  "localeID": "qu_BO",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_qu-ec.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_qu-ec.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_qu-ec.js
new file mode 100644
index 000..45c55aa
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_qu-ec.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: 

[06/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sw-cd.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sw-cd.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sw-cd.js
new file mode 100644
index 000..5fbbd34
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sw-cd.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "ya asubuyi",
+  "ya muchana"
+],
+"DAY": [
+  "siku ya yenga",
+  "siku ya kwanza",
+  "siku ya pili",
+  "siku ya tatu",
+  "siku ya ine",
+  "siku ya tanu",
+  "siku ya sita"
+],
+"ERANAMES": [
+  "Kabla ya Kristo",
+  "Baada ya Kristo"
+],
+"ERAS": [
+  "BC",
+  "AD"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "mwezi ya kwanja",
+  "mwezi ya pili",
+  "mwezi ya tatu",
+  "mwezi ya ine",
+  "mwezi ya tanu",
+  "mwezi ya sita",
+  "mwezi ya saba",
+  "mwezi ya munane",
+  "mwezi ya tisa",
+  "mwezi ya kumi",
+  "mwezi ya kumi na moya",
+  "mwezi ya kumi ya mbili"
+],
+"SHORTDAY": [
+  "yen",
+  "kwa",
+  "pil",
+  "tat",
+  "ine",
+  "tan",
+  "sit"
+],
+"SHORTMONTH": [
+  "mkw",
+  "mpi",
+  "mtu",
+  "min",
+  "mtn",
+  "mst",
+  "msb",
+  "mun",
+  "mts",
+  "mku",
+  "mkm",
+  "mkb"
+],
+"STANDALONEMONTH": [
+  "Januari",
+  "Februari",
+  "Machi",
+  "Aprili",
+  "Mei",
+  "Juni",
+  "Julai",
+  "Agosti",
+  "Septemba",
+  "Oktoba",
+  "Novemba",
+  "Desemba"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " d  y",
+"longDate": "d  y",
+"medium": "d MMM y HH:mm:ss",
+"mediumDate": "d MMM y",
+"mediumTime": "HH:mm:ss",
+"short": "d/M/y HH:mm",
+"shortDate": "d/M/y",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "FrCD",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "sw-cd",
+  "localeID": "sw_CD",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sw-ke.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sw-ke.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sw-ke.js
new file mode 100644
index 000..ed521a0
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sw-ke.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * 

[05/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_th.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_th.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_th.js
new file mode 100644
index 000..4a8ebc3
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_th.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",
+  "\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"
+],
+"DAY": [
+  "\u0e27\u0e31\u0e19\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c",
+  "\u0e27\u0e31\u0e19\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c",
+  "\u0e27\u0e31\u0e19\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23",
+  "\u0e27\u0e31\u0e19\u0e1e\u0e38\u0e18",
+  "\u0e27\u0e31\u0e19\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35",
+  "\u0e27\u0e31\u0e19\u0e28\u0e38\u0e01\u0e23\u0e4c",
+  "\u0e27\u0e31\u0e19\u0e40\u0e2a\u0e32\u0e23\u0e4c"
+],
+"ERANAMES": [
+  
"\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e28\u0e31\u0e01\u0e23\u0e32\u0e0a",
+  
"\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e28\u0e31\u0e01\u0e23\u0e32\u0e0a"
+],
+"ERAS": [
+  "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19 \u0e04.\u0e28.",
+  "\u0e04.\u0e28."
+],
+"FIRSTDAYOFWEEK": 6,
+"MONTH": [
+  "\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21",
+  "\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c",
+  "\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21",
+  "\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19",
+  "\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21",
+  "\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19",
+  "\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21",
+  "\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21",
+  "\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19",
+  "\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21",
+  "\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19",
+  "\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21"
+],
+"SHORTDAY": [
+  "\u0e2d\u0e32.",
+  "\u0e08.",
+  "\u0e2d.",
+  "\u0e1e.",
+  "\u0e1e\u0e24.",
+  "\u0e28.",
+  "\u0e2a."
+],
+"SHORTMONTH": [
+  "\u0e21.\u0e04.",
+  "\u0e01.\u0e1e.",
+  "\u0e21\u0e35.\u0e04.",
+  "\u0e40\u0e21.\u0e22.",
+  "\u0e1e.\u0e04.",
+  "\u0e21\u0e34.\u0e22.",
+  "\u0e01.\u0e04.",
+  "\u0e2a.\u0e04.",
+  "\u0e01.\u0e22.",
+  "\u0e15.\u0e04.",
+  "\u0e1e.\u0e22.",
+  "\u0e18.\u0e04."
+],
+"STANDALONEMONTH": [
+  "\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21",
+  "\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c",
+  "\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21",
+  "\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19",
+  "\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21",
+  "\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19",
+  "\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21",
+  "\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21",
+  "\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19",
+  "\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21",
+  "\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19",
+  "\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": "\u0e17\u0e35\u0e48 d  G y",
+"longDate": "d  G y",
+"medium": "d MMM y HH:mm:ss",
+"mediumDate": "d MMM y",
+"mediumTime": "HH:mm:ss",
+"short": "d/M/yy HH:mm",
+"shortDate": "d/M/yy",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u0e3f",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": ",",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "th",
+  "localeID": "th",
+  "pluralCat": function(n, opt_precision) {  return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-

[09/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_rw.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_rw.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_rw.js
new file mode 100644
index 000..1180602
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_rw.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "Ku cyumweru",
+  "Kuwa mbere",
+  "Kuwa kabiri",
+  "Kuwa gatatu",
+  "Kuwa kane",
+  "Kuwa gatanu",
+  "Kuwa gatandatu"
+],
+"ERANAMES": [
+  "BCE",
+  "CE"
+],
+"ERAS": [
+  "BCE",
+  "CE"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "Mutarama",
+  "Gashyantare",
+  "Werurwe",
+  "Mata",
+  "Gicuransi",
+  "Kamena",
+  "Nyakanga",
+  "Kanama",
+  "Nzeli",
+  "Ukwakira",
+  "Ugushyingo",
+  "Ukuboza"
+],
+"SHORTDAY": [
+  "cyu.",
+  "mbe.",
+  "kab.",
+  "gtu.",
+  "kan.",
+  "gnu.",
+  "gnd."
+],
+"SHORTMONTH": [
+  "mut.",
+  "gas.",
+  "wer.",
+  "mat.",
+  "gic.",
+  "kam.",
+  "nya.",
+  "kan.",
+  "nze.",
+  "ukw.",
+  "ugu.",
+  "uku."
+],
+"STANDALONEMONTH": [
+  "Mutarama",
+  "Gashyantare",
+  "Werurwe",
+  "Mata",
+  "Gicuransi",
+  "Kamena",
+  "Nyakanga",
+  "Kanama",
+  "Nzeli",
+  "Ukwakira",
+  "Ugushyingo",
+  "Ukuboza"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", y  dd",
+"longDate": "y  d",
+"medium": "y MMM d HH:mm:ss",
+"mediumDate": "y MMM d",
+"mediumTime": "HH:mm:ss",
+"short": "yy/MM/dd HH:mm",
+"shortDate": "yy/MM/dd",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "RF",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "rw",
+  "localeID": "rw",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_rwk-tz.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_rwk-tz.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_rwk-tz.js
new file mode 100644
index 000..7e84593
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_rwk-tz.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMAT

[08/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_shi-tfng.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_shi-tfng.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_shi-tfng.js
new file mode 100644
index 000..be8968d
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_shi-tfng.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u2d5c\u2d49\u2d3c\u2d30\u2d61\u2d5c",
+  "\u2d5c\u2d30\u2d37\u2d33\u2d33\u2d6f\u2d30\u2d5c"
+],
+"DAY": [
+  "\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59",
+  "\u2d30\u2d62\u2d4f\u2d30\u2d59",
+  "\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59",
+  "\u2d30\u2d3d\u2d55\u2d30\u2d59",
+  "\u2d30\u2d3d\u2d61\u2d30\u2d59",
+  "\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59",
+  "\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59"
+],
+"ERANAMES": [
+  "\u2d37\u2d30\u2d5c \u2d4f \u2d44\u2d49\u2d59\u2d30",
+  "\u2d37\u2d3c\u2d3c\u2d49\u2d54 \u2d4f \u2d44\u2d49\u2d59\u2d30"
+],
+"ERAS": [
+  "\u2d37\u2d30\u2d44",
+  "\u2d37\u2d3c\u2d44"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54",
+  "\u2d31\u2d55\u2d30\u2d62\u2d55",
+  "\u2d4e\u2d30\u2d55\u2d5a",
+  "\u2d49\u2d31\u2d54\u2d49\u2d54",
+  "\u2d4e\u2d30\u2d62\u2d62\u2d53",
+  "\u2d62\u2d53\u2d4f\u2d62\u2d53",
+  "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63",
+  "\u2d56\u2d53\u2d5b\u2d5c",
+  "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54",
+  "\u2d3d\u2d5c\u2d53\u2d31\u2d54",
+  "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54",
+  "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54"
+],
+"SHORTDAY": [
+  "\u2d30\u2d59\u2d30",
+  "\u2d30\u2d62\u2d4f",
+  "\u2d30\u2d59\u2d49",
+  "\u2d30\u2d3d\u2d55",
+  "\u2d30\u2d3d\u2d61",
+  "\u2d30\u2d59\u2d49\u2d4e",
+  "\u2d30\u2d59\u2d49\u2d39"
+],
+"SHORTMONTH": [
+  "\u2d49\u2d4f\u2d4f",
+  "\u2d31\u2d55\u2d30",
+  "\u2d4e\u2d30\u2d55",
+  "\u2d49\u2d31\u2d54",
+  "\u2d4e\u2d30\u2d62",
+  "\u2d62\u2d53\u2d4f",
+  "\u2d62\u2d53\u2d4d",
+  "\u2d56\u2d53\u2d5b",
+  "\u2d5b\u2d53\u2d5c",
+  "\u2d3d\u2d5c\u2d53",
+  "\u2d4f\u2d53\u2d61",
+  "\u2d37\u2d53\u2d4a"
+],
+"STANDALONEMONTH": [
+  "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54",
+  "\u2d31\u2d55\u2d30\u2d62\u2d55",
+  "\u2d4e\u2d30\u2d55\u2d5a",
+  "\u2d49\u2d31\u2d54\u2d49\u2d54",
+  "\u2d4e\u2d30\u2d62\u2d62\u2d53",
+  "\u2d62\u2d53\u2d4f\u2d62\u2d53",
+  "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63",
+  "\u2d56\u2d53\u2d5b\u2d5c",
+  "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54",
+  "\u2d3d\u2d5c\u2d53\u2d31\u2d54",
+  "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54",
+  "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " d  y",
+"longDate": "d  y",
+"medium": "d MMM, y HH:mm:ss",
+"mediumDate": "d MMM, y",
+"mediumTime": "HH:mm:ss",
+"short": "d/M/y HH:mm",
+"shortDate": "d/M/y",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "dh",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a4",
+"posPre": "",
+"posSuf": "\u00a4"
+  }
+]
+  },
+  "id": "shi-tfng",
+  "localeID": "shi_Tfng",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://

[14/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mfe.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mfe.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mfe.js
new file mode 100644
index 000..e48e27b
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mfe.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "dimans",
+  "lindi",
+  "mardi",
+  "merkredi",
+  "zedi",
+  "vandredi",
+  "samdi"
+],
+"ERANAMES": [
+  "avan Zezi-Krist",
+  "apre Zezi-Krist"
+],
+"ERAS": [
+  "av. Z-K",
+  "ap. Z-K"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "zanvie",
+  "fevriye",
+  "mars",
+  "avril",
+  "me",
+  "zin",
+  "zilye",
+  "out",
+  "septam",
+  "oktob",
+  "novam",
+  "desam"
+],
+"SHORTDAY": [
+  "dim",
+  "lin",
+  "mar",
+  "mer",
+  "ze",
+  "van",
+  "sam"
+],
+"SHORTMONTH": [
+  "zan",
+  "fev",
+  "mar",
+  "avr",
+  "me",
+  "zin",
+  "zil",
+  "out",
+  "sep",
+  "okt",
+  "nov",
+  "des"
+],
+"STANDALONEMONTH": [
+  "zanvie",
+  "fevriye",
+  "mars",
+  "avril",
+  "me",
+  "zin",
+  "zilye",
+  "out",
+  "septam",
+  "oktob",
+  "novam",
+  "desam"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " d  y",
+"longDate": "d  y",
+"medium": "d MMM, y HH:mm:ss",
+"mediumDate": "d MMM, y",
+"mediumTime": "HH:mm:ss",
+"short": "d/M/y HH:mm",
+"shortDate": "d/M/y",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "MURs",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "mfe",
+  "localeID": "mfe",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mg-mg.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mg-mg.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mg-mg.js
new file mode 100644
index 000..1bb99a0
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mg-mg.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "Alahady",

[19/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_hr-ba.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_hr-ba.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_hr-ba.js
new file mode 100644
index 000..a01047f
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_hr-ba.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "nedjelja",
+  "ponedjeljak",
+  "utorak",
+  "srijeda",
+  "\u010detvrtak",
+  "petak",
+  "subota"
+],
+"ERANAMES": [
+  "Prije Krista",
+  "Poslije Krista"
+],
+"ERAS": [
+  "pr. Kr.",
+  "p. Kr."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "sije\u010dnja",
+  "velja\u010de",
+  "o\u017eujka",
+  "travnja",
+  "svibnja",
+  "lipnja",
+  "srpnja",
+  "kolovoza",
+  "rujna",
+  "listopada",
+  "studenoga",
+  "prosinca"
+],
+"SHORTDAY": [
+  "ned",
+  "pon",
+  "uto",
+  "sri",
+  "\u010det",
+  "pet",
+  "sub"
+],
+"SHORTMONTH": [
+  "sij",
+  "velj",
+  "o\u017eu",
+  "tra",
+  "svi",
+  "lip",
+  "srp",
+  "kol",
+  "ruj",
+  "lis",
+  "stu",
+  "pro"
+],
+"STANDALONEMONTH": [
+  "sije\u010danj",
+  "velja\u010da",
+  "o\u017eujak",
+  "travanj",
+  "svibanj",
+  "lipanj",
+  "srpanj",
+  "kolovoz",
+  "rujan",
+  "listopad",
+  "studeni",
+  "prosinac"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d.  y.",
+"longDate": "d.  y.",
+"medium": "d. MMM y. HH:mm:ss",
+"mediumDate": "d. MMM y.",
+"mediumTime": "HH:mm:ss",
+"short": "dd.MM.y. HH:mm",
+"shortDate": "dd.MM.y.",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "KM",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a0\u00a4",
+"posPre": "",
+"posSuf": "\u00a0\u00a4"
+  }
+]
+  },
+  "id": "hr-ba",
+  "localeID": "hr_BA",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 
1 && vf.f % 100 != 11) {return PLURAL_CATEGORY.ONE;  }  if (vf.v == 0 && i 
% 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && 
vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {return 
PLURAL_CATEGORY.FEW;  }  return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_hr-hr.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_hr-hr.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_hr-hr.js
new file mode 100644
index 000..31f0059
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_hr-hr.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.leng

[29/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_de-li.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_de-li.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_de-li.js
new file mode 100644
index 000..fa93e9d
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_de-li.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "vorm.",
+  "nachm."
+],
+"DAY": [
+  "Sonntag",
+  "Montag",
+  "Dienstag",
+  "Mittwoch",
+  "Donnerstag",
+  "Freitag",
+  "Samstag"
+],
+"ERANAMES": [
+  "v. Chr.",
+  "n. Chr."
+],
+"ERAS": [
+  "v. Chr.",
+  "n. Chr."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "Januar",
+  "Februar",
+  "M\u00e4rz",
+  "April",
+  "Mai",
+  "Juni",
+  "Juli",
+  "August",
+  "September",
+  "Oktober",
+  "November",
+  "Dezember"
+],
+"SHORTDAY": [
+  "So.",
+  "Mo.",
+  "Di.",
+  "Mi.",
+  "Do.",
+  "Fr.",
+  "Sa."
+],
+"SHORTMONTH": [
+  "Jan.",
+  "Feb.",
+  "M\u00e4rz",
+  "Apr.",
+  "Mai",
+  "Juni",
+  "Juli",
+  "Aug.",
+  "Sep.",
+  "Okt.",
+  "Nov.",
+  "Dez."
+],
+"STANDALONEMONTH": [
+  "Januar",
+  "Februar",
+  "M\u00e4rz",
+  "April",
+  "Mai",
+  "Juni",
+  "Juli",
+  "August",
+  "September",
+  "Oktober",
+  "November",
+  "Dezember"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d.  y",
+"longDate": "d.  y",
+"medium": "dd.MM.y HH:mm:ss",
+"mediumDate": "dd.MM.y",
+"mediumTime": "HH:mm:ss",
+"short": "dd.MM.yy HH:mm",
+"shortDate": "dd.MM.yy",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "CHF",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": "'",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "de-li",
+  "localeID": "de_LI",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_de-lu.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_de-lu.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_de-lu.js
new file mode 100644
index 000..2bca130
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_de-lu.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"

[20/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_gl-es.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_gl-es.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_gl-es.js
new file mode 100644
index 000..9c68a40
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_gl-es.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "a.m.",
+  "p.m."
+],
+"DAY": [
+  "domingo",
+  "luns",
+  "martes",
+  "m\u00e9rcores",
+  "xoves",
+  "venres",
+  "s\u00e1bado"
+],
+"ERANAMES": [
+  "antes de Cristo",
+  "despois de Cristo"
+],
+"ERAS": [
+  "a.C.",
+  "d.C."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "xaneiro",
+  "febreiro",
+  "marzo",
+  "abril",
+  "maio",
+  "xu\u00f1o",
+  "xullo",
+  "agosto",
+  "setembro",
+  "outubro",
+  "novembro",
+  "decembro"
+],
+"SHORTDAY": [
+  "dom",
+  "lun",
+  "mar",
+  "m\u00e9r",
+  "xov",
+  "ven",
+  "s\u00e1b"
+],
+"SHORTMONTH": [
+  "xan",
+  "feb",
+  "mar",
+  "abr",
+  "mai",
+  "xu\u00f1",
+  "xul",
+  "ago",
+  "set",
+  "out",
+  "nov",
+  "dec"
+],
+"STANDALONEMONTH": [
+  "Xaneiro",
+  "Febreiro",
+  "Marzo",
+  "Abril",
+  "Maio",
+  "Xu\u00f1o",
+  "Xullo",
+  "Agosto",
+  "Setembro",
+  "Outubro",
+  "Novembro",
+  "Decembro"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " dd  y",
+"longDate": "dd  y",
+"medium": "d MMM, y HH:mm:ss",
+"mediumDate": "d MMM, y",
+"mediumTime": "HH:mm:ss",
+"short": "dd/MM/yy HH:mm",
+"shortDate": "dd/MM/yy",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u20ac",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "gl-es",
+  "localeID": "gl_ES",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_gl.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_gl.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_gl.js
new file mode 100644
index 000..966ef01
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_gl.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS

[44/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-messages.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-messages.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-messages.js
new file mode 100644
index 000..0d20623
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-messages.js
@@ -0,0 +1,687 @@
+/**
+ * @license AngularJS v1.5.0
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
+ * License: MIT
+ */
+(function(window, angular, undefined) {'use strict';
+
+/* jshint ignore:start */
+// this code is in the core, but not in angular-messages.js
+var isArray = angular.isArray;
+var forEach = angular.forEach;
+var isString = angular.isString;
+var jqLite = angular.element;
+/* jshint ignore:end */
+
+/**
+ * @ngdoc module
+ * @name ngMessages
+ * @description
+ *
+ * The `ngMessages` module provides enhanced support for displaying messages 
within templates
+ * (typically within forms or when rendering message objects that return 
key/value data).
+ * Instead of relying on JavaScript code and/or complex ng-if statements 
within your form template to
+ * show and hide error messages specific to the state of an input field, the 
`ngMessages` and
+ * `ngMessage` directives are designed to handle the complexity, inheritance 
and priority
+ * sequencing based on the order of how the messages are defined in the 
template.
+ *
+ * Currently, the ngMessages module only contains the code for the 
`ngMessages`, `ngMessagesInclude`
+ * `ngMessage` and `ngMessageExp` directives.
+ *
+ * # Usage
+ * The `ngMessages` directive listens on a key/value collection which is set 
on the ngMessages attribute.
+ * Since the {@link ngModel ngModel} directive exposes an `$error` object, 
this error object can be
+ * used with `ngMessages` to display control error messages in an easier way 
than with just regular angular
+ * template directives.
+ *
+ * ```html
+ * 
+ *   
+ * Enter text:
+ * 
+ *   
+ *   
+ * You did not enter a field
+ * 
+ *   Your email must be between 5 and 100 characters long
+ * 
+ *   
+ * 
+ * ```
+ *
+ * Now whatever key/value entries are present within the provided object (in 
this case `$error`) then
+ * the ngMessages directive will render the inner first ngMessage directive 
(depending if the key values
+ * match the attribute value present on each ngMessage directive). In other 
words, if your errors
+ * object contains the following data:
+ *
+ * ```javascript
+ * 
+ * myField.$error = { minlength : true, required : true };
+ * ```
+ *
+ * Then the `required` message will be displayed first. When required is false 
then the `minlength` message
+ * will be displayed right after (since these messages are ordered this way in 
the template HTML code).
+ * The prioritization of each message is determined by what order they're 
present in the DOM.
+ * Therefore, instead of having custom JavaScript code determine the priority 
of what errors are
+ * present before others, the presentation of the errors are handled within 
the template.
+ *
+ * By default, ngMessages will only display one error at a time. However, if 
you wish to display all
+ * messages then the `ng-messages-multiple` attribute flag can be used on the 
element containing the
+ * ngMessages directive to make this happen.
+ *
+ * ```html
+ * 
+ * ...
+ *
+ * 
+ * ...
+ * ```
+ *
+ * ## Reusing and Overriding Messages
+ * In addition to prioritization, ngMessages also allows for including 
messages from a remote or an inline
+ * template. This allows for generic collection of messages to be reused 
across multiple parts of an
+ * application.
+ *
+ * ```html
+ * 
+ *   
This field is required
+ *
This field is too short
+ * + * + * + * + * + * ``` + * + * However, including generic messages may not be useful enough to match all input fields, therefore, + * `ngMessages` provides the ability to override messages defined in the remote template by redefining + * them within the directive container. + * + * ```html + * + * + *
This field is required
+ *
This field is too short
+ * + * + * + * + * Email address + * + * + * + * + * + * You did not enter your email address + * + * + * Your email address is invalid + * + * + * + * + * + * ``` + * + * In the example HTML code above the message that is set on required will override the corresponding + * required message defined within the remote template. Therefore, wit

[28/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-001.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-001.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-001.js
new file mode 100644
index 000..568867f
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-001.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "Sunday",
+  "Monday",
+  "Tuesday",
+  "Wednesday",
+  "Thursday",
+  "Friday",
+  "Saturday"
+],
+"ERANAMES": [
+  "Before Christ",
+  "Anno Domini"
+],
+"ERAS": [
+  "BC",
+  "AD"
+],
+"FIRSTDAYOFWEEK": 6,
+"MONTH": [
+  "January",
+  "February",
+  "March",
+  "April",
+  "May",
+  "June",
+  "July",
+  "August",
+  "September",
+  "October",
+  "November",
+  "December"
+],
+"SHORTDAY": [
+  "Sun",
+  "Mon",
+  "Tue",
+  "Wed",
+  "Thu",
+  "Fri",
+  "Sat"
+],
+"SHORTMONTH": [
+  "Jan",
+  "Feb",
+  "Mar",
+  "Apr",
+  "May",
+  "Jun",
+  "Jul",
+  "Aug",
+  "Sep",
+  "Oct",
+  "Nov",
+  "Dec"
+],
+"STANDALONEMONTH": [
+  "January",
+  "February",
+  "March",
+  "April",
+  "May",
+  "June",
+  "July",
+  "August",
+  "September",
+  "October",
+  "November",
+  "December"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d  y",
+"longDate": "d  y",
+"medium": "d MMM y h:mm:ss a",
+"mediumDate": "d MMM y",
+"mediumTime": "h:mm:ss a",
+"short": "dd/MM/y h:mm a",
+"shortDate": "dd/MM/y",
+"shortTime": "h:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "$",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": ",",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "en-001",
+  "localeID": "en_001",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-150.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-150.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-150.js
new file mode 100644
index 000..0768eb8
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-150.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"

[49/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.js
new file mode 100644
index 000..2778fc5
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.js
@@ -0,0 +1,4121 @@
+/**
+ * @license AngularJS v1.5.0
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
+ * License: MIT
+ */
+(function(window, angular, undefined) {'use strict';
+
+/* jshint ignore:start */
+var noop= angular.noop;
+var copy= angular.copy;
+var extend  = angular.extend;
+var jqLite  = angular.element;
+var forEach = angular.forEach;
+var isArray = angular.isArray;
+var isString= angular.isString;
+var isObject= angular.isObject;
+var isUndefined = angular.isUndefined;
+var isDefined   = angular.isDefined;
+var isFunction  = angular.isFunction;
+var isElement   = angular.isElement;
+
+var ELEMENT_NODE = 1;
+var COMMENT_NODE = 8;
+
+var ADD_CLASS_SUFFIX = '-add';
+var REMOVE_CLASS_SUFFIX = '-remove';
+var EVENT_CLASS_PREFIX = 'ng-';
+var ACTIVE_CLASS_SUFFIX = '-active';
+var PREPARE_CLASS_SUFFIX = '-prepare';
+
+var NG_ANIMATE_CLASSNAME = 'ng-animate';
+var NG_ANIMATE_CHILDREN_DATA = '$$ngAnimateChildren';
+
+// Detect proper transitionend/animationend event names.
+var CSS_PREFIX = '', TRANSITION_PROP, TRANSITIONEND_EVENT, ANIMATION_PROP, 
ANIMATIONEND_EVENT;
+
+// If unprefixed events are not supported but webkit-prefixed are, use the 
latter.
+// Otherwise, just use W3C names, browsers not supporting them at all will 
just ignore them.
+// Note: Chrome implements `window.onwebkitanimationend` and doesn't implement 
`window.onanimationend`
+// but at the same time dispatches the `animationend` event and not 
`webkitAnimationEnd`.
+// Register both events in case `window.onanimationend` is not supported 
because of that,
+// do the same for `transitionend` as Safari is likely to exhibit similar 
behavior.
+// Also, the only modern browser that uses vendor prefixes for 
transitions/keyframes is webkit
+// therefore there is no reason to test anymore for other vendor prefixes:
+// http://caniuse.com/#search=transition
+if (isUndefined(window.ontransitionend) && 
isDefined(window.onwebkittransitionend)) {
+  CSS_PREFIX = '-webkit-';
+  TRANSITION_PROP = 'WebkitTransition';
+  TRANSITIONEND_EVENT = 'webkitTransitionEnd transitionend';
+} else {
+  TRANSITION_PROP = 'transition';
+  TRANSITIONEND_EVENT = 'transitionend';
+}
+
+if (isUndefined(window.onanimationend) && 
isDefined(window.onwebkitanimationend)) {
+  CSS_PREFIX = '-webkit-';
+  ANIMATION_PROP = 'WebkitAnimation';
+  ANIMATIONEND_EVENT = 'webkitAnimationEnd animationend';
+} else {
+  ANIMATION_PROP = 'animation';
+  ANIMATIONEND_EVENT = 'animationend';
+}
+
+var DURATION_KEY = 'Duration';
+var PROPERTY_KEY = 'Property';
+var DELAY_KEY = 'Delay';
+var TIMING_KEY = 'TimingFunction';
+var ANIMATION_ITERATION_COUNT_KEY = 'IterationCount';
+var ANIMATION_PLAYSTATE_KEY = 'PlayState';
+var SAFE_FAST_FORWARD_DURATION_VALUE = ;
+
+var ANIMATION_DELAY_PROP = ANIMATION_PROP + DELAY_KEY;
+var ANIMATION_DURATION_PROP = ANIMATION_PROP + DURATION_KEY;
+var TRANSITION_DELAY_PROP = TRANSITION_PROP + DELAY_KEY;
+var TRANSITION_DURATION_PROP = TRANSITION_PROP + DURATION_KEY;
+
+var isPromiseLike = function(p) {
+  return p && p.then ? true : false;
+};
+
+var ngMinErr = angular.$$minErr('ng');
+function assertArg(arg, name, reason) {
+  if (!arg) {
+throw ngMinErr('areq', "Argument '{0}' is {1}", (name || '?'), (reason || 
"required"));
+  }
+  return arg;
+}
+
+function mergeClasses(a,b) {
+  if (!a && !b) return '';
+  if (!a) return b;
+  if (!b) return a;
+  if (isArray(a)) a = a.join(' ');
+  if (isArray(b)) b = b.join(' ');
+  return a + ' ' + b;
+}
+
+function packageStyles(options) {
+  var styles = {};
+  if (options && (options.to || options.from)) {
+styles.to = options.to;
+styles.from = options.from;
+  }
+  return styles;
+}
+
+function pendClasses(classes, fix, isPrefix) {
+  var className = '';
+  classes = isArray(classes)
+  ? classes
+  : classes && isString(classes) && classes.length
+  ? classes.split(/\s+/)
+  : [];
+  forEach(classes, function(klass, i) {
+if (klass && klass.length > 0) {
+  className += (i > 0) ? ' ' : '';
+  className += isPrefix ? fix + klass
+: klass + fix;
+}
+  });
+  return className;
+}
+
+function removeFromArray(arr, val) {
+  var index = arr.indexOf(val);
+  if (val >= 0) {
+arr.splice(index,

[15/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ln-cd.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ln-cd.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ln-cd.js
new file mode 100644
index 000..d46aa94
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ln-cd.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "nt\u0254\u0301ng\u0254\u0301",
+  "mp\u00f3kwa"
+],
+"DAY": [
+  "eyenga",
+  "mok\u0254l\u0254 mwa yambo",
+  "mok\u0254l\u0254 mwa m\u00edbal\u00e9",
+  "mok\u0254l\u0254 mwa m\u00eds\u00e1to",
+  "mok\u0254l\u0254 ya m\u00edn\u00e9i",
+  "mok\u0254l\u0254 ya m\u00edt\u00e1no",
+  "mp\u0254\u0301s\u0254"
+],
+"ERANAMES": [
+  "Yambo ya Y\u00e9zu Kr\u00eds",
+  "Nsima ya Y\u00e9zu Kr\u00eds"
+],
+"ERAS": [
+  "lib\u00f3so ya",
+  "nsima ya Y"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "s\u00e1nz\u00e1 ya yambo",
+  "s\u00e1nz\u00e1 ya m\u00edbal\u00e9",
+  "s\u00e1nz\u00e1 ya m\u00eds\u00e1to",
+  "s\u00e1nz\u00e1 ya m\u00ednei",
+  "s\u00e1nz\u00e1 ya m\u00edt\u00e1no",
+  "s\u00e1nz\u00e1 ya mot\u00f3b\u00e1",
+  "s\u00e1nz\u00e1 ya nsambo",
+  "s\u00e1nz\u00e1 ya mwambe",
+  "s\u00e1nz\u00e1 ya libwa",
+  "s\u00e1nz\u00e1 ya z\u00f3mi",
+  "s\u00e1nz\u00e1 ya z\u00f3mi na m\u0254\u030ck\u0254\u0301",
+  "s\u00e1nz\u00e1 ya z\u00f3mi na m\u00edbal\u00e9"
+],
+"SHORTDAY": [
+  "eye",
+  "ybo",
+  "mbl",
+  "mst",
+  "min",
+  "mtn",
+  "mps"
+],
+"SHORTMONTH": [
+  "yan",
+  "fbl",
+  "msi",
+  "apl",
+  "mai",
+  "yun",
+  "yul",
+  "agt",
+  "stb",
+  "\u0254tb",
+  "nvb",
+  "dsb"
+],
+"STANDALONEMONTH": [
+  "s\u00e1nz\u00e1 ya yambo",
+  "s\u00e1nz\u00e1 ya m\u00edbal\u00e9",
+  "s\u00e1nz\u00e1 ya m\u00eds\u00e1to",
+  "s\u00e1nz\u00e1 ya m\u00ednei",
+  "s\u00e1nz\u00e1 ya m\u00edt\u00e1no",
+  "s\u00e1nz\u00e1 ya mot\u00f3b\u00e1",
+  "s\u00e1nz\u00e1 ya nsambo",
+  "s\u00e1nz\u00e1 ya mwambe",
+  "s\u00e1nz\u00e1 ya libwa",
+  "s\u00e1nz\u00e1 ya z\u00f3mi",
+  "s\u00e1nz\u00e1 ya z\u00f3mi na m\u0254\u030ck\u0254\u0301",
+  "s\u00e1nz\u00e1 ya z\u00f3mi na m\u00edbal\u00e9"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " d  y",
+"longDate": "d  y",
+"medium": "d MMM y HH:mm:ss",
+"mediumDate": "d MMM y",
+"mediumTime": "HH:mm:ss",
+"short": "d/M/y HH:mm",
+"shortDate": "d/M/y",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "FrCD",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a0\u00a4",
+"posPre": "",
+"posSuf": "\u00a0\u00a4"
+  }
+]
+  },
+  "id": "ln-cd",
+  "localeID": "ln_CD",
+  "pluralCat": function(n, opt_precision) {  if (n >= 0 && n <= 1) {return 
PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ln-cf.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ln-cf.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ln-cf.js
new file mode 100644
index 000..8a2d999
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ln-cf.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", F

[22/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-bi.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-bi.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-bi.js
new file mode 100644
index 000..52bb8fc
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-bi.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "dimanche",
+  "lundi",
+  "mardi",
+  "mercredi",
+  "jeudi",
+  "vendredi",
+  "samedi"
+],
+"ERANAMES": [
+  "avant J\u00e9sus-Christ",
+  "apr\u00e8s J\u00e9sus-Christ"
+],
+"ERAS": [
+  "av. J.-C.",
+  "ap. J.-C."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "janvier",
+  "f\u00e9vrier",
+  "mars",
+  "avril",
+  "mai",
+  "juin",
+  "juillet",
+  "ao\u00fbt",
+  "septembre",
+  "octobre",
+  "novembre",
+  "d\u00e9cembre"
+],
+"SHORTDAY": [
+  "dim.",
+  "lun.",
+  "mar.",
+  "mer.",
+  "jeu.",
+  "ven.",
+  "sam."
+],
+"SHORTMONTH": [
+  "janv.",
+  "f\u00e9vr.",
+  "mars",
+  "avr.",
+  "mai",
+  "juin",
+  "juil.",
+  "ao\u00fbt",
+  "sept.",
+  "oct.",
+  "nov.",
+  "d\u00e9c."
+],
+"STANDALONEMONTH": [
+  "Janvier",
+  "F\u00e9vrier",
+  "Mars",
+  "Avril",
+  "Mai",
+  "Juin",
+  "Juillet",
+  "Ao\u00fbt",
+  "Septembre",
+  "Octobre",
+  "Novembre",
+  "D\u00e9cembre"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " d  y",
+"longDate": "d  y",
+"medium": "d MMM y HH:mm:ss",
+"mediumDate": "d MMM y",
+"mediumTime": "HH:mm:ss",
+"short": "dd/MM/y HH:mm",
+"shortDate": "dd/MM/y",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "FBu",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a0\u00a4",
+"posPre": "",
+"posSuf": "\u00a0\u00a4"
+  }
+]
+  },
+  "id": "fr-bi",
+  "localeID": "fr_BI",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i 
== 1) {return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-bj.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-bj.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-bj.js
new file mode 100644
index 000..19ee686
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-bj.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "dimanche",
+  "lundi",
+  "mardi",
+  "mercredi",
+  "jeudi",
+  "vendredi",
+  "samedi"
+],
+"ERANAMES": [
+  "avant J\u00e9sus-Christ",
+  "apr\u00e8s J\u00e9sus-Christ"
+],
+"ERAS": [
+  "av. J.-C.",
+  "ap. J.-C."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "janvier",
+  "f\u00e9vrier",
+  "mars",
+  "avril",
+  "mai",
+  "juin",
+  "juillet",
+  "ao\u00fbt",
+  "septembre",
+  "octobre",
+  "novembre",
+  "d\u00e9cembre"
+],
+"SHORTDAY": [
+  "dim.",
+  "lun.",
+

[27/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-gd.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-gd.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-gd.js
new file mode 100644
index 000..1afb4c7
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-gd.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "Sunday",
+  "Monday",
+  "Tuesday",
+  "Wednesday",
+  "Thursday",
+  "Friday",
+  "Saturday"
+],
+"ERANAMES": [
+  "Before Christ",
+  "Anno Domini"
+],
+"ERAS": [
+  "BC",
+  "AD"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "January",
+  "February",
+  "March",
+  "April",
+  "May",
+  "June",
+  "July",
+  "August",
+  "September",
+  "October",
+  "November",
+  "December"
+],
+"SHORTDAY": [
+  "Sun",
+  "Mon",
+  "Tue",
+  "Wed",
+  "Thu",
+  "Fri",
+  "Sat"
+],
+"SHORTMONTH": [
+  "Jan",
+  "Feb",
+  "Mar",
+  "Apr",
+  "May",
+  "Jun",
+  "Jul",
+  "Aug",
+  "Sep",
+  "Oct",
+  "Nov",
+  "Dec"
+],
+"STANDALONEMONTH": [
+  "January",
+  "February",
+  "March",
+  "April",
+  "May",
+  "June",
+  "July",
+  "August",
+  "September",
+  "October",
+  "November",
+  "December"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d  y",
+"longDate": "d  y",
+"medium": "d MMM y h:mm:ss a",
+"mediumDate": "d MMM y",
+"mediumTime": "h:mm:ss a",
+"short": "dd/MM/y h:mm a",
+"shortDate": "dd/MM/y",
+"shortTime": "h:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "$",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": ",",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "en-gd",
+  "localeID": "en_GD",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-gg.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-gg.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-gg.js
new file mode 100644
index 000..973cbc5
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-gg.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+

[34/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ar-eh.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ar-eh.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ar-eh.js
new file mode 100644
index 000..a1e4460
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ar-eh.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u0635",
+  "\u0645"
+],
+"DAY": [
+  "\u0627\u0644\u0623\u062d\u062f",
+  "\u0627\u0644\u0627\u062b\u0646\u064a\u0646",
+  "\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621",
+  "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",
+  "\u0627\u0644\u062e\u0645\u064a\u0633",
+  "\u0627\u0644\u062c\u0645\u0639\u0629",
+  "\u0627\u0644\u0633\u0628\u062a"
+],
+"ERANAMES": [
+  "\u0642\u0628\u0644 \u0627\u0644\u0645\u064a\u0644\u0627\u062f",
+  "\u0645\u064a\u0644\u0627\u062f\u064a"
+],
+"ERAS": [
+  "\u0642.\u0645",
+  "\u0645"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "\u064a\u0646\u0627\u064a\u0631",
+  "\u0641\u0628\u0631\u0627\u064a\u0631",
+  "\u0645\u0627\u0631\u0633",
+  "\u0623\u0628\u0631\u064a\u0644",
+  "\u0645\u0627\u064a\u0648",
+  "\u064a\u0648\u0646\u064a\u0648",
+  "\u064a\u0648\u0644\u064a\u0648",
+  "\u0623\u063a\u0633\u0637\u0633",
+  "\u0633\u0628\u062a\u0645\u0628\u0631",
+  "\u0623\u0643\u062a\u0648\u0628\u0631",
+  "\u0646\u0648\u0641\u0645\u0628\u0631",
+  "\u062f\u064a\u0633\u0645\u0628\u0631"
+],
+"SHORTDAY": [
+  "\u0627\u0644\u0623\u062d\u062f",
+  "\u0627\u0644\u0627\u062b\u0646\u064a\u0646",
+  "\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621",
+  "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",
+  "\u0627\u0644\u062e\u0645\u064a\u0633",
+  "\u0627\u0644\u062c\u0645\u0639\u0629",
+  "\u0627\u0644\u0633\u0628\u062a"
+],
+"SHORTMONTH": [
+  "\u064a\u0646\u0627\u064a\u0631",
+  "\u0641\u0628\u0631\u0627\u064a\u0631",
+  "\u0645\u0627\u0631\u0633",
+  "\u0623\u0628\u0631\u064a\u0644",
+  "\u0645\u0627\u064a\u0648",
+  "\u064a\u0648\u0646\u064a\u0648",
+  "\u064a\u0648\u0644\u064a\u0648",
+  "\u0623\u063a\u0633\u0637\u0633",
+  "\u0633\u0628\u062a\u0645\u0628\u0631",
+  "\u0623\u0643\u062a\u0648\u0628\u0631",
+  "\u0646\u0648\u0641\u0645\u0628\u0631",
+  "\u062f\u064a\u0633\u0645\u0628\u0631"
+],
+"STANDALONEMONTH": [
+  "\u064a\u0646\u0627\u064a\u0631",
+  "\u0641\u0628\u0631\u0627\u064a\u0631",
+  "\u0645\u0627\u0631\u0633",
+  "\u0623\u0628\u0631\u064a\u0644",
+  "\u0645\u0627\u064a\u0648",
+  "\u064a\u0648\u0646\u064a\u0648",
+  "\u064a\u0648\u0644\u064a\u0648",
+  "\u0623\u063a\u0633\u0637\u0633",
+  "\u0633\u0628\u062a\u0645\u0628\u0631",
+  "\u0623\u0643\u062a\u0648\u0628\u0631",
+  "\u0646\u0648\u0641\u0645\u0628\u0631",
+  "\u062f\u064a\u0633\u0645\u0628\u0631"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": "\u060c d \u060c y",
+"longDate": "d \u060c y",
+"medium": "dd\u200f/MM\u200f/y h:mm:ss a",
+"mediumDate": "dd\u200f/MM\u200f/y",
+"mediumTime": "h:mm:ss a",
+"short": "d\u200f/M\u200f/y h:mm a",
+"shortDate": "d\u200f/M\u200f/y",
+"shortTime": "h:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "dh",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": ",",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "ar-eh",
+  "localeID": "ar_EH",
+  "pluralCat": function(n, opt_precision) {  if (n == 0) {return 
PLURAL_CATEGORY.ZERO;  }  if (n == 1) {return PLURAL_CATEGORY.ONE;  }  if 
(n == 2) {return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 
10) {return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {  
  return PLURAL_CATEGORY.MANY;  }  return PLUR

[25/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-sh.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-sh.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-sh.js
new file mode 100644
index 000..14d81f9
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-sh.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "Sunday",
+  "Monday",
+  "Tuesday",
+  "Wednesday",
+  "Thursday",
+  "Friday",
+  "Saturday"
+],
+"ERANAMES": [
+  "Before Christ",
+  "Anno Domini"
+],
+"ERAS": [
+  "BC",
+  "AD"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "January",
+  "February",
+  "March",
+  "April",
+  "May",
+  "June",
+  "July",
+  "August",
+  "September",
+  "October",
+  "November",
+  "December"
+],
+"SHORTDAY": [
+  "Sun",
+  "Mon",
+  "Tue",
+  "Wed",
+  "Thu",
+  "Fri",
+  "Sat"
+],
+"SHORTMONTH": [
+  "Jan",
+  "Feb",
+  "Mar",
+  "Apr",
+  "May",
+  "Jun",
+  "Jul",
+  "Aug",
+  "Sep",
+  "Oct",
+  "Nov",
+  "Dec"
+],
+"STANDALONEMONTH": [
+  "January",
+  "February",
+  "March",
+  "April",
+  "May",
+  "June",
+  "July",
+  "August",
+  "September",
+  "October",
+  "November",
+  "December"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d  y",
+"longDate": "d  y",
+"medium": "d MMM y h:mm:ss a",
+"mediumDate": "d MMM y",
+"mediumTime": "h:mm:ss a",
+"short": "dd/MM/y h:mm a",
+"shortDate": "dd/MM/y",
+"shortTime": "h:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u00a3",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": ",",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "en-sh",
+  "localeID": "en_SH",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-sl.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-sl.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-sl.js
new file mode 100644
index 000..752d458
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-sl.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+   

[32/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_be.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_be.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_be.js
new file mode 100644
index 000..7f557eb
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_be.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u0434\u0430 \u043f\u0430\u043b\u0443\u0434\u043d\u044f",
+  "\u043f\u0430\u0441\u043b\u044f 
\u043f\u0430\u043b\u0443\u0434\u043d\u044f"
+],
+"DAY": [
+  "\u043d\u044f\u0434\u0437\u0435\u043b\u044f",
+  "\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a",
+  "\u0430\u045e\u0442\u043e\u0440\u0430\u043a",
+  "\u0441\u0435\u0440\u0430\u0434\u0430",
+  "\u0447\u0430\u0446\u0432\u0435\u0440",
+  "\u043f\u044f\u0442\u043d\u0456\u0446\u0430",
+  "\u0441\u0443\u0431\u043e\u0442\u0430"
+],
+"ERANAMES": [
+  "\u0434\u0430 \u043d.\u044d.",
+  "\u043d.\u044d."
+],
+"ERAS": [
+  "\u0434\u0430 \u043d.\u044d.",
+  "\u043d.\u044d."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f",
+  "\u043b\u044e\u0442\u0430\u0433\u0430",
+  "\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430",
+  "\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430",
+  "\u043c\u0430\u044f",
+  "\u0447\u044d\u0440\u0432\u0435\u043d\u044f",
+  "\u043b\u0456\u043f\u0435\u043d\u044f",
+  "\u0436\u043d\u0456\u045e\u043d\u044f",
+  "\u0432\u0435\u0440\u0430\u0441\u043d\u044f",
+  "\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430",
+  "\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430",
+  "\u0441\u043d\u0435\u0436\u043d\u044f"
+],
+"SHORTDAY": [
+  "\u043d\u0434",
+  "\u043f\u043d",
+  "\u0430\u045e",
+  "\u0441\u0440",
+  "\u0447\u0446",
+  "\u043f\u0442",
+  "\u0441\u0431"
+],
+"SHORTMONTH": [
+  "\u0441\u0442\u0443",
+  "\u043b\u044e\u0442",
+  "\u0441\u0430\u043a",
+  "\u043a\u0440\u0430",
+  "\u043c\u0430\u044f",
+  "\u0447\u044d\u0440",
+  "\u043b\u0456\u043f",
+  "\u0436\u043d\u0456",
+  "\u0432\u0435\u0440",
+  "\u043a\u0430\u0441",
+  "\u043b\u0456\u0441",
+  "\u0441\u043d\u0435"
+],
+"STANDALONEMONTH": [
+  "\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c",
+  "\u043b\u044e\u0442\u044b",
+  "\u0441\u0430\u043a\u0430\u0432\u0456\u043a",
+  "\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a",
+  "\u043c\u0430\u0439",
+  "\u0447\u044d\u0440\u0432\u0435\u043d\u044c",
+  "\u043b\u0456\u043f\u0435\u043d\u044c",
+  "\u0436\u043d\u0456\u0432\u0435\u043d\u044c",
+  "\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c",
+  "\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a",
+  "\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434",
+  "\u0441\u043d\u0435\u0436\u0430\u043d\u044c"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d  y",
+"longDate": "d  y",
+"medium": "d.M.y HH.mm.ss",
+"mediumDate": "d.M.y",
+"mediumTime": "HH.mm.ss",
+"short": "d.M.yy HH.mm",
+"shortDate": "d.M.yy",
+"shortTime": "HH.mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "BYR",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "be",
+  "localeID": "be",
+  "pluralCat": function(n, opt_precision) {  if (n % 10 == 1 && n % 100 != 11) 
{return PLURAL_CATEGORY.ONE;  }  if (n % 10 >= 2 && n % 10 <= 4 && (n % 100 
< 12 || n % 100 > 14)) {return PLURAL_CATEGORY.FEW;  }  if (n % 10 == 0 || 
n % 10 >= 5 && n % 10 <= 9 || n % 100 >= 11 && n % 100 <= 14) {return 
PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-a

[21/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-mr.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-mr.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-mr.js
new file mode 100644
index 000..e2077a6
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-mr.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "dimanche",
+  "lundi",
+  "mardi",
+  "mercredi",
+  "jeudi",
+  "vendredi",
+  "samedi"
+],
+"ERANAMES": [
+  "avant J\u00e9sus-Christ",
+  "apr\u00e8s J\u00e9sus-Christ"
+],
+"ERAS": [
+  "av. J.-C.",
+  "ap. J.-C."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "janvier",
+  "f\u00e9vrier",
+  "mars",
+  "avril",
+  "mai",
+  "juin",
+  "juillet",
+  "ao\u00fbt",
+  "septembre",
+  "octobre",
+  "novembre",
+  "d\u00e9cembre"
+],
+"SHORTDAY": [
+  "dim.",
+  "lun.",
+  "mar.",
+  "mer.",
+  "jeu.",
+  "ven.",
+  "sam."
+],
+"SHORTMONTH": [
+  "janv.",
+  "f\u00e9vr.",
+  "mars",
+  "avr.",
+  "mai",
+  "juin",
+  "juil.",
+  "ao\u00fbt",
+  "sept.",
+  "oct.",
+  "nov.",
+  "d\u00e9c."
+],
+"STANDALONEMONTH": [
+  "Janvier",
+  "F\u00e9vrier",
+  "Mars",
+  "Avril",
+  "Mai",
+  "Juin",
+  "Juillet",
+  "Ao\u00fbt",
+  "Septembre",
+  "Octobre",
+  "Novembre",
+  "D\u00e9cembre"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " d  y",
+"longDate": "d  y",
+"medium": "d MMM y HH:mm:ss",
+"mediumDate": "d MMM y",
+"mediumTime": "HH:mm:ss",
+"short": "dd/MM/y HH:mm",
+"shortDate": "dd/MM/y",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "MRO",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a0\u00a4",
+"posPre": "",
+"posSuf": "\u00a0\u00a4"
+  }
+]
+  },
+  "id": "fr-mr",
+  "localeID": "fr_MR",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  if (i == 0 || i 
== 1) {return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-mu.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-mu.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-mu.js
new file mode 100644
index 000..49d3369
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_fr-mu.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "dimanche",
+  "lundi",
+  "mardi",
+  "mercredi",
+  "jeudi",
+  "vendredi",
+  "samedi"
+],
+"ERANAMES": [
+  "avant J\u00e9sus-Christ",
+  "apr\u00e8s J\u00e9sus-Christ"
+],
+"ERAS": [
+  "av. J.-C.",
+  "ap. J.-C."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "janvier",
+  "f\u00e9vrier",
+  "mars",
+  "avril",
+  "mai",
+  "juin",
+  "juillet",
+  "ao\u00fbt",
+  "septembre",
+  "octobre",
+  "novembre",
+  "d\u00e9cembre"
+],
+"SHORTDAY": [
+  "dim.",
+  "lun.",
+

[42/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-resource.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-resource.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-resource.js
new file mode 100644
index 000..444be83
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-resource.js
@@ -0,0 +1,768 @@
+/**
+ * @license AngularJS v1.5.0
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
+ * License: MIT
+ */
+(function(window, angular, undefined) {'use strict';
+
+var $resourceMinErr = angular.$$minErr('$resource');
+
+// Helper functions and regex to lookup a dotted path on an object
+// stopping at undefined/null.  The path must be composed of ASCII
+// identifiers (just like $parse)
+var MEMBER_NAME_REGEX = /^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;
+
+function isValidDottedPath(path) {
+  return (path != null && path !== '' && path !== 'hasOwnProperty' &&
+  MEMBER_NAME_REGEX.test('.' + path));
+}
+
+function lookupDottedPath(obj, path) {
+  if (!isValidDottedPath(path)) {
+throw $resourceMinErr('badmember', 'Dotted member path "@{0}" is 
invalid.', path);
+  }
+  var keys = path.split('.');
+  for (var i = 0, ii = keys.length; i < ii && angular.isDefined(obj); i++) {
+var key = keys[i];
+obj = (obj !== null) ? obj[key] : undefined;
+  }
+  return obj;
+}
+
+/**
+ * Create a shallow copy of an object and clear other fields from the 
destination
+ */
+function shallowClearAndCopy(src, dst) {
+  dst = dst || {};
+
+  angular.forEach(dst, function(value, key) {
+delete dst[key];
+  });
+
+  for (var key in src) {
+if (src.hasOwnProperty(key) && !(key.charAt(0) === '$' && key.charAt(1) 
=== '$')) {
+  dst[key] = src[key];
+}
+  }
+
+  return dst;
+}
+
+/**
+ * @ngdoc module
+ * @name ngResource
+ * @description
+ *
+ * # ngResource
+ *
+ * The `ngResource` module provides interaction support with RESTful services
+ * via the $resource service.
+ *
+ *
+ * 
+ *
+ * See {@link ngResource.$resource `$resource`} for usage.
+ */
+
+/**
+ * @ngdoc service
+ * @name $resource
+ * @requires $http
+ * @requires ng.$log
+ * @requires $q
+ * @requires ng.$timeout
+ *
+ * @description
+ * A factory which creates a resource object that lets you interact with
+ * [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer) 
server-side data sources.
+ *
+ * The returned resource object has action methods which provide high-level 
behaviors without
+ * the need to interact with the low level {@link ng.$http $http} service.
+ *
+ * Requires the {@link ngResource `ngResource`} module to be installed.
+ *
+ * By default, trailing slashes will be stripped from the calculated URLs,
+ * which can pose problems with server backends that do not expect that
+ * behavior.  This can be disabled by configuring the `$resourceProvider` like
+ * this:
+ *
+ * ```js
+ app.config(['$resourceProvider', function($resourceProvider) {
+   // Don't strip trailing slashes from calculated URLs
+   $resourceProvider.defaults.stripTrailingSlashes = false;
+ }]);
+ * ```
+ *
+ * @param {string} url A parameterized URL template with parameters prefixed 
by `:` as in
+ *   `/user/:username`. If you are using a URL with a port number (e.g.
+ *   `http://example.com:8080/api`), it will be respected.
+ *
+ *   If you are using a url with a suffix, just add the suffix, like this:
+ *   `$resource('http://example.com/resource.json')` or 
`$resource('http://example.com/:id.json')`
+ *   or even `$resource('http://example.com/resource/:resource_id.:format')`
+ *   If the parameter before the suffix is empty, :resource_id in this case, 
then the `/.` will be
+ *   collapsed down to a single `.`.  If you need this sequence to appear and 
not collapse then you
+ *   can escape it with `/\.`.
+ *
+ * @param {Object=} paramDefaults Default values for `url` parameters. These 
can be overridden in
+ *   `actions` methods. If a parameter value is a function, it will be 
executed every time
+ *   when a param value needs to be obtained for a request (unless the param 
was overridden).
+ *
+ *   Each key value in the parameter object is first bound to url template if 
present and then any
+ *   excess keys are appended to the url search query after the `?`.
+ *
+ *   Given a template `/path/:verb` and parameter `{verb:'greet', 
salutation:'Hello'}` results in
+ *   URL `/path/greet?salutation=Hello`.
+ *
+ *   If the parameter value is prefixed with `@` then the value for that 
parameter will be extracted
+ *   from the corresponding property on the `data` object (provided when 
calling an action method).
+ * 

[26/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-mo.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-mo.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-mo.js
new file mode 100644
index 000..d24c8b3
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-mo.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "Sunday",
+  "Monday",
+  "Tuesday",
+  "Wednesday",
+  "Thursday",
+  "Friday",
+  "Saturday"
+],
+"ERANAMES": [
+  "Before Christ",
+  "Anno Domini"
+],
+"ERAS": [
+  "BC",
+  "AD"
+],
+"FIRSTDAYOFWEEK": 6,
+"MONTH": [
+  "January",
+  "February",
+  "March",
+  "April",
+  "May",
+  "June",
+  "July",
+  "August",
+  "September",
+  "October",
+  "November",
+  "December"
+],
+"SHORTDAY": [
+  "Sun",
+  "Mon",
+  "Tue",
+  "Wed",
+  "Thu",
+  "Fri",
+  "Sat"
+],
+"SHORTMONTH": [
+  "Jan",
+  "Feb",
+  "Mar",
+  "Apr",
+  "May",
+  "Jun",
+  "Jul",
+  "Aug",
+  "Sep",
+  "Oct",
+  "Nov",
+  "Dec"
+],
+"STANDALONEMONTH": [
+  "January",
+  "February",
+  "March",
+  "April",
+  "May",
+  "June",
+  "July",
+  "August",
+  "September",
+  "October",
+  "November",
+  "December"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d  y",
+"longDate": "d  y",
+"medium": "d MMM y h:mm:ss a",
+"mediumDate": "d MMM y",
+"mediumTime": "h:mm:ss a",
+"short": "dd/MM/y h:mm a",
+"shortDate": "dd/MM/y",
+"shortTime": "h:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "MOP",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": ",",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "en-mo",
+  "localeID": "en_MO",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-mp.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-mp.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-mp.js
new file mode 100644
index 000..ff8b6b4
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_en-mp.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],

[18/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_it.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_it.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_it.js
new file mode 100644
index 000..9b6a662
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_it.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "domenica",
+  "luned\u00ec",
+  "marted\u00ec",
+  "mercoled\u00ec",
+  "gioved\u00ec",
+  "venerd\u00ec",
+  "sabato"
+],
+"ERANAMES": [
+  "a.C.",
+  "d.C."
+],
+"ERAS": [
+  "aC",
+  "dC"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "gennaio",
+  "febbraio",
+  "marzo",
+  "aprile",
+  "maggio",
+  "giugno",
+  "luglio",
+  "agosto",
+  "settembre",
+  "ottobre",
+  "novembre",
+  "dicembre"
+],
+"SHORTDAY": [
+  "dom",
+  "lun",
+  "mar",
+  "mer",
+  "gio",
+  "ven",
+  "sab"
+],
+"SHORTMONTH": [
+  "gen",
+  "feb",
+  "mar",
+  "apr",
+  "mag",
+  "giu",
+  "lug",
+  "ago",
+  "set",
+  "ott",
+  "nov",
+  "dic"
+],
+"STANDALONEMONTH": [
+  "Gennaio",
+  "Febbraio",
+  "Marzo",
+  "Aprile",
+  "Maggio",
+  "Giugno",
+  "Luglio",
+  "Agosto",
+  "Settembre",
+  "Ottobre",
+  "Novembre",
+  "Dicembre"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": " d  y",
+"longDate": "d  y",
+"medium": "dd MMM y HH:mm:ss",
+"mediumDate": "dd MMM y",
+"mediumTime": "HH:mm:ss",
+"short": "dd/MM/yy HH:mm",
+"shortDate": "dd/MM/yy",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u20ac",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a0\u00a4",
+"posPre": "",
+"posSuf": "\u00a0\u00a4"
+  }
+]
+  },
+  "id": "it",
+  "localeID": "it",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_iw.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_iw.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_iw.js
new file mode 100644
index 000..d4e5cfa
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_iw.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u05dc\u05e4\u0

[30/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ckb-arab-ir.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ckb-arab-ir.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ckb-arab-ir.js
new file mode 100644
index 000..9a83d4a
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ckb-arab-ir.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u0628.\u0646",
+  "\u062f.\u0646"
+],
+"DAY": [
+  "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5",
+  "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5",
+  "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5",
+  "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5",
+  "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5",
+  "\u06be\u06d5\u06cc\u0646\u06cc",
+  "\u0634\u06d5\u0645\u0645\u06d5"
+],
+"ERANAMES": [
+  "\u067e\u06ce\u0634 \u0632\u0627\u06cc\u06cc\u0646",
+  "\u0632\u0627\u06cc\u06cc\u0646\u06cc"
+],
+"ERAS": [
+  "\u067e\u06ce\u0634 \u0632\u0627\u06cc\u06cc\u06cc\u0646",
+  "\u0632"
+],
+"FIRSTDAYOFWEEK": 5,
+"MONTH": [
+  "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc 
\u062f\u0648\u0648\u06d5\u0645",
+  "\u0634\u0648\u0628\u0627\u062a",
+  "\u0626\u0627\u0632\u0627\u0631",
+  "\u0646\u06cc\u0633\u0627\u0646",
+  "\u0626\u0627\u06cc\u0627\u0631",
+  "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646",
+  "\u062a\u06d5\u0645\u0648\u0648\u0632",
+  "\u0626\u0627\u0628",
+  "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644",
+  "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645",
+  "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645",
+  "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"
+],
+"SHORTDAY": [
+  "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5",
+  "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5",
+  "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5",
+  "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5",
+  "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5",
+  "\u06be\u06d5\u06cc\u0646\u06cc",
+  "\u0634\u06d5\u0645\u0645\u06d5"
+],
+"SHORTMONTH": [
+  "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc 
\u062f\u0648\u0648\u06d5\u0645",
+  "\u0634\u0648\u0628\u0627\u062a",
+  "\u0626\u0627\u0632\u0627\u0631",
+  "\u0646\u06cc\u0633\u0627\u0646",
+  "\u0626\u0627\u06cc\u0627\u0631",
+  "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646",
+  "\u062a\u06d5\u0645\u0648\u0648\u0632",
+  "\u0626\u0627\u0628",
+  "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644",
+  "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645",
+  "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645",
+  "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"
+],
+"STANDALONEMONTH": [
+  "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc 
\u062f\u0648\u0648\u06d5\u0645",
+  "\u0634\u0648\u0628\u0627\u062a",
+  "\u0626\u0627\u0632\u0627\u0631",
+  "\u0646\u06cc\u0633\u0627\u0646",
+  "\u0626\u0627\u06cc\u0627\u0631",
+  "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646",
+  "\u062a\u06d5\u0645\u0648\u0648\u0632",
+  "\u0626\u0627\u0628",
+  "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644",
+  "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645",
+  "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645",
+  "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"
+],
+"WEEKENDRANGE": [
+  4,
+  5
+],
+"fullDate": "y  d, ",
+"longDate": "d\u06cc \u06cc y",
+"medium": "y MMM d HH:mm:ss",
+"mediumDate": "y MMM d",
+"mediumTime": "HH:mm:ss",
+"short": "y-MM-dd HH:mm",
+"shortDate": "y-MM-dd",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "Rial",
+"DECIMAL_SEP": "\u

[48/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.min.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.min.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.min.js
new file mode 100644
index 000..8e8e41d
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.min.js
@@ -0,0 +1,56 @@
+/*
+ AngularJS v1.5.0
+ (c) 2010-2016 Google, Inc. http://angularjs.org
+ License: MIT
+*/
+(function(D,r,Va){'use strict';function ya(a,b,c){if(!a)throw 
Ka("areq",b||"?",c||"required");return a}function 
za(a,b){if(!a&&!b)return"";if(!a)return b;if(!b)return a;ba(a)&&(a=a.join(" 
"));ba(b)&&(b=b.join(" "));return a+" "+b}function La(a){var 
b={};a&&(a.to||a.from)&&(b.to=a.to,b.from=a.from);return b}function 
X(a,b,c){var 
d="";a=ba(a)?a:a&&R(a)&&a.length?a.split(/\s+/):[];s(a,function(a,g){a&&0=a&&(a=e,e=0,b.push(t),t=[]);t.push(g.fn);g.children.forEach(function(a){e++;
+c.push(a)});a--}t.length&&b.push(t);return b}(c)}var M=[],r=U(a);return 
function(u,A,v){function 
z(a){a=a.hasAttribute("ng-animate-ref")?[a]:a.querySelectorAll("[ng-animate-ref]");var
 b=[];s(a,function(a){var 
c=a.getAttribute("ng-animate-ref");c&&c.length&&b.push(a)});return b}function 
K(a){var b=[],c={};s(a,function(a,f){var 
d=G(a.element),h=0<=["enter","move"].indexOf(a.event),d=a.structural?z(d):[];if(d.length){var
 e=h?"to":"from";s(d,function(a){var 
b=a.getAttribute("ng-animate-ref");c[b]=c[b]||
+{};c[b][e]={animationID:f,element:I(a)}})}else b.push(a)});var 
d={},h={};s(c,function(c,e){var l=c.from,t=c.to;if(l&&t){var 
g=a[l.animationID],E=a[t.animationID],k=l.animationID.toString();if(!h[k]){var 
z=h[k]={structural:!0,beforeStart:function(){g.beforeStart();E.beforeStart()},close:function(){g.close();E.close()},classes:J(g.classes,E.classes),from:g,to:E,anchors:[]};z.classes.length?b.push(z):(b.push(g),b.push(E))}h[k].anchors.push({out:l.element,"in":t.element})}else
 l=l?l.animationID:t.animationID,
+t=l.toString(),d[t]||(d[t]=!0,b.push(a[l]))});return b}function 
J(a,b){a=a.split(" ");b=b.split(" ");for(var c=[],d=0;d=P&&b>=O&&(wa=!0,q())}function
 L(){function b(){if(!A){t(!1);s(m,
+function(a){l.style[a[0]]=a[1]});z(a,f);e.addClass(a,ca);if(p.recalculateTimingStyles){ja=l.className+"
 
"+da;ga=r(l,ja);F=v(l,ja,ga);$=F.maxDelay;n=Math.max($,0);O=F.maxDuration;if(0===O){q();return}p.hasTransitions=0B.expectedEndTime)?H.cancel(B.timer):g.push(q)}L&&(k=H(c,k,!1),g[0]={timer:k,expectedEndTime:d},g.push(q),a.data("$$animateCss",g));if(ea.length)a.on(ea.join("
 "),E);f.to&&(f.cleanupStyles&&Ga(x,l,Object.keys(f.to)),Ba(a,
+f))}}function c(){var b=a.data("$$animateCss");if(b){for(var 
d=1;d

[35/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/errors.json
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/errors.json
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/errors.json
new file mode 100644
index 000..abb6b94
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/errors.json
@@ -0,0 +1 @@
+{"id":"ng","generated":"Fri Feb 05 2016 03:40:34 GMT-0800 
(PST)","errors":{"ng":{"areq":"Argument '{0}' is {1}","cpta":"Can't copy! 
TypedArray destination cannot be mutated.","test":"no injector found for 
element argument to getTestability","cpws":"Can't copy! Making copies of Window 
or Scope instances is not supported.","btstrpd":"App Already Bootstrapped with 
this Element '{0}'","cpi":"Can't copy! Source and destination are 
identical.","badname":"hasOwnProperty is not a valid {0} 
name"},"$http":{"legacy":"The method `{0}` on the promise returned from `$http` 
has been disabled.","badreq":"Http request configuration url must be a string.  
Received: {0}"},"ngRepeat":{"badident":"alias '{0}' is invalid --- must be a 
valid JS identifier which is not a reserved name.","iexp":"Expected expression 
in form of '_item_ in _collection_[ track by _id_]' but got 
'{0}'.","dupes":"Duplicates in a repeater are not allowed. Use 'track by' 
expression to specify unique keys. Repeater: {0}, Duplicate 
 key: {1}, Duplicate value: {2}","iidexp":"'_item_' in '_item_ in _collection_' 
should be an identifier or '(_key_, _value_)' expression, but got 
'{0}'."},"$sce":{"imatcher":"Matchers may only be \"self\", string patterns or 
RegExp objects","icontext":"Attempted to trust a value in invalid context. 
Context: {0}; Value: {1}","iwcard":"Illegal sequence *** in string matcher.  
String: {0}","insecurl":"Blocked loading resource from url not allowed by 
$sceDelegate policy.  URL: {0}","iequirks":"Strict Contextual Escaping does not 
support Internet Explorer version < 11 in quirks mode.  You can fix this by 
adding the text  to the top of your HTML document.  See 
http://docs.angularjs.org/api/ng.$sce for more 
information.","unsafe":"Attempting to use an unsafe value in a safe 
context.","itype":"Attempted to trust a non-string value in a content requiring 
a string: Context: {0}"},"ngPattern":{"noregexp":"Expected {0} to be a RegExp 
but was {1}. Element: {2}"},"$controller":{"ctr
 lfmt":"Badly formed controller string '{0}'. Must match `__name__ as __id__` 
or `__name__`.","noscp":"Cannot export controller '{0}' as '{1}'! No $scope 
object provided via `locals`."},"$parse":{"isecfn":"Referencing Function in 
Angular expressions is disallowed! Expression: {0}","isecwindow":"Referencing 
the Window in Angular expressions is disallowed! Expression: 
{0}","ueoe":"Unexpected end of expression: {0}","isecdom":"Referencing DOM 
nodes in Angular expressions is disallowed! Expression: {0}","lexerr":"Lexer 
Error: {0} at column{1} in expression 
[{2}].","esc":"IMPOSSIBLE","isecobj":"Referencing Object in Angular expressions 
is disallowed! Expression: {0}","lval":"Trying to assign a value to a non 
l-value","isecff":"Referencing call, apply or bind in Angular expressions is 
disallowed! Expression: {0}","syntax":"Syntax Error: Token '{0}' {1} at column 
{2} of the expression [{3}] starting at [{4}].","isecaf":"Assigning to a 
constructor is disallowed! Expression: {0}","isecfld":"A
 ttempting to access a disallowed field in Angular expressions! Expression: 
{0}"},"orderBy":{"notarray":"Expected array but received: 
{0}"},"jqLite":{"offargs":"jqLite#off() does not support the `selector` 
argument","onargs":"jqLite#on() does not support the `selector` or `eventData` 
parameters","nosel":"Looking up elements via selectors is not supported by 
jqLite! See: 
http://docs.angularjs.org/api/angular.element"},"$animate":{"notcsel":"Expecting
 class selector starting with '.' got 
'{0}'.","nongcls":"$animateProvider.classNameFilter(regex) prohibits accepting 
a regex value which matches/contains the \"{0}\" CSS 
class."},"$q":{"norslvr":"Expected resolverFn, got '{0}'","qcycle":"Expected 
promise to be resolved with value other than itself 
'{0}'"},"$injector":{"pget":"Provider '{0}' must define $get factory 
method.","cdep":"Circular dependency found: {0}","nomod":"Module '{0}' is not 
available! You either misspelled the module name or forgot to load it. If 
registering a module ensu
 re that you specify the dependencies as the second argument.","strictdi":"{0} 
is not using explicit annotation and cannot be invoked in strict 
mode","modulerr":"Failed to instantiate module {0} due 
to:\n{1}","undef":"Provider '{0}' must return a value from $get factory 
method.","

[17/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_kk-cyrl-kz.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_kk-cyrl-kz.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_kk-cyrl-kz.js
new file mode 100644
index 000..20738da
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_kk-cyrl-kz.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u0442\u0430\u04a3\u0435\u0440\u0442\u0435\u04a3\u0433\u0456",
+  "\u0442\u04af\u0441\u0442\u0435\u043d 
\u043a\u0435\u0439\u0456\u043d\u0433\u0456"
+],
+"DAY": [
+  "\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456",
+  "\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456",
+  "\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456",
+  "\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456",
+  "\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456",
+  "\u0436\u04b1\u043c\u0430",
+  "\u0441\u0435\u043d\u0431\u0456"
+],
+"ERANAMES": [
+  "\u0411\u0456\u0437\u0434\u0456\u04a3 
\u0437\u0430\u043c\u0430\u043d\u044b\u043c\u044b\u0437\u0493\u0430 
\u0434\u0435\u0439\u0456\u043d",
+  "\u0411\u0456\u0437\u0434\u0456\u04a3 
\u0437\u0430\u043c\u0430\u043d\u044b\u043c\u044b\u0437"
+],
+"ERAS": [
+  "\u0431.\u0437.\u0434.",
+  "\u0431.\u0437."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "\u049b\u0430\u04a3\u0442\u0430\u0440",
+  "\u0430\u049b\u043f\u0430\u043d",
+  "\u043d\u0430\u0443\u0440\u044b\u0437",
+  "\u0441\u04d9\u0443\u0456\u0440",
+  "\u043c\u0430\u043c\u044b\u0440",
+  "\u043c\u0430\u0443\u0441\u044b\u043c",
+  "\u0448\u0456\u043b\u0434\u0435",
+  "\u0442\u0430\u043c\u044b\u0437",
+  "\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a",
+  "\u049b\u0430\u0437\u0430\u043d",
+  "\u049b\u0430\u0440\u0430\u0448\u0430",
+  "\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d"
+],
+"SHORTDAY": [
+  "\u0436\u0435\u043a",
+  "\u0434\u04af\u0439",
+  "\u0441\u0435\u0439",
+  "\u0441\u04d9\u0440",
+  "\u0431\u0435\u0439",
+  "\u0436\u04b1\u043c\u0430",
+  "\u0441\u0435\u043d"
+],
+"SHORTMONTH": [
+  "\u049b\u0430\u04a3.",
+  "\u0430\u049b\u043f.",
+  "\u043d\u0430\u0443.",
+  "\u0441\u04d9\u0443.",
+  "\u043c\u0430\u043c.",
+  "\u043c\u0430\u0443.",
+  "\u0448\u0456\u043b.",
+  "\u0442\u0430\u043c.",
+  "\u049b\u044b\u0440.",
+  "\u049b\u0430\u0437.",
+  "\u049b\u0430\u0440.",
+  "\u0436\u0435\u043b\u0442."
+],
+"STANDALONEMONTH": [
+  "\u049b\u0430\u04a3\u0442\u0430\u0440",
+  "\u0430\u049b\u043f\u0430\u043d",
+  "\u043d\u0430\u0443\u0440\u044b\u0437",
+  "\u0441\u04d9\u0443\u0456\u0440",
+  "\u043c\u0430\u043c\u044b\u0440",
+  "\u043c\u0430\u0443\u0441\u044b\u043c",
+  "\u0448\u0456\u043b\u0434\u0435",
+  "\u0442\u0430\u043c\u044b\u0437",
+  "\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a",
+  "\u049b\u0430\u0437\u0430\u043d",
+  "\u049b\u0430\u0440\u0430\u0448\u0430",
+  "\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d  y",
+"longDate": "d  y",
+"medium": "y, dd-MMM HH:mm:ss",
+"mediumDate": "y, dd-MMM",
+"mediumTime": "HH:mm:ss",
+"short": "dd/MM/yy HH:mm",
+"shortDate": "dd/MM/yy",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u20b8",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a0\u00a4",
+"posPre": "",
+"posSuf": "\u00a0\u00a4"
+  }
+]
+  },
+  "id": "kk-cyrl-kz",
+  "localeID": "kk_Cyrl_KZ",
+  "pluralCat": function(n, opt_precision) {  if (n == 1) {return 
PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/arche

[24/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eo.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eo.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eo.js
new file mode 100644
index 000..7ca8ade
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_eo.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "atm",
+  "ptm"
+],
+"DAY": [
+  "diman\u0109o",
+  "lundo",
+  "mardo",
+  "merkredo",
+  "\u0135a\u016ddo",
+  "vendredo",
+  "sabato"
+],
+"ERANAMES": [
+  "aK",
+  "pK"
+],
+"ERAS": [
+  "aK",
+  "pK"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "januaro",
+  "februaro",
+  "marto",
+  "aprilo",
+  "majo",
+  "junio",
+  "julio",
+  "a\u016dgusto",
+  "septembro",
+  "oktobro",
+  "novembro",
+  "decembro"
+],
+"SHORTDAY": [
+  "di",
+  "lu",
+  "ma",
+  "me",
+  "\u0135a",
+  "ve",
+  "sa"
+],
+"SHORTMONTH": [
+  "jan",
+  "feb",
+  "mar",
+  "apr",
+  "maj",
+  "jun",
+  "jul",
+  "a\u016dg",
+  "sep",
+  "okt",
+  "nov",
+  "dec"
+],
+"STANDALONEMONTH": [
+  "januaro",
+  "februaro",
+  "marto",
+  "aprilo",
+  "majo",
+  "junio",
+  "julio",
+  "a\u016dgusto",
+  "septembro",
+  "oktobro",
+  "novembro",
+  "decembro"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d-'a' 'de'  y",
+"longDate": "y--dd",
+"medium": "y-MMM-dd HH:mm:ss",
+"mediumDate": "y-MMM-dd",
+"mediumTime": "HH:mm:ss",
+"short": "yy-MM-dd HH:mm",
+"shortDate": "yy-MM-dd",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "$",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": "\u00a0",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "eo",
+  "localeID": "eo",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (i == 1 && vf.v == 0) {return PLURAL_CATEGORY.ONE;  }  
return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-419.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-419.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-419.js
new file mode 100644
index 000..ed247e7
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es-419.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "a. m.",
+  "p. m."
+],
+"DAY": [
+  "domingo",
+  "lunes",
+  "martes",
+  "mi\u00e9rcoles",
+  "jueves",
+  "viernes",
+  "s\u00e1bado"
+],
+"ERANAMES": [
+  "antes de Cristo",
+  "despu\u00e9s de Cristo"
+],
+"ERAS": [
+  "a. C.",
+  "d. C."
+],
+"FIRSTDAYOFWEEK": 0

[40/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-scenario.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-scenario.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-scenario.js
new file mode 100644
index 000..20af805
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-scenario.js
@@ -0,0 +1,41849 @@
+/*!
+ * jQuery JavaScript Library v2.1.1
+ * http://jquery.com/
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ *
+ * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
+ * Released under the MIT license
+ * http://jquery.org/license
+ *
+ * Date: 2014-05-01T17:11Z
+ */
+
+(function( global, factory ) {'use strict';
+
+   if ( typeof module === "object" && typeof module.exports === "object" ) 
{
+   // For CommonJS and CommonJS-like environments where a proper 
window is present,
+   // execute the factory and get jQuery
+   // For environments that do not inherently posses a window with 
a document
+   // (such as Node.js), expose a jQuery-making factory as 
module.exports
+   // This accentuates the need for the creation of a real window
+   // e.g. var jQuery = require("jquery")(window);
+   // See ticket #14549 for more info
+   module.exports = global.document ?
+   factory( global, true ) :
+   function( w ) {
+   if ( !w.document ) {
+   throw new Error( "jQuery requires a 
window with a document" );
+   }
+   return factory( w );
+   };
+   } else {
+   factory( global );
+   }
+
+// Pass this if window is not defined yet
+}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
+
+// Can't do this because several apps including ASP.NET trace
+// the stack via arguments.caller.callee and Firefox dies if
+// you try to trace through "use strict" call chains. (#13335)
+// Support: Firefox 18+
+//
+
+var arr = [];
+
+var slice = arr.slice;
+
+var concat = arr.concat;
+
+var push = arr.push;
+
+var indexOf = arr.indexOf;
+
+var class2type = {};
+
+var toString = class2type.toString;
+
+var hasOwn = class2type.hasOwnProperty;
+
+var support = {};
+
+
+
+var
+   // Use the correct document accordingly with window argument (sandbox)
+   document = window.document,
+
+   version = "2.1.1",
+
+   // Define a local copy of jQuery
+   jQuery = function( selector, context ) {
+   // The jQuery object is actually just the init constructor 
'enhanced'
+   // Need init if jQuery is called (just allow error to be thrown 
if not included)
+   return new jQuery.fn.init( selector, context );
+   },
+
+   // Support: Android<4.1
+   // Make sure we trim BOM and NBSP
+   rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
+
+   // Matches dashed string for camelizing
+   rmsPrefix = /^-ms-/,
+   rdashAlpha = /-([\da-z])/gi,
+
+   // Used by jQuery.camelCase as callback to replace()
+   fcamelCase = function( all, letter ) {
+   return letter.toUpperCase();
+   };
+
+jQuery.fn = jQuery.prototype = {
+   // The current version of jQuery being used
+   jquery: version,
+
+   constructor: jQuery,
+
+   // Start with an empty selector
+   selector: "",
+
+   // The default length of a jQuery object is 0
+   length: 0,
+
+   toArray: function() {
+   return slice.call( this );
+   },
+
+   // Get the Nth element in the matched element set OR
+   // Get the whole matched element set as a clean array
+   get: function( num ) {
+   return num != null ?
+
+   // Return just the one element from the set
+   ( num < 0 ? this[ num + this.length ] : this[ num ] ) :
+
+   // Return all the elements in a clean array
+   slice.call( this );
+   },
+
+   // Take an array of elements and push it onto the stack
+   // (returning the new matched element set)
+   pushStack: function( elems ) {
+
+   // Build a new jQuery matched element set
+   var ret = jQuery.merge( this.constructor(), elems );
+
+   // Add the old object onto the stack (as a reference)
+   ret.prevObject = this;
+   ret.context = this.context;
+
+   // Return the newly-formed element set
+   

[13/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mt-mt.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mt-mt.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mt-mt.js
new file mode 100644
index 000..bb1e89d
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mt-mt.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "Il-\u0126add",
+  "It-Tnejn",
+  "It-Tlieta",
+  "L-Erbg\u0127a",
+  "Il-\u0126amis",
+  "Il-\u0120img\u0127a",
+  "Is-Sibt"
+],
+"ERANAMES": [
+  "Qabel Kristu",
+  "Wara Kristu"
+],
+"ERAS": [
+  "QK",
+  "WK"
+],
+"FIRSTDAYOFWEEK": 6,
+"MONTH": [
+  "Jannar",
+  "Frar",
+  "Marzu",
+  "April",
+  "Mejju",
+  "\u0120unju",
+  "Lulju",
+  "Awwissu",
+  "Settembru",
+  "Ottubru",
+  "Novembru",
+  "Di\u010bembru"
+],
+"SHORTDAY": [
+  "\u0126ad",
+  "Tne",
+  "Tli",
+  "Erb",
+  "\u0126am",
+  "\u0120im",
+  "Sib"
+],
+"SHORTMONTH": [
+  "Jan",
+  "Fra",
+  "Mar",
+  "Apr",
+  "Mej",
+  "\u0120un",
+  "Lul",
+  "Aww",
+  "Set",
+  "Ott",
+  "Nov",
+  "Di\u010b"
+],
+"STANDALONEMONTH": [
+  "Jannar",
+  "Frar",
+  "Marzu",
+  "April",
+  "Mejju",
+  "\u0120unju",
+  "Lulju",
+  "Awwissu",
+  "Settembru",
+  "Ottubru",
+  "Novembru",
+  "Di\u010bembru"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d 'ta'\u2019  y",
+"longDate": "d 'ta'\u2019  y",
+"medium": "dd MMM y HH:mm:ss",
+"mediumDate": "dd MMM y",
+"mediumTime": "HH:mm:ss",
+"short": "dd/MM/y HH:mm",
+"shortDate": "dd/MM/y",
+"shortTime": "HH:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u20ac",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": ",",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4",
+"negSuf": "",
+"posPre": "\u00a4",
+"posSuf": ""
+  }
+]
+  },
+  "id": "mt-mt",
+  "localeID": "mt_MT",
+  "pluralCat": function(n, opt_precision) {  if (n == 1) {return 
PLURAL_CATEGORY.ONE;  }  if (n == 0 || n % 100 >= 2 && n % 100 <= 10) {
return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 19) {return 
PLURAL_CATEGORY.MANY;  }  return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mt.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mt.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mt.js
new file mode 100644
index 000..48da84e
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_mt.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "Il-\u0126add",
+  "It-Tnejn",
+  "It-Tlieta",
+  "L-Erbg\u0127a",
+  "Il-\u0126amis",
+  "Il-\u0120img\u0127a",
+  "Is-Sibt"
+],
+"ERANAMES": [
+  "Qabel Kristu",
+  "Wara Kristu"
+],
+"ERAS": [
+  "QK",
+  "WK"
+],
+"FIRSTDAYOFWEEK": 6,
+"MONTH": [
+  "Jannar",
+  "Frar",
+  "Marzu",
+  "April",
+  "Mejju",
+  "\u0120unju",
+  "Lulju",
+  "Awwissu",
+  "Settembru",
+  "Ottubru",
+

[47/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.min.js.map
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.min.js.map
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.min.js.map
new file mode 100644
index 000..1d4f7a6
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-animate.min.js.map
@@ -0,0 +1,8 @@
+{
+"version":3,
+"file":"angular-animate.min.js",
+"lineCount":55,
+"mappings":"A;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkBC,EAAlB,CAA6B,CA4EtCC,QAASA,GAAS,CAACC,CAAD,CAAMC,CAAN,CAAYC,CAAZ,CAAoB,CACpC,GAAKF,C,CAAL,CACE,KAAMG,GAAA,CAAS,MAAT,CAA2CF,CAA3C,EAAmD,GAAnD,CAA0DC,CAA1D,EAAoE,UAApE,CAAN,CAEF,MAAOF,EAJ6B,CAOtCI,QAASA,GAAY,CAACC,CAAD,CAAGC,CAAH,CAAM,CACzB,GAAKD,C,CAAL,EAAWC,C,CAAX,CAAc,MAAO,EACrB,IAAKD,C,CAAL,CAAQ,MAAOC,EACf,IAAKA,C,CAAL,CAAQ,MAAOD,EACXE,GAAA,CAAQF,CAAR,CAAJ,GAAgBA,CAAhB,CAAoBA,CAAAG,KAAA,CAAO,GAAP,CAApB,CACID,GAAA,CAAQD,CAAR,CAAJ,GAAgBA,CAAhB,CAAoBA,CAAAE,KAAA,CAAO,GAAP,CAApB,CACA,OAAOH,EAAP,CAAW,GAAX,CAAiBC,CANQ,CAS3BG,QAASA,GAAa,CAACC,CAAD,CAAU,CAC9B,IAAIC,EAAS,EACTD,EAAJ,GAAgBA,CAAAE,GAAhB,EAA8BF,CAAAG,KAA9B,IACEF,CAAAC,GACA,CADYF,CAAAE,GACZ,CAAAD,CAAAE,KAAA,CAAcH,CAAAG,KAFhB,CAIA,OAAOF,EANuB,CAShCG,QAASA,EAAW,CAACC,CAAD,CAAUC,CAAV,CAAeC,CAAf,CAAyB,CAC3C,IAAIC,EAAY,EAChBH,EAAA,CAAUR,EAAA,CAAQQ,CAAR,CAAA,CACJA,CADI,CAEJA,CAAA,EAAWI,CAAA,CAASJ,CAAT,CAAX,EAAgCA,CAAAK,OAAhC,CACIL,CAAAM,MAAA,CAAc,KAAd,CADJ,CA
 
EI,EACVC,EAAA,CAAQP,CAAR,CAAiB,QAAQ,CAACQ,CAAD,CAAQC,CAAR,CAAW,CAC9BD,CAAJ,EAA4B,CAA5B,CAAaA,CAAAH,OAAb,GACEF,CACA,EADkB,CAAL,CAACM,CAAD,CAAU,GAAV,CAAgB,EAC7B,CAAAN,CAAA,EAAaD,CAAA,CAAWD,CAAX,CAAiBO,CAAjB,CACWA,CADX,CACmBP,CAHlC,CADkC,CAApC,CAOA,OAAOE,EAdoC,CAwB7CO,QAASA,GAAwB,CAACC,CAAD,CAAU,CACzC,GAAIA,CAAJ,WAAuBC,EAAvB,CACE,OAAQD,CAAAN,OAAR,EACE,KAAK,CAAL,CACE,MAAO,EAGT;KAAK,CAAL,CAIE,GAxHWQ,CAwHX,GAAIF,CAAA,CAAQ,CAAR,CAAAG,SAAJ,CACE,MAAOH,EAET,MAEF,SACE,MAAOC,EAAA,CAAOG,EAAA,CAAmBJ,CAAnB,CAAP,CAfX,CAoBF,GAnIiBE,CAmIjB,GAAIF,CAAAG,SAAJ,CACE,MAAOF,EAAA,CAAOD,CAAP,CAvBgC,CA2B3CI,QAASA,GAAkB,CAACJ,CAAD,CAAU,CACnC,GAAK,C,CAAA,CAAQ,CAAR,CAAL,CAAiB,MAAOA,EACxB,KAAS,IAAAF,EAAI,CAAb,CAAgBA,CAAhB,CAAoBE,CAAAN,OAApB,CAAoCI,CAAA,EAApC,CAAyC,CACvC,IAAIO,EAAML,CAAA,CAAQF,CAAR,CACV,IA5IeI,CA4If,EAAIG,CAAAF,SAAJ,CACE,MAAOE,EAH8B,CAFN,CAUrCC,QAASA,GAAU,CAACC,CAAD,CAAWP,CAAX,CAAoBR,CAApB,CAA+B,CAChDI,CAAA,CAAQI,CAAR,CAAiB,QAAQ,CAACK,CAAD,CAAM,CAC7BE,CAAAC,SAAA,CAAkBH,CAAlB,CAAuBb,CAAvB,CAD6B,
 
CAA/B,CADgD,CAMlDiB,QAASA,GAAa,CAACF,CAAD,CAAWP,CAAX,CAAoBR,CAApB,CAA+B,CACnDI,CAAA,CAAQI,CAAR,CAAiB,QAAQ,CAACK,CAAD,CAAM,CAC7BE,CAAAG,YAAA,CAAqBL,CAArB,CAA0Bb,CAA1B,CAD6B,CAA/B,CADmD,CAMrDmB,QAASA,EAA4B,CAACJ,CAAD,CAAW,CAC9C,MAAO,SAAQ,CAACP,CAAD,CAAUhB,CAAV,CAAmB,CAC5BA,CAAAwB,SAAJ,GACEF,EAAA,CAAWC,CAAX,CAAqBP,CAArB,CAA8BhB,CAAAwB,SAA9B,CACA,CAAAxB,CAAAwB,SAAA,CAAmB,IAFrB,CAIIxB,EAAA0B,YAAJ,GACED,EAAA,CAAcF,CAAd,CAAwBP,CAAxB,CAAiChB,CAAA0B,YAAjC,CACA,CAAA1B,CAAA0B,YAAA,CAAsB,IAFxB,CALgC,CADY,CAahDE,QAASA,GAAuB,CAAC5B,CAAD,CAAU,CACxCA,CAAA,CAAUA,CAAV,EAAqB,EACrB,IAAK6B,CAAA7B,CAAA6B,WAAL,CAAyB,CACvB,IAAIC,EAAe9B,CAAA8B,aAAfA;AAAuCC,CAC3C/B,EAAA8B,aAAA,CAAuBE,QAAQ,EAAG,CAChChC,CAAAiC,oBAAA,CAA8B,CAAA,CAC9BH,EAAA,EACAA,EAAA,CAAeC,CAHiB,CAKlC/B,EAAA6B,WAAA,CAAqB,CAAA,CAPE,CASzB,MAAO7B,EAXiC,CAc1CkC,QAASA,GAAoB,CAAClB,CAAD,CAAUhB,CAAV,CAAmB,CAC9CmC,EAAA,CAAyBnB,CAAzB,CAAkChB,CAAlC,CACAoC,GAAA,CAAuBpB,CAAvB,CAAgChB,CAAhC,CAF8C,CAKhDmC,QAASA,GAAwB,CAACnB,CAAD,CAAUhB,CAAV,CAAmB,CAC9CA,CAAA
 
G,KAAJ,GACEa,CAAAqB,IAAA,CAAYrC,CAAAG,KAAZ,CACA,CAAAH,CAAAG,KAAA,CAAe,IAFjB,CADkD,CAOpDiC,QAASA,GAAsB,CAACpB,CAAD,CAAUhB,CAAV,CAAmB,CAC5CA,CAAAE,GAAJ,GACEc,CAAAqB,IAAA,CAAYrC,CAAAE,GAAZ,CACA,CAAAF,CAAAE,GAAA,CAAa,IAFf,CADgD,CAOlDoC,QAASA,EAAqB,CAACtB,CAAD,CAAUuB,CAAV,CAAwBC,CAAxB,CAAsC,CAClE,IAAIC,EAASF,CAAAvC,QAATyC,EAAiC,EACjCC,E,CAAaF,CAAAxC,QAAb0C,EAAqC,EAEzC,KAAIC,GAASF,CAAAjB,SAATmB,EAA4B,EAA5BA,EAAkC,GAAlCA,EAAyCD,CAAAlB,SAAzCmB,EAAgE,EAAhEA,CAAJ,CACIC,GAAYH,CAAAf,YAAZkB,EAAkC,EAAlCA,EAAwC,GAAxCA,EAA+CF,CAAAhB,YAA/CkB,EAAyE,EAAzEA,CACAvC,E,CAAUwC,EAAA,CAAsB7B,CAAA8B,KAAA,CAAa,OAAb,CAAtB,CAA6CH,CAA7C,CAAoDC,CAApD,CAEVF,EAAAK,mBAAJ,GACEN,CAAAM,mBACA,CAD4BC,EAAA,CAAgBN,CAAAK,mBAAhB,CAA+CN,CAAAM,mBAA/C,CAC5B,CAAA,OAAOL,CAAAK,mBAFT,CAMIE;C,CAAmBR,CAAAX,aAAA,GAAwBC,CAAxB,CAA+BU,CAAAX,aAA/B,CAAqD,IAE5EoB,GAAA,CAAOT,CAAP,CAAeC,CAAf,CAGIO,EAAJ,GACER,CAAAX,aADF,CACwBmB,CADxB,CAKER,EAAAjB,SAAA,CADEnB,CAAAmB,SAAJ,CACoBnB,CAAAmB,SADpB,CAGoB,IAIlBiB,EAAAf,YAAA,CADErB,CAAAqB,YAA
 
J,CACuBrB,CAAAqB,YADvB,CAGuB,IAGvBa,EAAAf,SAAA,CAAwBiB,CAAAjB,SACxBe,EAAAb,YAAA,CAA2Be,CAAAf,YAE3B,OAAOe,EAtC2D,CAyCpEI,QAASA,GAAqB,CAACM,CAAD,CAAWR,CAAX,CAAkBC,CAAlB,CAA4B,CAuCxDQ,QAASA,EA

[38/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.js
new file mode 100644
index 000..a8aad46
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.js
@@ -0,0 +1,30428 @@
+/**
+ * @license AngularJS v1.5.0
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
+ * License: MIT
+ */
+(function(window, document, undefined) {'use strict';
+
+/**
+ * @description
+ *
+ * This object provides a utility for producing rich Error messages within
+ * Angular. It can be called as follows:
+ *
+ * var exampleMinErr = minErr('example');
+ * throw exampleMinErr('one', 'This {0} is {1}', foo, bar);
+ *
+ * The above creates an instance of minErr in the example namespace. The
+ * resulting error will have a namespaced error code of example.one.  The
+ * resulting error will replace {0} with the value of foo, and {1} with the
+ * value of bar. The object is not restricted in the number of arguments it can
+ * take.
+ *
+ * If fewer arguments are specified than necessary for interpolation, the extra
+ * interpolation markers will be preserved in the final string.
+ *
+ * Since data will be parsed statically during a build step, some restrictions
+ * are applied with respect to how minErr instances are created and called.
+ * Instances should have names of the form namespaceMinErr for a minErr created
+ * using minErr('namespace') . Error codes, namespaces and template strings
+ * should all be static strings, not variables or general expressions.
+ *
+ * @param {string} module The namespace to use for the new minErr instance.
+ * @param {function} ErrorConstructor Custom error constructor to be 
instantiated when returning
+ *   error from returned function, for cases when a particular type of error 
is useful.
+ * @returns {function(code:string, template:string, ...templateArgs): Error} 
minErr instance
+ */
+
+function minErr(module, ErrorConstructor) {
+  ErrorConstructor = ErrorConstructor || Error;
+  return function() {
+var SKIP_INDEXES = 2;
+
+var templateArgs = arguments,
+  code = templateArgs[0],
+  message = '[' + (module ? module + ':' : '') + code + '] ',
+  template = templateArgs[1],
+  paramPrefix, i;
+
+message += template.replace(/\{\d+\}/g, function(match) {
+  var index = +match.slice(1, -1),
+shiftedIndex = index + SKIP_INDEXES;
+
+  if (shiftedIndex < templateArgs.length) {
+return toDebugString(templateArgs[shiftedIndex]);
+  }
+
+  return match;
+});
+
+message += '\nhttp://errors.angularjs.org/1.5.0/' +
+  (module ? module + '/' : '') + code;
+
+for (i = SKIP_INDEXES, paramPrefix = '?'; i < templateArgs.length; i++, 
paramPrefix = '&') {
+  message += paramPrefix + 'p' + (i - SKIP_INDEXES) + '=' +
+encodeURIComponent(toDebugString(templateArgs[i]));
+}
+
+return new ErrorConstructor(message);
+  };
+}
+
+/* We need to tell jshint what variables are being exported */
+/* global angular: true,
+  msie: true,
+  jqLite: true,
+  jQuery: true,
+  slice: true,
+  splice: true,
+  push: true,
+  toString: true,
+  ngMinErr: true,
+  angularModule: true,
+  uid: true,
+  REGEX_STRING_REGEXP: true,
+  VALIDITY_STATE_PROPERTY: true,
+
+  lowercase: true,
+  uppercase: true,
+  manualLowercase: true,
+  manualUppercase: true,
+  nodeName_: true,
+  isArrayLike: true,
+  forEach: true,
+  forEachSorted: true,
+  reverseParams: true,
+  nextUid: true,
+  setHashKey: true,
+  extend: true,
+  toInt: true,
+  inherit: true,
+  merge: true,
+  noop: true,
+  identity: true,
+  valueFn: true,
+  isUndefined: true,
+  isDefined: true,
+  isObject: true,
+  isBlankObject: true,
+  isString: true,
+  isNumber: true,
+  isDate: true,
+  isArray: true,
+  isFunction: true,
+  isRegExp: true,
+  isWindow: true,
+  isScope: true,
+  isFile: true,
+  isFormData: true,
+  isBlob: true,
+  isBoolean: true,
+  isPromiseLike: true,
+  trim: true,
+  escapeForRegexp: true,
+  isElement: true,
+  makeMap: true,
+  includes: true,
+  arrayRemove: true,
+  copy: true,
+  shallowCopy: true,
+  equals: true,
+  csp: true,
+  jq: true,
+  concat: true,
+  sliceArgs: true,
+  bind: true,
+  toJsonReplacer: true,
+  toJson: true,
+  fromJson: true,
+  convertTimezoneToLocal: true,
+  timezoneToOffset: true,
+  startingTag: true,
+  tryDecodeURIComponent: true,
+  parseKeyValue: true,
+  toKeyValue: true,
+  encodeUriSegment: true,
+  encodeUriQuery: true,
+  angularInit: true,
+  bootstrap: true,
+  getTestability: true,
+  snake_case: true,

[31/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_brx-in.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_brx-in.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_brx-in.js
new file mode 100644
index 000..a0417d1
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_brx-in.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u092b\u0941\u0902",
+  "\u092c\u0947\u0932\u093e\u0938\u0947"
+],
+"DAY": [
+  "\u0930\u092c\u093f\u092c\u093e\u0930",
+  "\u0938\u092e\u092c\u093e\u0930",
+  "\u092e\u0902\u0917\u0932\u092c\u093e\u0930",
+  "\u092c\u0941\u0926\u092c\u093e\u0930",
+  "\u092c\u093f\u0938\u0925\u093f\u092c\u093e\u0930",
+  "\u0938\u0941\u0916\u0941\u0930\u092c\u093e\u0930",
+  "\u0938\u0941\u0928\u093f\u092c\u093e\u0930"
+],
+"ERANAMES": [
+  "\u0908\u0938\u093e.\u092a\u0942\u0930\u094d\u0935",
+  "\u0938\u0928"
+],
+"ERAS": [
+  "\u0908\u0938\u093e.\u092a\u0942\u0930\u094d\u0935",
+  "\u0938\u0928"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "\u091c\u093e\u0928\u0941\u0935\u093e\u0930\u0940",
+  "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940",
+  "\u092e\u093e\u0930\u094d\u0938",
+  "\u090f\u092b\u094d\u0930\u093f\u0932",
+  "\u092e\u0947",
+  "\u091c\u0941\u0928",
+  "\u091c\u0941\u0932\u093e\u0907",
+  "\u0906\u0917\u0938\u094d\u0925",
+  "\u0938\u0947\u092c\u0925\u0947\u091c\u094d\u092c\u093c\u0930",
+  "\u0905\u0916\u0925\u092c\u0930",
+  "\u0928\u092c\u0947\u091c\u094d\u092c\u093c\u0930",
+  "\u0926\u093f\u0938\u0947\u091c\u094d\u092c\u093c\u0930"
+],
+"SHORTDAY": [
+  "\u0930\u092c\u093f",
+  "\u0938\u092e",
+  "\u092e\u0902\u0917\u0932",
+  "\u092c\u0941\u0926",
+  "\u092c\u093f\u0938\u0925\u093f",
+  "\u0938\u0941\u0916\u0941\u0930",
+  "\u0938\u0941\u0928\u093f"
+],
+"SHORTMONTH": [
+  "\u091c\u093e\u0928\u0941\u0935\u093e\u0930\u0940",
+  "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940",
+  "\u092e\u093e\u0930\u094d\u0938",
+  "\u090f\u092b\u094d\u0930\u093f\u0932",
+  "\u092e\u0947",
+  "\u091c\u0941\u0928",
+  "\u091c\u0941\u0932\u093e\u0907",
+  "\u0906\u0917\u0938\u094d\u0925",
+  "\u0938\u0947\u092c\u0925\u0947\u091c\u094d\u092c\u093c\u0930",
+  "\u0905\u0916\u0925\u092c\u0930",
+  "\u0928\u092c\u0947\u091c\u094d\u092c\u093c\u0930",
+  "\u0926\u093f\u0938\u0947\u091c\u094d\u092c\u093c\u0930"
+],
+"STANDALONEMONTH": [
+  "\u091c\u093e\u0928\u0941\u0935\u093e\u0930\u0940",
+  "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940",
+  "\u092e\u093e\u0930\u094d\u0938",
+  "\u090f\u092b\u094d\u0930\u093f\u0932",
+  "\u092e\u0947",
+  "\u091c\u0941\u0928",
+  "\u091c\u0941\u0932\u093e\u0907",
+  "\u0906\u0917\u0938\u094d\u0925",
+  "\u0938\u0947\u092c\u0925\u0947\u091c\u094d\u092c\u093c\u0930",
+  "\u0905\u0916\u0925\u092c\u0930",
+  "\u0928\u092c\u0947\u091c\u094d\u092c\u093c\u0930",
+  "\u0926\u093f\u0938\u0947\u091c\u094d\u092c\u093c\u0930"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ",  d, y",
+"longDate": " d, y",
+"medium": "MMM d, y h:mm:ss a",
+"mediumDate": "MMM d, y",
+"mediumTime": "h:mm:ss a",
+"short": "M/d/yy h:mm a",
+"shortDate": "M/d/yy",
+"shortTime": "h:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u20b9",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": ",",
+"PATTERNS": [
+  {
+"gSize": 2,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 2,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": ""

[37/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.min.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.min.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.min.js
new file mode 100644
index 000..dcb1a13
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.min.js
@@ -0,0 +1,307 @@
+/*
+ AngularJS v1.5.0
+ (c) 2010-2016 Google, Inc. http://angularjs.org
+ License: MIT
+*/
+(function(O,W,v){'use strict';function H(a){return function(){var 
b=arguments[0],d;d="["+(a?a+":":"")+b+"] 
http://errors.angularjs.org/1.5.0/"+(a?a+"/":"")+b;for(b=1;b").append(a).html();try{return 
a[0].nodeType===Pa?G(d):d.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+G(b)})}catch(c){return
 G(d)}}function yc(a){try{return decodeURIComponent(a)}catch(b){}}function 
zc(a){var b=
+{};n((a||"").split("&"),function(a){var 
c,e,f;a&&(e=a=a.replace(/\+/g,"%20"),c=a.indexOf("="),-1!==c&&(e=a.substring(0,c),f=a.substring(c+1)),e=yc(e),y(e)&&(f=y(f)?yc(f):!0,sa.call(b,e)?L(b[e])?b[e].push(f):b[e]=[b[e],f]:b[e]=f))});return
 b}function Ub(a){var 
b=[];n(a,function(a,c){L(a)?n(a,function(a){b.push(ha(c,!0)+(!0===a?"":"="+ha(a,!0)))}):b.push(ha(c,!0)+(!0===a?"":"="+ha(a,!0)))});return
 b.length?b.join("&"):""}function qb(a){return 
ha(a,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,
+"+")}function ha(a,b){return 
encodeURIComponent(a).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,b?"%20":"+")}function
 ee(a,b){var 
d,c,e=Qa.length;for(c=0;c/,">"));}b=b||[];b.unshift(["$provide",function(b){b.value("$rootElement",a)}]);d.debugInfoEnabled&&b.push(["$compileProvider",function(a){a.debugInfoEnabled(!0)}]);b.unshift("ng");c=fb(b,d.strictDi);c.invoke(["$rootScope","$rootElement",
+"$compile","$injector",function(a,b,c,d){a.$apply(function(){b.data("$injector",d);c(b)(a)})}]);return
 
c},e=/^NG_ENABLE_DEBUG_INFO!/,f=/^NG_DEFER_BOOTSTRAP!/;O&&e.test(O.name)&&(d.debugInfoEnabled=!0,O.name=O.name.replace(e,""));if(O&&!f.test(O.name))return
 
c();O.name=O.name.replace(f,"");ia.resumeBootstrap=function(a){n(a,function(a){b.push(a)});return
 c()};D(ia.resumeDeferredBootstrap)&&ia.resumeDeferredBootstrap()}function 
ge(){O.name="NG_ENABLE_DEBUG_INFO!"+O.name;O.location.reload()}function he(a){a=
+ia.element(a).injector();if(!a)throw Da("test");return 
a.get("$$testability")}function Bc(a,b){b=b||"_";return 
a.replace(ie,function(a,c){return(c?b:"")+a.toLowerCase()})}function je(){var 
a;if(!Cc){var 
b=rb();(ua=x(b)?O.jQuery:b?O[b]:v)&&ua.fn.on?(C=ua,T(ua.fn,{scope:Ra.scope,isolateScope:Ra.isolateScope,controller:Ra.controller,injector:Ra.injector,inheritedData:Ra.inheritedData}),a=ua.cleanData,ua.cleanData=function(b){for(var
 
c,e=0,f;null!=(f=b[e]);e++)(c=ua._data(f,"events"))&&c.$destroy&&ua(f).triggerHandler("$destroy");
+a(b)}):C=U;ia.element=C;Cc=!0}}function sb(a,b,d){if(!a)throw 
Da("areq",b||"?",d||"required");return a}function 
Sa(a,b,d){d&&L(a)&&(a=a[a.length-1]);sb(D(a),b,"not a function, got 
"+(a&&"object"===typeof a?a.constructor.name||"Object":typeof a));return 
a}function Ta(a,b){if("hasOwnProperty"===a)throw Da("badname",b);}function 
Dc(a,b,d){if(!b)return a;b=b.split(".");for(var 
c,e=a,f=b.length,g=0;g")+c[2];for(c=c[0];c--;)d=d.lastChild;f=db(f,d.childNodes);d=e.firstChild;d.textContent=""}else
 
f.push(b.createTextNode(a));e.textContent="";e.innerHTML="";n(f,function(a){e.appendChild(a)});return
 e}function Oc(a,
+b){var d=a.parentNode;d&&d.replaceChild(b,a);b.appendChild(a)}function 
U(a){if(a instanceof U)return a;var b;F(a)&&(a=X(a),b=!0);if(!(this instanceof 
U)){if(b&&"<"!=a.charAt(0))throw Xb("nosel");return new U(a)}if(b){b=W;var 
d;a=(d=Nf.exec(a))?[b.createElement(d[1])]:(d=Nc(a,b))?d.childNodes:[]}Pc(this,a)}function
 Yb(a){return a.cloneNode(!0)}function 
wb(a,b){b||hb(a);if(a.querySelectorAll)for(var 
d=a.querySelectorAll("*"),c=0,e=d.length;c=xa?!1:"function"===typeof
 
a&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(a));return
 d?(c.unshift(null),new 
(Function.prototype.bind.apply(a,c))):a.apply(b,c)},instantiate:function(a,b,c){var
 d=L(a)?a[a.length-1]:a;a=e(a,b,c);a.unshift(null);return new 
(Function.prototype.bind.apply(d,a))},get:d,annotate:fb.$$annotate,has:function(b){return
 r.hasOwnProperty(b+
+"Provider")||a.hasOwnProperty(b)}}}b=!0===b;var k={},l=[],m=new 
Ua([],!0),r={$provide:{provider:d(c),factory:d(f),service:d(function(a,b){return
 f(a,["$injector",function(a){return 
a.instantiate(b)}])}),value:d(function(a,b){return 
f(a,ba(b),!1)}),constant:d(function(a,b){Ta(a,"cons

[16/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ks.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ks.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ks.js
new file mode 100644
index 000..7c64c70
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ks.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "\u0627\u064e\u062a\u06be\u0648\u0627\u0631",
+  "\u0698\u0654\u0646\u065b\u062f\u0631\u0655\u0631\u0648\u0627\u0631",
+  "\u0628\u0648\u065a\u0645\u0648\u0627\u0631",
+  "\u0628\u0648\u062f\u0648\u0627\u0631",
+  "\u0628\u0631\u065b\u066e\u06ea\u0633\u0648\u0627\u0631",
+  "\u062c\u064f\u0645\u06c1",
+  "\u0628\u0679\u0648\u0627\u0631"
+],
+"ERANAMES": [
+  "\u0642\u0628\u0655\u0644 \u0645\u0633\u06cc\u0656\u062d",
+  "\u0639\u06cc\u0656\u0633\u0648\u06cc \u0633\u0646\u06c1\u0655"
+],
+"ERAS": [
+  "\u0628\u06cc \u0633\u06cc",
+  "\u0627\u06d2 \u0688\u06cc"
+],
+"FIRSTDAYOFWEEK": 6,
+"MONTH": [
+  "\u062c\u0646\u0624\u0631\u06cc",
+  "\u0641\u0631\u0624\u0631\u06cc",
+  "\u0645\u0627\u0631\u0655\u0686",
+  "\u0627\u067e\u0631\u06cc\u0644",
+  "\u0645\u06cc\u0654",
+  "\u062c\u0648\u0657\u0646",
+  "\u062c\u0648\u0657\u0644\u0627\u06cc\u06cc",
+  "\u0627\u06af\u0633\u062a",
+  "\u0633\u062a\u0645\u0628\u0631",
+  "\u0627\u06a9\u062a\u0648\u0657\u0628\u0631",
+  "\u0646\u0648\u0645\u0628\u0631",
+  "\u062f\u0633\u0645\u0628\u0631"
+],
+"SHORTDAY": [
+  "\u0622\u062a\u06be\u0648\u0627\u0631",
+  "\u0698\u0654\u0646\u065b\u062f\u0655\u0631\u0648\u0627\u0631",
+  "\u0628\u0648\u065a\u0645\u0648\u0627\u0631",
+  "\u0628\u0648\u062f\u0648\u0627\u0631",
+  "\u0628\u0631\u065b\u066e\u06ea\u0633\u0648\u0627\u0631",
+  "\u062c\u064f\u0645\u06c1",
+  "\u0628\u0679\u0648\u0627\u0631"
+],
+"SHORTMONTH": [
+  "\u062c\u0646\u0624\u0631\u06cc",
+  "\u0641\u0631\u0624\u0631\u06cc",
+  "\u0645\u0627\u0631\u0655\u0686",
+  "\u0627\u067e\u0631\u06cc\u0644",
+  "\u0645\u06cc\u0654",
+  "\u062c\u0648\u0657\u0646",
+  "\u062c\u0648\u0657\u0644\u0627\u06cc\u06cc",
+  "\u0627\u06af\u0633\u062a",
+  "\u0633\u062a\u0645\u0628\u0631",
+  "\u0627\u06a9\u062a\u0648\u0657\u0628\u0631",
+  "\u0646\u0648\u0645\u0628\u0631",
+  "\u062f\u0633\u0645\u0628\u0631"
+],
+"STANDALONEMONTH": [
+  "\u062c\u0646\u0624\u0631\u06cc",
+  "\u0641\u0631\u0624\u0631\u06cc",
+  "\u0645\u0627\u0631\u0655\u0686",
+  "\u0627\u067e\u0631\u06cc\u0644",
+  "\u0645\u06cc\u0654",
+  "\u062c\u0648\u0657\u0646",
+  "\u062c\u0648\u0657\u0644\u0627\u06cc\u06cc",
+  "\u0627\u06af\u0633\u062a",
+  "\u0633\u062a\u0645\u0628\u0631",
+  "\u0627\u06a9\u062a\u0648\u0657\u0628\u0631",
+  "\u0646\u0648\u0645\u0628\u0631",
+  "\u062f\u0633\u0645\u0628\u0631"
+],
+"WEEKENDRANGE": [
+  6,
+  6
+],
+"fullDate": ",  d, y",
+"longDate": " d, y",
+"medium": "MMM d, y h:mm:ss a",
+"mediumDate": "MMM d, y",
+"mediumTime": "h:mm:ss a",
+"short": "M/d/yy h:mm a",
+"shortDate": "M/d/yy",
+"shortTime": "h:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u20b9",
+"DECIMAL_SEP": "\u066b",
+"GROUP_SEP": "\u066c",
+"PATTERNS": [
+  {
+"gSize": 2,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 2,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "ks",
+  "localeID": "ks",
+  "pluralCat": function(n, opt_precision) { 

[43/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-mocks.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-mocks.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-mocks.js
new file mode 100644
index 000..34d3608
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-mocks.js
@@ -0,0 +1,2842 @@
+/**
+ * @license AngularJS v1.5.0
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
+ * License: MIT
+ */
+(function(window, angular, undefined) {
+
+'use strict';
+
+/**
+ * @ngdoc object
+ * @name angular.mock
+ * @description
+ *
+ * Namespace from 'angular-mocks.js' which contains testing related code.
+ */
+angular.mock = {};
+
+/**
+ * ! This is a private undocumented service !
+ *
+ * @name $browser
+ *
+ * @description
+ * This service is a mock implementation of {@link ng.$browser}. It provides 
fake
+ * implementation for commonly used browser apis that are hard to test, e.g. 
setTimeout, xhr,
+ * cookies, etc...
+ *
+ * The api of this service is the same as that of the real {@link ng.$browser 
$browser}, except
+ * that there are several helper methods available which can be used in tests.
+ */
+angular.mock.$BrowserProvider = function() {
+  this.$get = function() {
+return new angular.mock.$Browser();
+  };
+};
+
+angular.mock.$Browser = function() {
+  var self = this;
+
+  this.isMock = true;
+  self.$$url = "http://server/";;
+  self.$$lastUrl = self.$$url; // used by url polling fn
+  self.pollFns = [];
+
+  // TODO(vojta): remove this temporary api
+  self.$$completeOutstandingRequest = angular.noop;
+  self.$$incOutstandingRequestCount = angular.noop;
+
+
+  // register url polling fn
+
+  self.onUrlChange = function(listener) {
+self.pollFns.push(
+  function() {
+if (self.$$lastUrl !== self.$$url || self.$$state !== 
self.$$lastState) {
+  self.$$lastUrl = self.$$url;
+  self.$$lastState = self.$$state;
+  listener(self.$$url, self.$$state);
+}
+  }
+);
+
+return listener;
+  };
+
+  self.$$applicationDestroyed = angular.noop;
+  self.$$checkUrlChange = angular.noop;
+
+  self.deferredFns = [];
+  self.deferredNextId = 0;
+
+  self.defer = function(fn, delay) {
+delay = delay || 0;
+self.deferredFns.push({time:(self.defer.now + delay), fn:fn, id: 
self.deferredNextId});
+self.deferredFns.sort(function(a, b) { return a.time - b.time;});
+return self.deferredNextId++;
+  };
+
+
+  /**
+   * @name $browser#defer.now
+   *
+   * @description
+   * Current milliseconds mock time.
+   */
+  self.defer.now = 0;
+
+
+  self.defer.cancel = function(deferId) {
+var fnIndex;
+
+angular.forEach(self.deferredFns, function(fn, index) {
+  if (fn.id === deferId) fnIndex = index;
+});
+
+if (angular.isDefined(fnIndex)) {
+  self.deferredFns.splice(fnIndex, 1);
+  return true;
+}
+
+return false;
+  };
+
+
+  /**
+   * @name $browser#defer.flush
+   *
+   * @description
+   * Flushes all pending requests and executes the defer callbacks.
+   *
+   * @param {number=} number of milliseconds to flush. See {@link #defer.now}
+   */
+  self.defer.flush = function(delay) {
+if (angular.isDefined(delay)) {
+  self.defer.now += delay;
+} else {
+  if (self.deferredFns.length) {
+self.defer.now = self.deferredFns[self.deferredFns.length - 1].time;
+  } else {
+throw new Error('No deferred tasks to be flushed');
+  }
+}
+
+while (self.deferredFns.length && self.deferredFns[0].time <= 
self.defer.now) {
+  self.deferredFns.shift().fn();
+}
+  };
+
+  self.$$baseHref = '/';
+  self.baseHref = function() {
+return this.$$baseHref;
+  };
+};
+angular.mock.$Browser.prototype = {
+
+/**
+  * @name $browser#poll
+  *
+  * @description
+  * run all fns in pollFns
+  */
+  poll: function poll() {
+angular.forEach(this.pollFns, function(pollFn) {
+  pollFn();
+});
+  },
+
+  url: function(url, replace, state) {
+if (angular.isUndefined(state)) {
+  state = null;
+}
+if (url) {
+  this.$$url = url;
+  // Native pushState serializes & copies the object; simulate it.
+  this.$$state = angular.copy(state);
+  return this;
+}
+
+return this.$$url;
+  },
+
+  state: function() {
+return this.$$state;
+  },
+
+  notifyWhenNoOutstandingRequests: function(fn) {
+fn();
+  }
+};
+
+
+/**
+ * @ngdoc provider
+ * @name $exceptionHandlerProvider
+ *
+ * @description
+ * Configures the mock implementation of {@link ng.$exceptionHandler} to 
rethrow or to log errors
+ * passed to the `$exceptionHandler`.
+ */
+

[04/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ug-arab.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ug-arab.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ug-arab.js
new file mode 100644
index 000..2e194fc
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ug-arab.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646",
+  "\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"
+],
+"DAY": [
+  "\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5",
+  "\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5",
+  "\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5",
+  "\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5",
+  "\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5",
+  "\u062c\u06c8\u0645\u06d5",
+  "\u0634\u06d5\u0646\u0628\u06d5"
+],
+"ERANAMES": [
+  "\u0645\u0649\u0644\u0627\u062f\u0649\u064a\u06d5\u062f\u0649\u0646 
\u0628\u06c7\u0631\u06c7\u0646",
+  "\u0645\u0649\u0644\u0627\u062f\u0649\u064a\u06d5"
+],
+"ERAS": [
+  "\u0645\u0649\u0644\u0627\u062f\u0649\u064a\u06d5\u062f\u0649\u0646 
\u0628\u06c7\u0631\u06c7\u0646",
+  "\u0645\u0649\u0644\u0627\u062f\u0649\u064a\u06d5"
+],
+"FIRSTDAYOFWEEK": 6,
+"MONTH": [
+  "\u064a\u0627\u0646\u06cb\u0627\u0631",
+  "\u0641\u06d0\u06cb\u0631\u0627\u0644",
+  "\u0645\u0627\u0631\u062a",
+  "\u0626\u0627\u067e\u0631\u06d0\u0644",
+  "\u0645\u0627\u064a",
+  "\u0626\u0649\u064a\u06c7\u0646",
+  "\u0626\u0649\u064a\u06c7\u0644",
+  "\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a",
+  "\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631",
+  "\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631",
+  "\u0628\u0648\u064a\u0627\u0628\u0649\u0631",
+  "\u062f\u06d0\u0643\u0627\u0628\u0649\u0631"
+],
+"SHORTDAY": [
+  "\u064a\u06d5",
+  "\u062f\u06c8",
+  "\u0633\u06d5",
+  "\u0686\u0627",
+  "\u067e\u06d5",
+  "\u0686\u06c8",
+  "\u0634\u06d5"
+],
+"SHORTMONTH": [
+  "\u064a\u0627\u0646\u06cb\u0627\u0631",
+  "\u0641\u06d0\u06cb\u0631\u0627\u0644",
+  "\u0645\u0627\u0631\u062a",
+  "\u0626\u0627\u067e\u0631\u06d0\u0644",
+  "\u0645\u0627\u064a",
+  "\u0626\u0649\u064a\u06c7\u0646",
+  "\u0626\u0649\u064a\u06c7\u0644",
+  "\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a",
+  "\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631",
+  "\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631",
+  "\u0646\u0648\u064a\u0627\u0628\u0649\u0631",
+  "\u062f\u06d0\u0643\u0627\u0628\u0649\u0631"
+],
+"STANDALONEMONTH": [
+  "\u064a\u0627\u0646\u06cb\u0627\u0631",
+  "\u0641\u06d0\u06cb\u0631\u0627\u0644",
+  "\u0645\u0627\u0631\u062a",
+  "\u0626\u0627\u067e\u0631\u06d0\u0644",
+  "\u0645\u0627\u064a",
+  "\u0626\u0649\u064a\u06c7\u0646",
+  "\u0626\u0649\u064a\u06c7\u0644",
+  "\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a",
+  "\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631",
+  "\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631",
+  "\u0628\u0648\u064a\u0627\u0628\u0649\u0631",
+  "\u062f\u06d0\u0643\u0627\u0628\u0649\u0631"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": "\u060c  d\u060c y",
+"longDate": " d\u060c y",
+"medium": "MMM d\u060c y h:mm:ss a",
+"mediumDate": "MMM d\u060c y",
+"mediumTime": "h:mm:ss a",
+"short": "M/d/yy h:mm a",
+"shortDate": "M/d/yy",
+"shortTime": "h:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u00a5",
+"DECIMAL_SEP": ".",
+"GROUP_SEP": ",",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+ 

[36/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.min.js.map
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.min.js.map
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.min.js.map
new file mode 100644
index 000..07fc1ce
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular.min.js.map
@@ -0,0 +1,8 @@
+{
+"version":3,
+"file":"angular.min.js",
+"lineCount":306,
+"mappings":"A;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAmBC,CAAnB,CAA8B,CAgCvCC,Q,E,C,C,C,C,M,S,E,C,I,E,S,C,C,C,C,C,E,C,G,E,C,C,C,C,G,C,E,E,C,C,sC,E,C,C,C,C,G,C,E,E,C,K,C,C,C,C,C,C,S,O,C,C,E,C,C,C,C,C,E,C,E,C,C,G,C,G,E,G,E,C,C,C,E,G,K,E,kB,C,C,E,C,S,C,C,C,E,C,U,E,M,E,C,C,S,E,Q,C,a,C,E,C,C,W,E,M,E,C,W,C,Q,E,M,E,C,I,U,C,C,C,C,C,E,E,C,C,C,C,C,M,M,C,C,C,C,CAmNAC,QAASA,GAAW,CAACC,CAAD,CAAM,CAGxB,GAAW,IAAX,EAAIA,CAAJ,EAAmBC,EAAA,CAASD,CAAT,CAAnB,CAAkC,MAAO,C
 
AAA,CAMzC,IAAIE,CAAA,CAAQF,CAAR,CAAJ,EAAoBG,CAAA,CAASH,CAAT,CAApB,EAAsCI,CAAtC,EAAgDJ,CAAhD,WAA+DI,EAA/D,CAAwE,MAAO,CAAA,CAI/E;IAAIC,EAAS,QAATA,EAAqBC,OAAA,CAAON,CAAP,CAArBK,EAAoCL,CAAAK,OAIxC,OAAOE,EAAA,CAASF,CAAT,CAAP,GACa,CADb,EACGA,CADH,GACoBA,CADpB,CAC6B,CAD7B,GACmCL,EADnC,EAC0CA,CAD1C,WACyDQ,MADzD,GACsF,UADtF,EACmE,MAAOR,EAAAS,KAD1E,CAjBwB,CAyD1BC,QAASA,EAAO,CAACV,CAAD,CAAMW,CAAN,CAAgBC,CAAhB,CAAyB,CAAA,IACnCC,CADmC,CAC9BR,CACT,IAAIL,CAAJ,CACE,GAAIc,CAAA,CAAWd,CAAX,CAAJ,CACE,IAAKa,CAAL,GAAYb,EAAZ,CAGa,WAAX,EAAIa,CAAJ,EAAiC,QAAjC,EAA0BA,CAA1B,EAAoD,MAApD,EAA6CA,CAA7C,EAAgEb,CAAAe,eAAhE,EAAsF,CAAAf,CAAAe,eAAA,CAAmBF,CAAnB,CAAtF,EACEF,CAAAK,KAAA,CAAcJ,CAAd,CAAuBZ,CAAA,CAAIa,CAAJ,CAAvB,CAAiCA,CAAjC,CAAsCb,CAAtC,CALN,KAQO,IAAIE,CAAA,CAAQF,CAAR,CAAJ,EAAoBD,EAAA,CAAYC,CAAZ,CAApB,CAAsC,CAC3C,IAAIiB,EAA6B,QAA7BA,GAAc,MAAOjB,EACpBa,EAAA,CAAM,CAAX,KAAcR,CAAd,CAAuBL,CAAAK,OAAvB,CAAmCQ,CAAnC,CAAyCR,CAAzC,CAAiDQ,CAAA,EAAjD,CACE,CAAII,CAAJ,EAAmBJ,CAAnB,GAA0Bb,EAA1B,GACEW,CAAAK,KAAA,CAAcJ,CAA
 
d,CAAuBZ,CAAA,CAAIa,CAAJ,CAAvB,CAAiCA,CAAjC,CAAsCb,CAAtC,CAJuC,CAAtC,IAOA,IAAIA,CAAAU,QAAJ,EAAmBV,CAAAU,QAAnB,GAAmCA,CAAnC,CACHV,CAAAU,QAAA,CAAYC,CAAZ,CAAsBC,CAAtB,CAA+BZ,CAA/B,CADG,KAEA,IAAIkB,EAAA,CAAclB,CAAd,CAAJ,CAEL,IAAKa,CAAL,GAAYb,EAAZ,CACEW,CAAAK,KAAA,CAAcJ,CAAd,CAAuBZ,CAAA,CAAIa,CAAJ,CAAvB,CAAiCA,CAAjC,CAAsCb,CAAtC,CAHG,KAKA,IAAkC,UAAlC,GAAI,MAAOA,EAAAe,eAAX,CAEL,IAAKF,CAAL,GAAYb,EAAZ,CACMA,CAAAe,eAAA,CAAmBF,CAAnB,CAAJ;AACEF,CAAAK,KAAA,CAAcJ,CAAd,CAAuBZ,CAAA,CAAIa,CAAJ,CAAvB,CAAiCA,CAAjC,CAAsCb,CAAtC,CAJC,KASL,KAAKa,CAAL,GAAYb,EAAZ,CACMe,EAAAC,KAAA,CAAoBhB,CAApB,CAAyBa,CAAzB,CAAJ,EACEF,CAAAK,KAAA,CAAcJ,CAAd,CAAuBZ,CAAA,CAAIa,CAAJ,CAAvB,CAAiCA,CAAjC,CAAsCb,CAAtC,CAKR,OAAOA,EAzCgC,CA4CzCmB,QAASA,GAAa,CAACnB,CAAD,CAAMW,CAAN,CAAgBC,CAAhB,CAAyB,CAE7C,IADA,IAAIQ,EAAOd,MAAAc,KAAA,CAAYpB,CAAZ,CAAAqB,KAAA,EAAX,CACSC,EAAI,CAAb,CAAgBA,CAAhB,CAAoBF,CAAAf,OAApB,CAAiCiB,CAAA,EAAjC,CACEX,CAAAK,KAAA,CAAcJ,CAAd,CAAuBZ,CAAA,CAAIoB,CAAA,CAAKE,CAAL,CAAJ,CAAvB,CAAqCF,CAAA,CAAKE,CAAL,CAArC,CAEF,
 
OAAOF,EALsC,CAc/CG,QAASA,GAAa,CAACC,CAAD,CAAa,CACjC,MAAO,SAAQ,CAACC,CAAD,CAAQZ,CAAR,CAAa,CAACW,CAAA,CAAWX,CAAX,CAAgBY,CAAhB,CAAD,CADK,CAcnCC,QAASA,GAAO,EAAG,CACjB,MAAO,EAAEC,EADQ,CAmBnBC,QAASA,GAAU,CAACC,CAAD,CAAMC,CAAN,CAAYC,CAAZ,CAAkB,CAGnC,IAFA,IAAIC,EAAIH,CAAAI,UAAR,CAESX,EAAI,CAFb,CAEgBY,EAAKJ,CAAAzB,OAArB,CAAkCiB,CAAlC,CAAsCY,CAAtC,CAA0C,EAAEZ,CAA5C,CAA+C,CAC7C,IAAItB,EAAM8B,CAAA,CAAKR,CAAL,CACV,IAAKa,CAAA,CAASnC,CAAT,CAAL,EAAuBc,CAAA,CAAWd,CAAX,CAAvB,CAEA,IADA,IAAIoB,EAAOd,MAAAc,KAAA,CAAYpB,CAAZ,CAAX,CACSoC,EAAI,CADb,CACgBC,EAAKjB,CAAAf,OAArB,CAAkC+B,CAAlC,CAAsCC,CAAtC,CAA0CD,CAAA,EAA1C,CAA+C,CAC7C,IAAIvB,EAAMO,CAAA,CAAKgB,CAAL,CAAV,CACIE,EAAMtC,CAAA,CAAIa,CAAJ,CAENkB,EAAJ,EAAYI,CAAA,CAASG,CAAT,CAAZ,CACMC,CAAA,CAAOD,CAAP,CAAJ,CACET,CAAA,CAAIhB,CAAJ,CADF,CACa,IAAI2B,IAAJ,CAASF,CAAAG,QAAA,EAAT,CADb,CAEWC,EAAA,CAASJ,CAAT,CAAJ,CACLT,CAAA,CAAIhB,CAAJ,CADK,CACM,IAAI8B,MAAJ,CAAWL,CAAX,CADN,CAEIA,CAAAM,SAAJ,CACLf,CAAA,CAAIhB,CAAJ,CADK,CACMyB,CAAAO,UAAA,CAAc,CAAA,CAAd,CADN;AAEIC,EAAA,
 
CAAUR,CAAV,CAAJ,CACLT,CAAA,CAAIhB,CAAJ,CADK,CACMyB,CAAAS,MAAA,EADN,EAGAZ,CAAA,CAASN,CAAA,CAAIhB,CAAJ,CAAT,CACL,GADyBgB,CAAA,CAAIhB,CAAJ,CACzB,CADoCX,CAAA,CAAQoC,CAAR,CAAA,CAAe,EAAf,CAAoB,EACxD,EAAAV,EAAA,CAAWC,CAAA,CAAIhB,CAAJ,C

[50/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/java/actions/data/ProjectsAction.java
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/java/actions/data/ProjectsAction.java
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/java/actions/data/ProjectsAction.java
new file mode 100644
index 000..996d089
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/java/actions/data/ProjectsAction.java
@@ -0,0 +1,72 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package ${package}.actions.data;
+
+import com.opensymphony.xwork2.ActionSupport;
+import org.apache.struts2.convention.annotation.Result;
+
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * List Apache projects.
+ */
+@Result(type = "json")
+public class ProjectsAction extends ActionSupport {
+
+private static final long serialVersionUID = 9037336532369476225L;
+private static final Logger log = 
LogManager.getLogger(ProjectsAction.class);
+
+private List projectNames;
+
+public String execute() throws Exception {
+
+projectNames = new ArrayList();
+projectNames.add("Apache Struts");
+projectNames.add("Apache Log4j");
+projectNames.add("Apache Tomcat");
+projectNames.add("Apache Maven");
+projectNames.add("Apache Ant");
+projectNames.add("Apache Log4Net");
+projectNames.add("Apache Log4Cxx");
+projectNames.add("Apache Chainsaw");
+projectNames.add("Apache Incubator");
+projectNames.add("Apache Hadoop");
+projectNames.add("Apache OpenOffice");
+projectNames.add("Apache Mahout");
+projectNames.add("Apache Tapestry");
+projectNames.add("Apache Jena");
+projectNames.add("Apache Solr");
+projectNames.add("Apache Cayenne");
+projectNames.add("Apache OpenEJB");
+projectNames.add("Apache Deltaspike");
+projectNames.add("Apache Cordova");
+
+log.debug("Return {} Apache projects", projectNames.size());
+
+return SUCCESS;
+}
+
+public List getProjectNames() {
+return projectNames;
+}
+}

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/java/actions/data/package-info.java
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/java/actions/data/package-info.java
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/java/actions/data/package-info.java
new file mode 100644
index 000..3e4af32
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/java/actions/data/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+@ParentPackage("data")
+@Namespace("/data")
+package ${package}.actions.data;
+
+import org.apache.struts2.convention.annotation.Namespace;
+import org.apache.struts2.convention.annotation.ParentPackage;
\ No newline at end of file

http://git-

[51/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
WW-4316 Moves Struts archetypes into its own repo


Project: http://git-wip-us.apache.org/repos/asf/struts-archetypes/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-archetypes/commit/3662396a
Tree: http://git-wip-us.apache.org/repos/asf/struts-archetypes/tree/3662396a
Diff: http://git-wip-us.apache.org/repos/asf/struts-archetypes/diff/3662396a

Branch: refs/heads/master
Commit: 3662396ad0b29ec2d49593e1cc4d3e8dacc906da
Parents: 89f1d38
Author: Lukasz Lenart 
Authored: Thu Jul 14 19:56:51 2016 +0200
Committer: Lukasz Lenart 
Committed: Thu Jul 14 19:56:53 2016 +0200

--
 pom.xml |64 +
 struts2-archetype-angularjs/README.txt  |61 +
 struts2-archetype-angularjs/pom.xml |86 +
 .../META-INF/maven/archetype-metadata.xml   |68 +
 .../main/resources/META-INF/maven/archetype.xml | 7 +
 .../resources/archetype-resources/LICENSE.txt   |   174 +
 .../resources/archetype-resources/NOTICE.txt| 6 +
 .../main/resources/archetype-resources/pom.xml  |   177 +
 .../src/main/java/actions/Index.java|42 +
 .../main/java/actions/data/ProjectsAction.java  |72 +
 .../main/java/actions/data/package-info.java|24 +
 .../src/main/resources/jshint.conf.js   |13 +
 .../src/main/resources/log4j2.xml   |16 +
 .../src/main/resources/package.properties   | 1 +
 .../src/main/resources/package_es.properties| 1 +
 .../src/main/resources/struts.xml   |16 +
 .../src/main/webapp/WEB-INF/content/index.jsp   |38 +
 .../src/main/webapp/WEB-INF/web.xml |20 +
 .../src/main/webapp/index.jsp   | 1 +
 .../src/main/webapp/js/app.js   |26 +
 .../src/main/webapp/js/config.js|40 +
 .../js/controllers/ApacheProjectsController.js  |40 +
 .../main/webapp/js/controllers/AppController.js |29 +
 .../webapp/js/controllers/HomeController.js |30 +
 .../webapp/js/lib/angular/angular-animate.js|  4121 ++
 .../js/lib/angular/angular-animate.min.js   |56 +
 .../js/lib/angular/angular-animate.min.js.map   | 8 +
 .../main/webapp/js/lib/angular/angular-aria.js  |   398 +
 .../webapp/js/lib/angular/angular-aria.min.js   |14 +
 .../js/lib/angular/angular-aria.min.js.map  | 8 +
 .../webapp/js/lib/angular/angular-cookies.js|   322 +
 .../js/lib/angular/angular-cookies.min.js   | 9 +
 .../js/lib/angular/angular-cookies.min.js.map   | 8 +
 .../main/webapp/js/lib/angular/angular-csp.css  |21 +
 .../webapp/js/lib/angular/angular-loader.js |   484 +
 .../webapp/js/lib/angular/angular-loader.min.js |10 +
 .../js/lib/angular/angular-loader.min.js.map| 8 +
 .../js/lib/angular/angular-message-format.js|   980 +
 .../lib/angular/angular-message-format.min.js   |26 +
 .../angular/angular-message-format.min.js.map   | 8 +
 .../webapp/js/lib/angular/angular-messages.js   |   687 +
 .../js/lib/angular/angular-messages.min.js  |12 +
 .../js/lib/angular/angular-messages.min.js.map  | 8 +
 .../main/webapp/js/lib/angular/angular-mocks.js |  2842 ++
 .../webapp/js/lib/angular/angular-resource.js   |   768 +
 .../js/lib/angular/angular-resource.min.js  |15 +
 .../js/lib/angular/angular-resource.min.js.map  | 8 +
 .../main/webapp/js/lib/angular/angular-route.js |  1016 +
 .../webapp/js/lib/angular/angular-route.min.js  |15 +
 .../js/lib/angular/angular-route.min.js.map | 8 +
 .../webapp/js/lib/angular/angular-sanitize.js   |   717 +
 .../js/lib/angular/angular-sanitize.min.js  |15 +
 .../js/lib/angular/angular-sanitize.min.js.map  | 8 +
 .../webapp/js/lib/angular/angular-scenario.js   | 41849 +
 .../main/webapp/js/lib/angular/angular-touch.js |   729 +
 .../webapp/js/lib/angular/angular-touch.min.js  |14 +
 .../js/lib/angular/angular-touch.min.js.map | 8 +
 .../src/main/webapp/js/lib/angular/angular.js   | 30428 
 .../main/webapp/js/lib/angular/angular.min.js   |   307 +
 .../webapp/js/lib/angular/angular.min.js.map| 8 +
 .../src/main/webapp/js/lib/angular/errors.json  | 1 +
 .../js/lib/angular/i18n/angular-locale_aa-dj.js |   128 +
 .../js/lib/angular/i18n/angular-locale_aa-er.js |   128 +
 .../js/lib/angular/i18n/angular-locale_aa-et.js |   128 +
 .../js/lib/angular/i18n/angular-locale_aa.js|   128 +
 .../js/lib/angular/i18n/angular-locale_af-na.js |   125 +
 .../js/lib/angular/i18n/angular-locale_af-za.js |   125 +
 .../js/lib/angular/i18n/angular-locale_af.js|   125 +
 .../lib/angular/i18n/angular-locale_agq-cm.js   |   143 +
 .../js/lib/angular/i18n/angular-locale_agq.js   |   143 +
 .../js/lib/angular/i18n/angular-locale_ak-gh.js |   143 +
 .../js/lib/angular/i18n/angular-locale_ak.js|   143 +
 .../js/lib/angular/i18n/angular-locale_am-et.js |   125 +
 .../js/

[39/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-touch.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-touch.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-touch.js
new file mode 100644
index 000..fc1cf7d
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-touch.js
@@ -0,0 +1,729 @@
+/**
+ * @license AngularJS v1.5.0
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
+ * License: MIT
+ */
+(function(window, angular, undefined) {'use strict';
+
+/* global ngTouchClickDirectiveFactory: false,
+ */
+
+/**
+ * @ngdoc module
+ * @name ngTouch
+ * @description
+ *
+ * # ngTouch
+ *
+ * The `ngTouch` module provides touch events and other helpers for 
touch-enabled devices.
+ * The implementation is based on jQuery Mobile touch event handling
+ * ([jquerymobile.com](http://jquerymobile.com/)).
+ *
+ *
+ * See {@link ngTouch.$swipe `$swipe`} for usage.
+ *
+ * 
+ *
+ */
+
+// define ngTouch module
+/* global -ngTouch */
+var ngTouch = angular.module('ngTouch', []);
+
+ngTouch.provider('$touch', $TouchProvider);
+
+function nodeName_(element) {
+  return angular.lowercase(element.nodeName || (element[0] && 
element[0].nodeName));
+}
+
+/**
+ * @ngdoc provider
+ * @name $touchProvider
+ *
+ * @description
+ * The `$touchProvider` allows enabling / disabling {@link ngTouch.ngClick 
ngTouch's ngClick directive}.
+ */
+$TouchProvider.$inject = ['$provide', '$compileProvider'];
+function $TouchProvider($provide, $compileProvider) {
+
+  /**
+   * @ngdoc method
+   * @name  $touchProvider#ngClickOverrideEnabled
+   *
+   * @param {boolean=} enabled update the ngClickOverrideEnabled state if 
provided, otherwise just return the
+   * current ngClickOverrideEnabled state
+   * @returns {*} current value if used as getter or itself (chaining) if used 
as setter
+   *
+   * @kind function
+   *
+   * @description
+   * Call this method to enable/disable {@link ngTouch.ngClick ngTouch's 
ngClick directive}. If enabled,
+   * the default ngClick directive will be replaced by a version that 
eliminates the 300ms delay for
+   * click events on browser for touch-devices.
+   *
+   * The default is `false`.
+   *
+   */
+  var ngClickOverrideEnabled = false;
+  var ngClickDirectiveAdded = false;
+  this.ngClickOverrideEnabled = function(enabled) {
+if (angular.isDefined(enabled)) {
+
+  if (enabled && !ngClickDirectiveAdded) {
+ngClickDirectiveAdded = true;
+
+// Use this to identify the correct directive in the delegate
+ngTouchClickDirectiveFactory.$$moduleName = 'ngTouch';
+$compileProvider.directive('ngClick', ngTouchClickDirectiveFactory);
+
+$provide.decorator('ngClickDirective', ['$delegate', 
function($delegate) {
+  if (ngClickOverrideEnabled) {
+// drop the default ngClick directive
+$delegate.shift();
+  } else {
+// drop the ngTouch ngClick directive if the override has been 
re-disabled (because
+// we cannot de-register added directives)
+var i = $delegate.length - 1;
+while (i >= 0) {
+  if ($delegate[i].$$moduleName === 'ngTouch') {
+$delegate.splice(i, 1);
+break;
+  }
+  i--;
+}
+  }
+
+  return $delegate;
+}]);
+  }
+
+  ngClickOverrideEnabled = enabled;
+  return this;
+}
+
+return ngClickOverrideEnabled;
+  };
+
+  /**
+  * @ngdoc service
+  * @name $touch
+  * @kind object
+  *
+  * @description
+  * Provides the {@link ngTouch.$touch#ngClickOverrideEnabled 
`ngClickOverrideEnabled`} method.
+  *
+  */
+  this.$get = function() {
+return {
+  /**
+   * @ngdoc method
+   * @name  $touch#ngClickOverrideEnabled
+   *
+   * @returns {*} current value of `ngClickOverrideEnabled` set in the 
{@link ngTouch.$touchProvider $touchProvider},
+   * i.e. if {@link ngTouch.ngClick ngTouch's ngClick} directive is 
enabled.
+   *
+   * @kind function
+   */
+  ngClickOverrideEnabled: function() {
+return ngClickOverrideEnabled;
+  }
+};
+  };
+
+}
+
+/* global ngTouch: false */
+
+/**
+ * @ngdoc service
+ * @name $swipe
+ *
+ * @description
+ * The `$swipe` service is a service that abstracts the messier details of 
hold-and-drag swipe
+ * behavior, to make implementing swipe-related directives more convenient.
+ *
+ * Requires the {@link ngTouch `ngTouch`} module to be installed.
+ *
+ * `$swipe` is used by the `ngSwipeLeft` and `ngSwipeRight` directive

[33/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ar-ss.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ar-ss.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ar-ss.js
new file mode 100644
index 000..c5afc29
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_ar-ss.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u0635",
+  "\u0645"
+],
+"DAY": [
+  "\u0627\u0644\u0623\u062d\u062f",
+  "\u0627\u0644\u0627\u062b\u0646\u064a\u0646",
+  "\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621",
+  "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",
+  "\u0627\u0644\u062e\u0645\u064a\u0633",
+  "\u0627\u0644\u062c\u0645\u0639\u0629",
+  "\u0627\u0644\u0633\u0628\u062a"
+],
+"ERANAMES": [
+  "\u0642\u0628\u0644 \u0627\u0644\u0645\u064a\u0644\u0627\u062f",
+  "\u0645\u064a\u0644\u0627\u062f\u064a"
+],
+"ERAS": [
+  "\u0642.\u0645",
+  "\u0645"
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "\u064a\u0646\u0627\u064a\u0631",
+  "\u0641\u0628\u0631\u0627\u064a\u0631",
+  "\u0645\u0627\u0631\u0633",
+  "\u0623\u0628\u0631\u064a\u0644",
+  "\u0645\u0627\u064a\u0648",
+  "\u064a\u0648\u0646\u064a\u0648",
+  "\u064a\u0648\u0644\u064a\u0648",
+  "\u0623\u063a\u0633\u0637\u0633",
+  "\u0633\u0628\u062a\u0645\u0628\u0631",
+  "\u0623\u0643\u062a\u0648\u0628\u0631",
+  "\u0646\u0648\u0641\u0645\u0628\u0631",
+  "\u062f\u064a\u0633\u0645\u0628\u0631"
+],
+"SHORTDAY": [
+  "\u0627\u0644\u0623\u062d\u062f",
+  "\u0627\u0644\u0627\u062b\u0646\u064a\u0646",
+  "\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621",
+  "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",
+  "\u0627\u0644\u062e\u0645\u064a\u0633",
+  "\u0627\u0644\u062c\u0645\u0639\u0629",
+  "\u0627\u0644\u0633\u0628\u062a"
+],
+"SHORTMONTH": [
+  "\u064a\u0646\u0627\u064a\u0631",
+  "\u0641\u0628\u0631\u0627\u064a\u0631",
+  "\u0645\u0627\u0631\u0633",
+  "\u0623\u0628\u0631\u064a\u0644",
+  "\u0645\u0627\u064a\u0648",
+  "\u064a\u0648\u0646\u064a\u0648",
+  "\u064a\u0648\u0644\u064a\u0648",
+  "\u0623\u063a\u0633\u0637\u0633",
+  "\u0633\u0628\u062a\u0645\u0628\u0631",
+  "\u0623\u0643\u062a\u0648\u0628\u0631",
+  "\u0646\u0648\u0641\u0645\u0628\u0631",
+  "\u062f\u064a\u0633\u0645\u0628\u0631"
+],
+"STANDALONEMONTH": [
+  "\u064a\u0646\u0627\u064a\u0631",
+  "\u0641\u0628\u0631\u0627\u064a\u0631",
+  "\u0645\u0627\u0631\u0633",
+  "\u0623\u0628\u0631\u064a\u0644",
+  "\u0645\u0627\u064a\u0648",
+  "\u064a\u0648\u0646\u064a\u0648",
+  "\u064a\u0648\u0644\u064a\u0648",
+  "\u0623\u063a\u0633\u0637\u0633",
+  "\u0633\u0628\u062a\u0645\u0628\u0631",
+  "\u0623\u0643\u062a\u0648\u0628\u0631",
+  "\u0646\u0648\u0641\u0645\u0628\u0631",
+  "\u062f\u064a\u0633\u0645\u0628\u0631"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": "\u060c d \u060c y",
+"longDate": "d \u060c y",
+"medium": "dd\u200f/MM\u200f/y h:mm:ss a",
+"mediumDate": "dd\u200f/MM\u200f/y",
+"mediumTime": "h:mm:ss a",
+"short": "d\u200f/M\u200f/y h:mm a",
+"shortDate": "d\u200f/M\u200f/y",
+"shortTime": "h:mm a"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u00a3",
+"DECIMAL_SEP": "\u066b",
+"GROUP_SEP": "\u066c",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-\u00a4\u00a0",
+"negSuf": "",
+"posPre": "\u00a4\u00a0",
+"posSuf": ""
+  }
+]
+  },
+  "id": "ar-ss",
+  "localeID": "ar_SS",
+  "pluralCat": function(n, opt_precision) {  if (n == 0) {return 
PLURAL_CATEGORY.ZERO;  }  if (n == 1) {return PLURAL_CATEGORY.ONE;  }  if 
(n == 2) {return PLURAL_CATEGORY.TWO;  }  if (n % 100 >= 3 && n % 100 <= 
10) {return PLURAL_CATEGORY.FEW;  }  if (n % 100 >= 11 && n % 100 <= 99) {  
  return PLURAL_CATEGORY.MANY;  

[41/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-route.min.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-route.min.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-route.min.js
new file mode 100644
index 000..4d0d018
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-route.min.js
@@ -0,0 +1,15 @@
+/*
+ AngularJS v1.5.0
+ (c) 2010-2016 Google, Inc. http://angularjs.org
+ License: MIT
+*/
+(function(r,d,C){'use strict';function 
x(s,h,g){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,c,b,f,y){function
 
k(){n&&(g.cancel(n),n=null);l&&(l.$destroy(),l=null);m&&(n=g.leave(m),n.then(function(){n=null}),m=null)}function
 z(){var b=s.current&&s.current.locals;if(d.isDefined(b&&b.$template)){var 
b=a.$new(),f=s.current;m=y(b,function(b){g.enter(b,null,m||c).then(function(){!d.isDefined(u)||u&&!a.$eval(u)||h()});k()});l=f.scope=b;l.$emit("$viewContentLoaded");
+l.$eval(v)}else k()}var 
l,m,n,u=b.autoscroll,v=b.onload||"";a.$on("$routeChangeSuccess",z);z()}}}function
 A(d,h,g){return{restrict:"ECA",priority:-400,link:function(a,c){var 
b=g.current,f=b.locals;c.html(f.$template);var 
y=d(c.contents());if(b.controller){f.$scope=a;var 
k=h(b.controller,f);b.controllerAs&&(a[b.controllerAs]=k);c.data("$ngControllerController",k);c.children().data("$ngControllerController",k)}a[b.resolveAs||"$resolve"]=f;y(a)}}}r=d.module("ngRoute",["ng"]).provider("$route",function(){function
 s(a,
+c){return d.extend(Object.create(a),c)}function h(a,d){var 
b=d.caseInsensitiveMatch,f={originalPath:a,regexp:a},g=f.keys=[];a=a.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(a,d,b,c){a="?"===c?c:null;c="*"===c?c:null;g.push({name:b,optional:!!a});d=d||"";return""+(a?"":d)+"(?:"+(a?d:"")+(c&&"(.+?)"||"([^/]+)")+(a||"")+")"+(a||"")}).replace(/([\/$\*])/g,"\\$1");f.regexp=new
 RegExp("^"+a+"$",b?"i":"");return f}var g={};this.when=function(a,c){var 
b=d.copy(c);d.isUndefined(b.reloadOnSearch)&&
+(b.reloadOnSearch=!0);d.isUndefined(b.caseInsensitiveMatch)&&(b.caseInsensitiveMatch=this.caseInsensitiveMatch);g[a]=d.extend(b,a&&h(a,b));if(a){var
 
f="/"==a[a.length-1]?a.substr(0,a.length-1):a+"/";g[f]=d.extend({redirectTo:a},h(f,b))}return
 
this};this.caseInsensitiveMatch=!1;this.otherwise=function(a){"string"===typeof 
a&&(a={redirectTo:a});this.when(null,a);return 
this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(a,c,b,f,h,k,r){function
 l(b){var e=
+t.current;(x=(p=n())&&e&&p.$$route===e.$$route&&d.equals(p.pathParams,e.pathParams)&&!p.reloadOnSearch&&!v)||!e&&!p||a.$broadcast("$routeChangeStart",p,e).defaultPrevented&&b&&b.preventDefault()}function
 m(){var 
w=t.current,e=p;if(x)w.params=e.params,d.copy(w.params,b),a.$broadcast("$routeUpdate",w);else
 
if(e||w)v=!1,(t.current=e)&&e.redirectTo&&(d.isString(e.redirectTo)?c.path(u(e.redirectTo,e.params)).search(e.params).replace():c.url(e.redirectTo(e.pathParams,c.path(),c.search())).replace()),f.when(e).then(function(){if(e){var
 a=
+d.extend({},e.resolve),b,c;d.forEach(a,function(b,e){a[e]=d.isString(b)?h.get(b):h.invoke(b,null,null,e)});d.isDefined(b=e.template)?d.isFunction(b)&&(b=b(e.params)):d.isDefined(c=e.templateUrl)&&(d.isFunction(c)&&(c=c(e.params)),d.isDefined(c)&&(e.loadedTemplateUrl=r.valueOf(c),b=k(c)));d.isDefined(b)&&(a.$template=b);return
 
f.all(a)}}).then(function(c){e==t.current&&(e&&(e.locals=c,d.copy(e.params,b)),a.$broadcast("$routeChangeSuccess",e,w))},function(b){e==t.current&&a.$broadcast("$routeChangeError",
+e,w,b)})}function n(){var a,b;d.forEach(g,function(f,g){var q;if(q=!b){var 
h=c.path();q=f.keys;var l={};if(f.regexp)if(h=f.regexp.exec(h)){for(var 
k=1,n=h.length;khttp://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-route.min.js.map
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-route.min.js.map
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-route.min.js.map
new file mode 100644
index 000..fb5cffc
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-route.min.js.map
@@ -0,0 +1,8 @@
+{
+"version":3,
+"file":"angular-route.min.js",
+"lineCount":14,
+"mappings":"A;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkBC,CAAlB,CAA6B,CAw4BtCC,QAASA,EA

[07/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sr-cyrl-me.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sr-cyrl-me.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sr-cyrl-me.js
new file mode 100644
index 000..7a978c0
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_sr-cyrl-me.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "\u043f\u0440\u0435 \u043f\u043e\u0434\u043d\u0435",
+  "\u043f\u043e \u043f\u043e\u0434\u043d\u0435"
+],
+"DAY": [
+  "\u043d\u0435\u0434\u0435\u0459\u0430",
+  "\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a",
+  "\u0443\u0442\u043e\u0440\u0430\u043a",
+  "\u0441\u0440\u0435\u0434\u0430",
+  "\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a",
+  "\u043f\u0435\u0442\u0430\u043a",
+  "\u0441\u0443\u0431\u043e\u0442\u0430"
+],
+"ERANAMES": [
+  "\u041f\u0440\u0435 \u043d\u043e\u0432\u0435 \u0435\u0440\u0435",
+  "\u041d\u043e\u0432\u0435 \u0435\u0440\u0435"
+],
+"ERAS": [
+  "\u043f. \u043d. \u0435.",
+  "\u043d. \u0435."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "\u0458\u0430\u043d\u0443\u0430\u0440",
+  "\u0444\u0435\u0431\u0440\u0443\u0430\u0440",
+  "\u043c\u0430\u0440\u0442",
+  "\u0430\u043f\u0440\u0438\u043b",
+  "\u043c\u0430\u0458",
+  "\u0458\u0443\u043d",
+  "\u0458\u0443\u043b",
+  "\u0430\u0432\u0433\u0443\u0441\u0442",
+  "\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440",
+  "\u043e\u043a\u0442\u043e\u0431\u0430\u0440",
+  "\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440",
+  "\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440"
+],
+"SHORTDAY": [
+  "\u043d\u0435\u0434",
+  "\u043f\u043e\u043d",
+  "\u0443\u0442\u043e",
+  "\u0441\u0440\u0435",
+  "\u0447\u0435\u0442",
+  "\u043f\u0435\u0442",
+  "\u0441\u0443\u0431"
+],
+"SHORTMONTH": [
+  "\u0458\u0430\u043d",
+  "\u0444\u0435\u0431",
+  "\u043c\u0430\u0440",
+  "\u0430\u043f\u0440",
+  "\u043c\u0430\u0458",
+  "\u0458\u0443\u043d",
+  "\u0458\u0443\u043b",
+  "\u0430\u0432\u0433",
+  "\u0441\u0435\u043f",
+  "\u043e\u043a\u0442",
+  "\u043d\u043e\u0432",
+  "\u0434\u0435\u0446"
+],
+"STANDALONEMONTH": [
+  "\u0458\u0430\u043d\u0443\u0430\u0440",
+  "\u0444\u0435\u0431\u0440\u0443\u0430\u0440",
+  "\u043c\u0430\u0440\u0442",
+  "\u0430\u043f\u0440\u0438\u043b",
+  "\u043c\u0430\u0458",
+  "\u0458\u0443\u043d",
+  "\u0458\u0443\u043b",
+  "\u0430\u0432\u0433\u0443\u0441\u0442",
+  "\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440",
+  "\u043e\u043a\u0442\u043e\u0431\u0430\u0440",
+  "\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440",
+  "\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", dd.  y.",
+"longDate": "dd.  y.",
+"medium": "dd.MM.y. HH.mm.ss",
+"mediumDate": "dd.MM.y.",
+"mediumTime": "HH.mm.ss",
+"short": "d.M.yy. HH.mm",
+"shortDate": "d.M.yy.",
+"shortTime": "HH.mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u20ac",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a0\u00a4",
+"posPre": "",
+"posSuf": "\u00a0\u00a4"
+  }
+]
+  },
+  "id": "sr-cyrl-me",
+  "localeID": "sr_Cyrl_ME",
+  "pluralCat": function(n, opt_precision) {  var i = n | 0;  var vf = getVF(n, 
opt_precision);  if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10

[46/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-aria.min.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-aria.min.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-aria.min.js
new file mode 100644
index 000..cf0fd74
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-aria.min.js
@@ -0,0 +1,14 @@
+/*
+ AngularJS v1.5.0
+ (c) 2010-2016 Google, Inc. http://angularjs.org
+ License: MIT
+*/
+(function(s,q,t){'use strict';var f="BUTTON A INPUT TEXTAREA SELECT DETAILS 
SUMMARY".split(" 
"),l=function(a,c){if(-1!==c.indexOf(a[0].nodeName))return!0};q.module("ngAria",["ng"]).provider("$aria",function(){function
 a(a,h,p,n){return function(d,e,b){var 
g=b.$normalize(h);!c[g]||l(e,p)||b[g]||d.$watch(b[a],function(b){b=n?!b:!!b;e.attr(h,b)})}}var
 
c={ariaHidden:!0,ariaChecked:!0,ariaDisabled:!0,ariaRequired:!0,ariaInvalid:!0,ariaValue:!0,tabindex:!0,bindKeypress:!0,bindRoleForClick:!0};this.config=
+function(a){c=q.extend(c,a)};this.$get=function(){return{config:function(a){return
 c[a]},$$watchExpr:a}}}).directive("ngShow",["$aria",function(a){return 
a.$$watchExpr("ngShow","aria-hidden",[],!0)}]).directive("ngHide",["$aria",function(a){return
 
a.$$watchExpr("ngHide","aria-hidden",[],!1)}]).directive("ngValue",["$aria",function(a){return
 
a.$$watchExpr("ngValue","aria-checked",f,!1)}]).directive("ngChecked",["$aria",function(a){return
 a.$$watchExpr("ngChecked","aria-checked",f,!1)}]).directive("ngRequired",
+["$aria",function(a){return 
a.$$watchExpr("ngRequired","aria-required",f,!1)}]).directive("ngModel",["$aria",function(a){function
 c(c,n,d,e){return a.config(n)&&!d.attr(c)&&(e||!l(d,f))}function 
m(a,c){return!c.attr("role")&&c.attr("type")===a&&"INPUT"!==c[0].nodeName}function
 h(a,c){var 
d=a.type,e=a.role;return"checkbox"===(d||e)||"menuitemcheckbox"===e?"checkbox":"radio"===(d||e)||"menuitemradio"===e?"radio":"range"===d||"progressbar"===e||"slider"===e?"range":""}return{restrict:"A",require:"ngModel",
+priority:200,compile:function(f,n){var 
d=h(n,f);return{pre:function(a,b,c,k){"checkbox"===d&&(k.$isEmpty=function(a){return!1===a})},post:function(e,b,g,k){function
 f(){return k.$modelValue}function 
h(a){b.attr("aria-checked",g.value==k.$viewValue)}function 
n(){b.attr("aria-checked",!k.$isEmpty(k.$viewValue))}var 
l=c("tabindex","tabindex",b,!1);switch(d){case "radio":case 
"checkbox":m(d,b)&&b.attr("role",d);c("aria-checked","ariaChecked",b,!1)&&e.$watch(f,"radio"===d?h:n);l&&b.attr("tabindex",0);
+break;case 
"range":m(d,b)&&b.attr("role","slider");if(a.config("ariaValue")){var 
p=!b.attr("aria-valuemin")&&(g.hasOwnProperty("min")||g.hasOwnProperty("ngMin")),q=!b.attr("aria-valuemax")&&(g.hasOwnProperty("max")||g.hasOwnProperty("ngMax")),r=!b.attr("aria-valuenow");p&&g.$observe("min",function(a){b.attr("aria-valuemin",a)});q&&g.$observe("max",function(a){b.attr("aria-valuemax",a)});r&&e.$watch(f,function(a){b.attr("aria-valuenow",a)})}l&&b.attr("tabindex",0)}!g.hasOwnProperty("ngRequired")&&
+k.$validators.required&&c("aria-required","ariaRequired",b,!1)&&g.$observe("required",function(){b.attr("aria-required",!!g.required)});c("aria-invalid","ariaInvalid",b,!0)&&e.$watch(function(){return
 
k.$invalid},function(a){b.attr("aria-invalid",!!a)})}]).directive("ngDisabled",["$aria",function(a){return
 
a.$$watchExpr("ngDisabled","aria-disabled",f,!1)}]).directive("ngMessages",function(){return{restrict:"A",require:"?ngMessages",link:function(a,c,f,h){c.attr("aria-live")||c.attr("aria-live",
+"assertive")}}}).directive("ngClick",["$aria","$parse",function(a,c){return{restrict:"A",compile:function(m,h){var
 p=c(h.ngClick,null,!0);return 
function(c,d,e){if(!l(d,f)&&(a.config("bindRoleForClick")&&!d.attr("role")&&d.attr("role","button"),a.config("tabindex")&&!d.attr("tabindex")&&d.attr("tabindex",0),a.config("bindKeypress")&&!e.ngKeypress))d.on("keypress",function(a){function
 d(){p(c,{$event:a})}var 
e=a.which||a.keyCode;32!==e&&13!==e||c.$apply(d)})]).directive("ngDblclick",["$aria",function(a){return
 function(c,
+m,h){!a.config("tabindex")||m.attr("tabindex")||l(m,f)||m.attr("tabindex",0)}}])})(window,window.angular);
+//# sourceMappingURL=angular-aria.min.js.map

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-aria.min.js.map
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-aria.min.js.map
 
b/struts2-archetype-angula

[23/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es.js
new file mode 100644
index 000..07c4d2a
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_es.js
@@ -0,0 +1,125 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "a. m.",
+  "p. m."
+],
+"DAY": [
+  "domingo",
+  "lunes",
+  "martes",
+  "mi\u00e9rcoles",
+  "jueves",
+  "viernes",
+  "s\u00e1bado"
+],
+"ERANAMES": [
+  "antes de Cristo",
+  "despu\u00e9s de Cristo"
+],
+"ERAS": [
+  "a. C.",
+  "d. C."
+],
+"FIRSTDAYOFWEEK": 0,
+"MONTH": [
+  "enero",
+  "febrero",
+  "marzo",
+  "abril",
+  "mayo",
+  "junio",
+  "julio",
+  "agosto",
+  "septiembre",
+  "octubre",
+  "noviembre",
+  "diciembre"
+],
+"SHORTDAY": [
+  "dom.",
+  "lun.",
+  "mar.",
+  "mi\u00e9.",
+  "jue.",
+  "vie.",
+  "s\u00e1b."
+],
+"SHORTMONTH": [
+  "ene.",
+  "feb.",
+  "mar.",
+  "abr.",
+  "may.",
+  "jun.",
+  "jul.",
+  "ago.",
+  "sept.",
+  "oct.",
+  "nov.",
+  "dic."
+],
+"STANDALONEMONTH": [
+  "Enero",
+  "Febrero",
+  "Marzo",
+  "Abril",
+  "Mayo",
+  "Junio",
+  "Julio",
+  "Agosto",
+  "Septiembre",
+  "Octubre",
+  "Noviembre",
+  "Diciembre"
+],
+"WEEKENDRANGE": [
+  5,
+  6
+],
+"fullDate": ", d 'de'  'de' y",
+"longDate": "d 'de'  'de' y",
+"medium": "d MMM y H:mm:ss",
+"mediumDate": "d MMM y",
+"mediumTime": "H:mm:ss",
+"short": "d/M/yy H:mm",
+"shortDate": "d/M/yy",
+"shortTime": "H:mm"
+  },
+  "NUMBER_FORMATS": {
+"CURRENCY_SYM": "\u20ac",
+"DECIMAL_SEP": ",",
+"GROUP_SEP": ".",
+"PATTERNS": [
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 3,
+"minFrac": 0,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "",
+"posPre": "",
+"posSuf": ""
+  },
+  {
+"gSize": 3,
+"lgSize": 3,
+"maxFrac": 2,
+"minFrac": 2,
+"minInt": 1,
+"negPre": "-",
+"negSuf": "\u00a0\u00a4",
+"posPre": "",
+"posSuf": "\u00a0\u00a4"
+  }
+]
+  },
+  "id": "es",
+  "localeID": "es",
+  "pluralCat": function(n, opt_precision) {  if (n == 1) {return 
PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}
+});
+}]);

http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et-ee.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et-ee.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et-ee.js
new file mode 100644
index 000..d891b9d
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/i18n/angular-locale_et-ee.js
@@ -0,0 +1,143 @@
+'use strict';
+angular.module("ngLocale", [], ["$provide", function($provide) {
+var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: 
"many", OTHER: "other"};
+function getDecimals(n) {
+  n = n + '';
+  var i = n.indexOf('.');
+  return (i == -1) ? 0 : n.length - i - 1;
+}
+
+function getVF(n, opt_precision) {
+  var v = opt_precision;
+
+  if (undefined === v) {
+v = Math.min(getDecimals(n), 3);
+  }
+
+  var base = Math.pow(10, v);
+  var f = ((n * base) | 0) % base;
+  return {v: v, f: f};
+}
+
+$provide.value("$locale", {
+  "DATETIME_FORMATS": {
+"AMPMS": [
+  "AM",
+  "PM"
+],
+"DAY": [
+  "p\u00fchap\u00e4ev",
+  "esmasp\u00e4ev",
+  "teisip\u00e4ev",
+  "kolmap\u00e4ev",
+  "neljap\u00e4ev",
+  "reede",
+  "laup\u00e4ev"
+],
+"ERANAMES": [
+  "enne meie aega",
+  "meie aja j\u00e4rgi"
+],
+"ERAS": [
+  "e.m.a.",
+  "m.a.j."
+],
+"FIRSTDA

[45/51] [abbrv] [partial] struts-archetypes git commit: WW-4316 Moves Struts archetypes into its own repo

2016-07-14 Thread lukaszlenart
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/3662396a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-message-format.js
--
diff --git 
a/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-message-format.js
 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-message-format.js
new file mode 100644
index 000..0c3c6c1
--- /dev/null
+++ 
b/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/lib/angular/angular-message-format.js
@@ -0,0 +1,980 @@
+/**
+ * @license AngularJS v1.5.0
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
+ * License: MIT
+ */
+(function(window, angular, undefined) {'use strict';
+
+// NOTE: ADVANCED_OPTIMIZATIONS mode.
+//
+// This file is compiled with Closure compiler's ADVANCED_OPTIMIZATIONS flag! 
Be wary of using
+// constructs incompatible with that mode.
+
+var $interpolateMinErr = window['angular']['$interpolateMinErr'];
+
+var noop = window['angular']['noop'],
+isFunction = window['angular']['isFunction'],
+toJson = window['angular']['toJson'];
+
+function stringify(value) {
+  if (value == null /* null/undefined */) { return ''; }
+  switch (typeof value) {
+case 'string': return value;
+case 'number': return '' + value;
+default:   return toJson(value);
+  }
+}
+
+// Convert an index into the string into line/column for use in error messages
+// As such, this doesn't have to be efficient.
+function indexToLineAndColumn(text, index) {
+  var lines = text.split(/\n/g);
+  for (var i=0; i < lines.length; i++) {
+var line=lines[i];
+if (index >= line.length) {
+  index -= line.length;
+} else {
+  return { line: i + 1, column: index + 1 };
+}
+  }
+}
+var PARSE_CACHE_FOR_TEXT_LITERALS = Object.create(null);
+
+function parseTextLiteral(text) {
+  var cachedFn = PARSE_CACHE_FOR_TEXT_LITERALS[text];
+  if (cachedFn != null) {
+return cachedFn;
+  }
+  function parsedFn(context) { return text; }
+  parsedFn['$$watchDelegate'] = function watchDelegate(scope, listener, 
objectEquality) {
+var unwatch = scope['$watch'](noop,
+function textLiteralWatcher() {
+  if (isFunction(listener)) { listener.call(null, text, text, scope); }
+  unwatch();
+},
+objectEquality);
+return unwatch;
+  };
+  PARSE_CACHE_FOR_TEXT_LITERALS[text] = parsedFn;
+  parsedFn['exp'] = text; // Needed to pretend to be $interpolate for tests 
copied from interpolateSpec.js
+  parsedFn['expressions'] = []; // Require this to call 
$compile.$$addBindingInfo() which allows Protractor to find elements by binding.
+  return parsedFn;
+}
+
+function subtractOffset(expressionFn, offset) {
+  if (offset === 0) {
+return expressionFn;
+  }
+  function minusOffset(value) {
+return (value == void 0) ? value : value - offset;
+  }
+  function parsedFn(context) { return minusOffset(expressionFn(context)); }
+  var unwatch;
+  parsedFn['$$watchDelegate'] = function watchDelegate(scope, listener, 
objectEquality) {
+unwatch = scope['$watch'](expressionFn,
+function pluralExpressionWatchListener(newValue, oldValue) {
+  if (isFunction(listener)) { listener.call(null, 
minusOffset(newValue), minusOffset(oldValue), scope); }
+},
+objectEquality);
+return unwatch;
+  };
+  return parsedFn;
+}
+
+// NOTE: ADVANCED_OPTIMIZATIONS mode.
+//
+// This file is compiled with Closure compiler's ADVANCED_OPTIMIZATIONS flag! 
Be wary of using
+// constructs incompatible with that mode.
+
+/* global $interpolateMinErr: false */
+/* global isFunction: false */
+/* global noop: false */
+
+/**
+ * @constructor
+ * @private
+ */
+function MessageSelectorBase(expressionFn, choices) {
+  var self = this;
+  this.expressionFn = expressionFn;
+  this.choices = choices;
+  if (choices["other"] === void 0) {
+throw $interpolateMinErr('reqother', '“other” is a required option.');
+  }
+  this.parsedFn = function(context) { return self.getResult(context); };
+  this.parsedFn['$$watchDelegate'] = function $$watchDelegate(scope, listener, 
objectEquality) {
+return self.watchDelegate(scope, listener, objectEquality);
+  };
+  this.parsedFn['exp'] = expressionFn['exp'];
+  this.parsedFn['expressions'] = expressionFn['expressions'];
+}
+
+MessageSelectorBase.prototype.getMessageFn = function getMessageFn(value) {
+  return this.choices[this.categorizeValue(value)];
+};
+
+MessageSelectorBase.prototype.getResult = function getResult(context) {
+  return this.getMessageFn(this.expressionFn(context))(context);
+};
+
+MessageSelectorBase.prototype.watchDelegate = function watchDelegate(scope, 
listener, objectEquality) {
+  var watchers = new MessageSelectorWatchers(this, scope, listener, 
objectEquality)

svn commit: r992866 [2/2] - in /websites/production/struts/content: ./ docs/

2016-07-14 Thread lukaszlenart
Modified: websites/production/struts/content/docs/webxml.html
==
--- websites/production/struts/content/docs/webxml.html (original)
+++ websites/production/struts/content/docs/webxml.html Fri Jul 15 06:29:45 2016
@@ -138,15 +138,24 @@ under the License.
 
 
 
-The web.xml web 
application descriptor file represents the core of the Java web application, so 
it is appropriate that it is also part of the core of the Struts framework. In 
the web.xml file, Struts defines its FilterDispatcher, the Servlet 
Filter class that initializes the Struts framework and handles all requests. 
This filter can contain initialization parameters that affect what, if any, 
additional configuration files are loaded and how the framework should 
behave.Simple ExampleConfiguring 
web.xml for the framework is a matter of adding a filter and 
filter-mapping.FilterDispatcher Example (web.xml)
-*/
+Simple Example
+Changed filter package in 
Struts >= 2.5Changed Filter 
Structure in Struts >= 2.1.3Exclude specific URLs
+Taglib 
ExampleCustom 
FileManager and FileManagerFactory implementationsCustom configuration 
provider
+The web.xml web application descriptor file represents 
the core of the Java web application, so it is appropriate that it is also part 
of the core of the Struts framework. In the web.xml file, Struts 
defines its FilterDispatcher, the Servlet Filter class that initializes the 
Struts framework and handles all requests. This filter can contain 
initialization parameters that affect what, if any, additional configuration 
files are loaded and how the framework should behave.Simple ExampleConfiguring 
web.xml for the framework is a matter of adding a filter and 
filter-mapping.FilterDispatcher Example (web.xml)
+;
 
 
 struts2
-
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
+
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter
 
 
 
@@ -158,8 +167,8 @@ under the License.
 
 
 
-Changed Filter package in 
Struts >= 2.5As from Struts 2.5 all filters 
were moved to dedicated package, see the example:
-= 2.5As from Struts 2.5 all filters 
were moved to dedicated package, see the example:
+;
@@ -168,21 +177,20 @@ under the License.
 struts2
 
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter
 ...
-Changed Filter Structure in 
Struts >= 2.1.3To split up the the dispatcher 
phases, FilterDispatcher is deprecated since Struts 2.1.3. If working with 
older versions, you need to use
+Changed 
Filter Structure in Struts >= 2.1.3To split up the the 
dispatcher phases, FilterDispatcher is deprecated since Struts 2.1.3. If 
working with older versions, you need to use
 ...
 
 struts2
 
org.apache.struts2.dispatcher.FilterDispatcher
 ...
 
-See SiteMesh 
Plugin for an example on when to use seperate Filters for prepare and 
execution phaseWhy the Filter is mapped 
with /* and how to configure explicit exclusions (since 2.1.7)In the example above we've mapped 
the Struts 2 dispatcher to /*, so Struts 2 has a crack at all 
incoming requests. This is because Struts 2 serves static content from its jar 
files, including Dojo JavaScript files (if using S2.0, or the Dojo plugin in 
S2.1+) and FreeMarker templates for the Struts 2 tags that produce 
HTML.If we change the filter mapping to something else, for example 
/*.html, we must take this in to account and extract the content t
 hat would normally be served from the Struts 2 jar files, or some other 
solution.Since Struts 2.1.7, you are able to provide a comma seperated 
list of patterns for which when matching against the request 
URL the Filter will just pass by. This is done via the configuration option 
struts.action.excludePattern, for example in your struts.xml
+See SiteM

svn commit: r992866 [1/2] - in /websites/production/struts/content: ./ docs/

2016-07-14 Thread lukaszlenart
Author: lukaszlenart
Date: Fri Jul 15 06:29:45 2016
New Revision: 992866

Log:
Updates production

Added:
websites/production/struts/content/docs/version-notes-2330.html
websites/production/struts/content/docs/version-notes-252.html
Modified:
websites/production/struts/content/announce.html
websites/production/struts/content/archetype-catalog.xml
websites/production/struts/content/docs/migration-guide.html
websites/production/struts/content/docs/s2-035.html
websites/production/struts/content/docs/stream-result.html
websites/production/struts/content/docs/version-notes-2329.html
websites/production/struts/content/docs/webxml.html
websites/production/struts/content/download.html
websites/production/struts/content/downloads.html
websites/production/struts/content/index.html

Modified: websites/production/struts/content/announce.html
==
--- websites/production/struts/content/announce.html (original)
+++ websites/production/struts/content/announce.html Fri Jul 15 06:29:45 2016
@@ -124,6 +124,65 @@
   Skip to: Announcements - 2015
 
 
+7 July 2016 - Struts 2.5.2 General Availability
+
+The Apache Struts group is pleased to announce that Struts 2.5.2 is 
available as a “General Availability”
+release. The GA designation is our highest quality grade.
+
+Apache Struts 2 is an elegant, extensible framework for creating 
enterprise-ready Java web applications.
+The framework is designed to streamline the full development cycle, from 
building, to deploying,
+to maintaining applications over time.
+
+Struts 2.5.2 release contains several improvements just to mention few of 
them:
+
+
+  SecurityMemberAccess exclude class design issue, see WW-4645
+  Json deserialization does not work in 2.5.1, see WW-4650
+  Negative number is considered an arithmetic expression, see WW-4651
+  Wildcard redirect and path /static/, see WW-4656
+  Upgrade commons-fileupload to the latest version, see WW-4648
+  Cleans up logic in StreamResult 
and update docs, see WW-4655
+
+
+All developers are strongly advised to perform this 
action.
+
+The 2.5.x series of the Apache Struts framework has a minimum requirement 
of the following specification versions:
+Servlet API 2.4, JSP API 2.0, and Java 7.
+
+Should any issues arise with your use of any version of the Struts 
framework, please post your comments
+to the user list, and, if appropriate, file a tracking ticket.
+
+You can download this version from our download page.
+
+7 July 2016 - Struts 2.3.30 General Availability
+
+The Apache Struts group is pleased to announce that Struts 2.3.30 is 
available as a “General Availability”
+release. The GA designation is our highest quality grade.
+
+Apache Struts 2 is an elegant, extensible framework for creating 
enterprise-ready Java web applications.
+The framework is designed to streamline the full development cycle, from 
building, to deploying,
+to maintaining applications over time.
+
+This release contains several breaking changes and improvements just to 
mention few of them:
+
+
+  Pre-evaluation of “name” attribute stopped working, see WW-4641
+  Unable to retrieve s:hidden field 
values, see WW-4642
+  SecurityMemberAccess exclude class design issue, see WW-4645
+  Negative number is considered an arithmetic expression, see WW-4651
+  Upgrade commons-fileupload to the latest version, see WW-4648
+
+
+All developers are strongly advised to perform this 
action.
+
+The 2.3.x series of the Apache Struts framework has a minimum requirement 
of the following specification versions:
+Servlet API 2.4, JSP API 2.0, and Java 6.
+
+Should any issues arise with your use of any version of the Struts 
framework, please post your comments
+to the user list, and, if appropriate, file a tracking ticket.
+
+You can download this version from our download page.
+
 18 June 2016 - Struts 2.5.1 General Availability
 
 The Apache Struts group is pleased to announce that Struts 2.5.1 is 
available as a “General Availability”

Modified: websites/production/struts/content/archetype-catalog.xml
==
Binary files - no diff available.

Modified: websites/production/struts/content/docs/migration-guide.html
==
--- websites/production/struts/content/docs/migration-guide.html (original)
+++ websites/production/struts/content/docs/migration-guide.html Fri Jul 15 
06:29:45 2016
@@ -125,7 +125,7 @@ under the License.
 
 
 
-Getting here from there.Version Notes 2.5.xVersion Notes 2.5Version Notes 2.3.xVersion Notes 
2.3.28.1Version 
Notes 2.3.28Version Notes 2.3.24.3Version Notes 
2.3.24.1Version 
Notes 2.3.24Version Notes 2.3.20.3Version Notes 
2.3.20.1Version 
Notes 2.3.20Version Notes 2.3.16.3href="version-notes-23162.html">Version Notes 2.3.16.2shape="rect

svn commit: r992867 - /websites/production/struts/content/announce.html

2016-07-14 Thread lukaszlenart
Author: lukaszlenart
Date: Fri Jul 15 06:31:41 2016
New Revision: 992867

Log:
Updates production

Modified:
websites/production/struts/content/announce.html

Modified: websites/production/struts/content/announce.html
==
--- websites/production/struts/content/announce.html (original)
+++ websites/production/struts/content/announce.html Fri Jul 15 06:31:41 2016
@@ -152,7 +152,7 @@ Servlet API 2.4, JSP API 2.0, and Java 7
 Should any issues arise with your use of any version of the Struts 
framework, please post your comments
 to the user list, and, if appropriate, file a tracking ticket.
 
-You can download this version from our download page.
+You can download this version from our download page.
 
 7 July 2016 - Struts 2.3.30 General Availability
 
@@ -181,7 +181,7 @@ Servlet API 2.4, JSP API 2.0, and Java 6
 Should any issues arise with your use of any version of the Struts 
framework, please post your comments
 to the user list, and, if appropriate, file a tracking ticket.
 
-You can download this version from our download page.
+You can download this version from our download page.
 
 18 June 2016 - Struts 2.5.1 General Availability
 
@@ -223,7 +223,7 @@ Servlet API 2.4, JSP API 2.0, and Java 7
 Should any issues arise with your use of any version of the Struts 
framework, please post your comments
 to the user list, and, if appropriate, file a tracking ticket.
 
-You can download this version from our download page.
+You can download this version from our download page.
 
 17 June 2016 - Struts 2.3.29 General Availability with 
Security Fixes Release
 
@@ -290,7 +290,7 @@ Servlet API 2.4, JSP API 2.0, and Java 6
 Should any issues arise with your use of any version of the Struts 
framework, please post your comments
 to the user list, and, if appropriate, file a tracking ticket.
 
-You can download this version from our download page.
+You can download this version from our download page.
 
 1 June 2016 - Two security vulnerabilities reported
 
@@ -311,7 +311,7 @@ OGNL cache poisoning can lead to DoS vul
 Please read carefully the Security Bulletins and take suggested actions. 
The simplest way to avoid those vulnerabilities
 in your application is to upgrade the Apache Struts to latest available 
version in 2.3.x series or to the Apache Struts 2.5.
 
-You can download those versions from our download page.
+You can download those versions from our download page.
 
 9 May 2016 - Struts 2.5 General Availability
 
@@ -359,7 +359,7 @@ Servlet API 2.4, JSP API 2.0, and Java 7
 Should any issues arise with your use of any version of the Struts 
framework, please post your comments
 to the user list, and, if appropriate, file a tracking ticket.
 
-You can download this version from our download page.
+You can download this version from our download page.
 
 19 April 2016 - Struts 2.3.28.1 General Availability with 
Security Fixes Release
 
@@ -391,7 +391,7 @@ Servlet API 2.4, JSP API 2.0, and Java 6
 Should any issues arise with your use of any version of the Struts 
framework, please post your comments
 to the user list, and, if appropriate, file a tracking ticket.
 
-You can download this version from our download page.
+You can download this version from our download page.
 
 19 April 2016 - Struts 2.3.20.3 & 2.3.24.3 General 
Availability with Security Fixes Release
 
@@ -427,7 +427,7 @@ Servlet API 2.4, JSP API 2.0, and Java 6
 Should any issues arise with your use of any version of the Struts 
framework, please post your comments
 to the user list, and, if appropriate, file a tracking ticket.
 
-You can download these versions from our download page.
+You can download these versions from our download page.
 
 18 March 2016 - Struts 2.3.28 General Availability with 
Security Fix Release