diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-10-02 22:54:49 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-10-02 22:54:49 +0000 |
commit | d75bdac5ff03ce99ddcb04ca6c3309b8c481cd4f (patch) | |
tree | 476019e9706834f17f1943bff4d0637a9ed6131c /dev-java/struts-plugins | |
parent | New package for dev-java/struts-core, the Core of Struts 2. (diff) | |
download | historical-d75bdac5ff03ce99ddcb04ca6c3309b8c481cd4f.tar.gz historical-d75bdac5ff03ce99ddcb04ca6c3309b8c481cd4f.tar.bz2 historical-d75bdac5ff03ce99ddcb04ca6c3309b8c481cd4f.zip |
New package for dev-java/struts-plugins, the Plugins of Struts 2.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'dev-java/struts-plugins')
7 files changed, 652 insertions, 0 deletions
diff --git a/dev-java/struts-plugins/ChangeLog b/dev-java/struts-plugins/ChangeLog new file mode 100644 index 000000000000..d364b0d766c6 --- /dev/null +++ b/dev-java/struts-plugins/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-java/struts-plugins +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-plugins/ChangeLog,v 1.1 2013/10/02 22:54:44 tomwij Exp $ + +*struts-plugins-2.3.15.2 (02 Oct 2013) + + 02 Oct 2013; Tom Wijsman <TomWij@gentoo.org> + +files/struts-2.3.15.2-build.xml-manifest.patch, + +files/struts-2.3.15.2-build.xml-remove-codebehind.patch, + +files/struts-2.3.15.2-build.xml-remove-portlet.patch, +metadata.xml, + +struts-plugins-2.3.15.2.ebuild: + New package for dev-java/struts-plugins, the Plugins of Struts 2. diff --git a/dev-java/struts-plugins/Manifest b/dev-java/struts-plugins/Manifest new file mode 100644 index 000000000000..db728bb85518 --- /dev/null +++ b/dev-java/struts-plugins/Manifest @@ -0,0 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX struts-2.3.15.2-build.xml-manifest.patch 14585 SHA256 8b34c308eb1e0555453c571baade05774213ebe2165d094345332f3e821c3f7c SHA512 71d44febf51e2e3be504ec3b19431ce4d3573296ca1a96f0810cefbaf0848d9296a7e20f245194c92eefcb47a9e6c441d9ad340d0d0455a5fc736ebbe9864d86 WHIRLPOOL 1d250b9170dd683447d876a8111b042e7f034311793c76c3bdbcc97475509067cc9770539faa899691e064990ffebee6d74066ea579acaf5c1e279a181490a33 +AUX struts-2.3.15.2-build.xml-remove-codebehind.patch 2711 SHA256 b5e0a2ae422d98965033c9ead32fd6f4128ad6bf58425891ffc3a44e32c26e6d SHA512 5d653803810c150618d6c04a4a74c0658ab804c9027aa1b79fa10b509b50630342d8ce4c07bf95c4bd7fccee121318b5d5658eee0c7742a569949514191a6978 WHIRLPOOL 3e3acdd162aec71fef51cbf391a940d33ccdc8349afb64ed9ac14445ab03822442fb59429999fd826e1a240d938c91c725d9872caf89b63684433c2af0581cdc +AUX struts-2.3.15.2-build.xml-remove-portlet.patch 2783 SHA256 f1c6531b7a7dfc59a448ad7fe6ec1b7e5eaf73c76e0c308d4a0b42db8d986038 SHA512 01171ae15473845c066d5ad363ff944238d8209c9a43b3c09cec4424f7f6c0173775466cf640322163461a853482ffca7081d10b44d5be4efe7525b87f36a09c WHIRLPOOL 8ba0de3f45c7e75cb765a6ebfe2870f6b86411caeb93f7bf988b20ed08f66c34bde9ece228ce5bfccba359d81d07f16c055e74d41cd771a8759f9f315be4d5f9 +DIST struts-2.3.15.2-build.xml-classpath.patch 26778 SHA256 757fa1e729a3b196807e53350dbbd9d0a2fb2830095ac0227b4324f019cc27d1 SHA512 c84fd2226ccfaabb9405c27017b52d2a951a106ecc1f8fed1dd447b30e052572e6a81d66b1732ffe51dfd7078944938de417248a5a6816a32fbb1ffc610c3da6 WHIRLPOOL 7d7b7849f49cdc5502b2686555779a6bb231e18bc936f24ee0570319f1f84d57bf9239282e256968a07f067d8815f0a8f63de692221745a744bb91a32daa0859 +DIST struts-2.3.15.2-src.zip 6957356 SHA256 26d85c52e7764ece49ccd7b9df38353003326116363a630ee8ae33bc26db3cd5 SHA512 55df8ea52717781efe1b34b0b09b8677c88ce50cf160119bebfec979f22d95b0a801b9e1184dba3733ca80e9db27297d42412ae550eaa4451e4aad6f25b66825 WHIRLPOOL dcc7d263c22ada417e3e3c518d10e2a8937cda0755110bcf29981c1eec7ce8e3b9b6260c708e0292916d9e5fb11b9d35a061b2e823254d0c2030a95035a67a86 +DIST struts-build.xml-2.3.15.2.tar.xz 20744 SHA256 c76b3d852140f3ff62718949ec752673b99845abe028445fbca69fd9f4879d5b SHA512 d4c21ff8dea2990507bff4968311a4f6a44c17ae1cbbd321b818d3fe558c131ee6c0132d5e61509f61aa53e284b61fb3cce24b89020f9889cf9ef960b7c31da3 WHIRLPOOL 7f42a22a5a43f91aba871ce4f04a38b0f1314b47395d22054bc6922b7565bb6c978141bb5a1b1274f7bfc9bd51a863ddcde9f711c1374f1cb5c707b0613e1897 +EBUILD struts-plugins-2.3.15.2.ebuild 3255 SHA256 9573285ae06da2d40951887408912c493b70a04737dfe005f42a6ac3fc6862d8 SHA512 a09740da525d693757168624a19f2a3eb6050bf9c9e2ffde856fa161a649d00fa3cc471664db19a2d7602aedeb91fc874c488d89501fbd39d7b303a0c34a0736 WHIRLPOOL 86488404aef69d71bc54ff9003c132aaa73b67791629d90456bb6f2b6234b5157dc4e0829da86a0bbf974ba9d4b230c69575a0f0bc9f4973579bd7fe8db3ec05 +MISC ChangeLog 592 SHA256 6331c9e5ff0cac733dc46b83929f475827f843117c3321ec5efc2760aab84199 SHA512 595bf306644b17271c9e3f7cb06e6f5025bdbf44cdb136bb632d5cfe08a0081853ef4dd9cc1461ea6140578edc65dda234946efbd2126e5b534cc1bea93ba709 WHIRLPOOL 53c4ae00374c84d0f95267dbd628330a4acc7e469c35e87b348a25486b954a8c5256c78c36ffcbd53ce598b8b887654a6e84a373dfd3493344a328079a52420c +MISC metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece WHIRLPOOL 887e153e2481e7d76f0f1b67a395f10f0328b93930185ecdb8fcb5fe3c50f839086a18831d61cf45b34657aaffca6c3b7900cf3c04b712846a05027a84602448 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.21 (GNU/Linux) + +iQEcBAEBCAAGBQJSTKLxAAoJEJWyH81tNOV90NMH/3rjK1hlfDt8gTeNvatFUF3o +NnjRCVb4tCZViasZpoh/t8Lmw5FQrUFO6ja3o9Ft06dpyCzJNLQ5/UVBWDMoaBse +4kYGzZtlfOrl/6oo76gRHRfEYkVRBakRL3NfZMoTuV0MSx0qPbyODj/WE1omVFFu +Pw3kFnZCNolAB27N18YLfLUE4IO5QhrjW9e+vddL4hoALyG/hlZtRKVkfrVwChn6 +NmgLAfW6sbX0//q0cGyvetJL27boqTCUEDZIDxtQNMfTBd6tZxnhngOFvEhW/0b4 +83y6nPbETFKAKnsSReBqwIHbbBIpuAbtsyUW5tAXRV7Z6DcEQSlkycbhpEhYkSo= +=o4C4 +-----END PGP SIGNATURE----- diff --git a/dev-java/struts-plugins/files/struts-2.3.15.2-build.xml-manifest.patch b/dev-java/struts-plugins/files/struts-2.3.15.2-build.xml-manifest.patch new file mode 100644 index 000000000000..3944ff651b57 --- /dev/null +++ b/dev-java/struts-plugins/files/struts-2.3.15.2-build.xml-manifest.patch @@ -0,0 +1,406 @@ +--- a/convention/maven-build.xml ++++ b/convention/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/convention/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/config-browser/maven-build.xml ++++ b/config-browser/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/config-browser/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/javatemplates/maven-build.xml ++++ b/javatemplates/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/javatemplates/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/jasperreports/maven-build.xml ++++ b/jasperreports/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/jasperreports/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/jfreechart/maven-build.xml ++++ b/jfreechart/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/jfreechart/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/jsf/maven-build.xml ++++ b/jsf/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/jsf/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/pell-multipart/maven-build.xml ++++ b/pell-multipart/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/pell-multipart/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/plexus/maven-build.xml ++++ b/plexus/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/plexus/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/sitegraph/maven-build.xml ++++ b/sitegraph/maven-build.xml +@@ -260,13 +260,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/sitegraph/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class" +- value="org.apache.struts2.sitegraph.SiteGraph"/> +- </manifest> + </jar> + </target> + +--- a/sitemesh/maven-build.xml ++++ b/sitemesh/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/sitemesh/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/spring/maven-build.xml ++++ b/spring/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/spring/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/struts1/maven-build.xml ++++ b/struts1/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/struts1/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/tiles/maven-build.xml ++++ b/tiles/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/tiles/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/dojo/maven-build.xml ++++ b/dojo/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/dojo/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/rest/maven-build.xml ++++ b/rest/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/rest/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/portlet/maven-build.xml ++++ b/portlet/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/portlet/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/portlet-tiles/maven-build.xml ++++ b/portlet-tiles/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/portlet-tiles/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/junit/maven-build.xml ++++ b/junit/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/junit/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/testng/maven-build.xml ++++ b/testng/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/testng/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/dwr/maven-build.xml ++++ b/dwr/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/dwr/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/oval/maven-build.xml ++++ b/oval/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/oval/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/osgi/maven-build.xml ++++ b/osgi/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/osgi/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/json/maven-build.xml ++++ b/json/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/json/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/embeddedjsp/maven-build.xml ++++ b/embeddedjsp/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/embeddedjsp/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/gxp/maven-build.xml ++++ b/gxp/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/gxp/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/cdi/maven-build.xml ++++ b/cdi/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/cdi/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + +--- a/tiles3/maven-build.xml ++++ b/tiles3/maven-build.xml +@@ -238,12 +238,8 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/var/tmp/portage/dev-java/struts-xwork-2.3.15.2/work/struts-2.3.15.2/src/plugins/tiles3/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> +- <manifest> +- <attribute name="Main-Class"/> +- </manifest> + </jar> + </target> + diff --git a/dev-java/struts-plugins/files/struts-2.3.15.2-build.xml-remove-codebehind.patch b/dev-java/struts-plugins/files/struts-2.3.15.2-build.xml-remove-codebehind.patch new file mode 100644 index 000000000000..14143bad26b0 --- /dev/null +++ b/dev-java/struts-plugins/files/struts-2.3.15.2-build.xml-remove-codebehind.patch @@ -0,0 +1,50 @@ +--- a/plugins/maven-build.xml ++++ b/plugins/maven-build.xml +@@ -22,7 +22,6 @@ + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> +- <ant antfile="build.xml" dir="codebehind" target="clean"/> + <ant antfile="build.xml" dir="convention" target="clean"/> + <ant antfile="build.xml" dir="config-browser" target="clean"/> + <ant antfile="build.xml" dir="javatemplates" target="clean"/> +@@ -57,7 +56,6 @@ + <!-- ====================================================================== --> + + <target name="compile" description="Compile the code"> +- <ant antfile="build.xml" dir="codebehind" target="compile"/> + <ant antfile="build.xml" dir="convention" target="compile"/> + <ant antfile="build.xml" dir="config-browser" target="compile"/> + <ant antfile="build.xml" dir="javatemplates" target="compile"/> +@@ -92,7 +90,6 @@ + <!-- ====================================================================== --> + + <target name="compile-tests" description="Compile the test code"> +- <ant antfile="build.xml" dir="codebehind" target="compile-tests"/> + <ant antfile="build.xml" dir="convention" target="compile-tests"/> + <ant antfile="build.xml" dir="config-browser" target="compile-tests"/> + <ant antfile="build.xml" dir="javatemplates" target="compile-tests"/> +@@ -127,7 +124,6 @@ + <!-- ====================================================================== --> + + <target name="test" description="Run the test cases"> +- <ant antfile="build.xml" dir="codebehind" target="test"/> + <ant antfile="build.xml" dir="convention" target="test"/> + <ant antfile="build.xml" dir="config-browser" target="test"/> + <ant antfile="build.xml" dir="javatemplates" target="test"/> +@@ -162,7 +158,6 @@ + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"> +- <ant antfile="build.xml" dir="codebehind" target="javadoc"/> + <ant antfile="build.xml" dir="convention" target="javadoc"/> + <ant antfile="build.xml" dir="config-browser" target="javadoc"/> + <ant antfile="build.xml" dir="javatemplates" target="javadoc"/> +@@ -197,7 +192,6 @@ + <!-- ====================================================================== --> + + <target name="package" description="Package the application"> +- <ant antfile="build.xml" dir="codebehind" target="package"/> + <ant antfile="build.xml" dir="convention" target="package"/> + <ant antfile="build.xml" dir="config-browser" target="package"/> + <ant antfile="build.xml" dir="javatemplates" target="package"/> diff --git a/dev-java/struts-plugins/files/struts-2.3.15.2-build.xml-remove-portlet.patch b/dev-java/struts-plugins/files/struts-2.3.15.2-build.xml-remove-portlet.patch new file mode 100644 index 000000000000..3c64fbc560e1 --- /dev/null +++ b/dev-java/struts-plugins/files/struts-2.3.15.2-build.xml-remove-portlet.patch @@ -0,0 +1,50 @@ +--- a/maven-build.xml ++++ b/maven-build.xml +@@ -38,7 +38,5 @@ + <ant antfile="build.xml" dir="tiles" target="clean"/> + <ant antfile="build.xml" dir="dojo" target="clean"/> + <ant antfile="build.xml" dir="rest" target="clean"/> +- <ant antfile="build.xml" dir="portlet" target="clean"/> +- <ant antfile="build.xml" dir="portlet-tiles" target="clean"/> + <ant antfile="build.xml" dir="junit" target="clean"/> + <ant antfile="build.xml" dir="testng" target="clean"/> +@@ -73,7 +72,5 @@ + <ant antfile="build.xml" dir="tiles" target="compile"/> + <ant antfile="build.xml" dir="dojo" target="compile"/> + <ant antfile="build.xml" dir="rest" target="compile"/> +- <ant antfile="build.xml" dir="portlet" target="compile"/> +- <ant antfile="build.xml" dir="portlet-tiles" target="compile"/> + <ant antfile="build.xml" dir="junit" target="compile"/> + <ant antfile="build.xml" dir="testng" target="compile"/> +@@ -108,7 +106,5 @@ + <ant antfile="build.xml" dir="tiles" target="compile-tests"/> + <ant antfile="build.xml" dir="dojo" target="compile-tests"/> + <ant antfile="build.xml" dir="rest" target="compile-tests"/> +- <ant antfile="build.xml" dir="portlet" target="compile-tests"/> +- <ant antfile="build.xml" dir="portlet-tiles" target="compile-tests"/> + <ant antfile="build.xml" dir="junit" target="compile-tests"/> + <ant antfile="build.xml" dir="testng" target="compile-tests"/> +@@ -143,7 +140,5 @@ + <ant antfile="build.xml" dir="tiles" target="test"/> + <ant antfile="build.xml" dir="dojo" target="test"/> + <ant antfile="build.xml" dir="rest" target="test"/> +- <ant antfile="build.xml" dir="portlet" target="test"/> +- <ant antfile="build.xml" dir="portlet-tiles" target="test"/> + <ant antfile="build.xml" dir="junit" target="test"/> + <ant antfile="build.xml" dir="testng" target="test"/> +@@ -178,7 +174,5 @@ + <ant antfile="build.xml" dir="tiles" target="javadoc"/> + <ant antfile="build.xml" dir="dojo" target="javadoc"/> + <ant antfile="build.xml" dir="rest" target="javadoc"/> +- <ant antfile="build.xml" dir="portlet" target="javadoc"/> +- <ant antfile="build.xml" dir="portlet-tiles" target="javadoc"/> + <ant antfile="build.xml" dir="junit" target="javadoc"/> + <ant antfile="build.xml" dir="testng" target="javadoc"/> +@@ -213,7 +208,5 @@ + <ant antfile="build.xml" dir="tiles" target="package"/> + <ant antfile="build.xml" dir="dojo" target="package"/> + <ant antfile="build.xml" dir="rest" target="package"/> +- <ant antfile="build.xml" dir="portlet" target="package"/> +- <ant antfile="build.xml" dir="portlet-tiles" target="package"/> + <ant antfile="build.xml" dir="junit" target="package"/> + <ant antfile="build.xml" dir="testng" target="package"/> diff --git a/dev-java/struts-plugins/metadata.xml b/dev-java/struts-plugins/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/struts-plugins/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> diff --git a/dev-java/struts-plugins/struts-plugins-2.3.15.2.ebuild b/dev-java/struts-plugins/struts-plugins-2.3.15.2.ebuild new file mode 100644 index 000000000000..9cee5547cddd --- /dev/null +++ b/dev-java/struts-plugins/struts-plugins-2.3.15.2.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-plugins/struts-plugins-2.3.15.2.ebuild,v 1.1 2013/10/02 22:54:44 tomwij Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +MY_PN="struts" +MY_P="${MY_PN}-${PV}-src" + +DESCRIPTION="A powerful Model View Controller Framework for JSP/Servlets" +SRC_URI="mirror://apache/struts/source/${MY_P}.zip + http://dev.gentoo.org/~tomwij/files/dist/${MY_PN}-build.xml-${PV}.tar.xz + http://dev.gentoo.org/~tomwij/files/dist/${MY_PN}-${PV}-build.xml-classpath.patch" +HOMEPAGE="http://struts.apache.org/index.html" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" + +COMMON_DEPS="dev-java/commons-beanutils:1.7 + dev-java/commons-lang:3.1 + dev-java/commons-io:1 + dev-java/freemarker:2.3 + dev-java/juel:0 + dev-java/ognl:3.0 + dev-java/osgi-core-api:0 + dev-java/struts-core:${SLOT} + dev-java/struts-xwork:${SLOT} + dev-java/velocity:0 + java-virtuals/servlet-api:3.0" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEPS}" + +DEPEND=">=virtual/jdk-1.5 + test? ( dev-java/ant-junit:0 ) + ${COMMON_DEPS}" + +S="${WORKDIR}/${MY_PN}-${PV}/src/plugins" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="struts-core-${SLOT},struts-xwork-${SLOT}" +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH}" +EANT_BUILD_TARGET="package" +EANT_TEST_TARGET="test" + +# javatemplates/maven-build.xml:149: +# Test org.apache.struts2.views.java.simple.AbstractCommonAttributesTest failed +# Cannot instantiate test case: testRenderTextFieldDynamicAttrs +RESTRICT="test" + +src_unpack() { + unpack ${MY_P}.zip + cd "${WORKDIR}"/${MY_PN}-${PV}/src || die + unpack ${MY_PN}-build.xml-${PV}.tar.xz +} + +java_prepare() { + find . -name '*.jar' -print -delete || die + + epatch "${DISTDIR}"/${MY_PN}-${PV}-build.xml-classpath.patch + epatch "${FILESDIR}"/${MY_PN}-${PV}-build.xml-manifest.patch + epatch "${FILESDIR}"/${MY_PN}-${PV}-build.xml-remove-codebehind.patch + epatch "${FILESDIR}"/${MY_PN}-${PV}-build.xml-remove-portlet.patch + + # Remove tests that don't build due to test files that aren't installed. + rm jfreechart/src/test/java/org/apache/struts2/dispatcher/ChartResultTest.java + + java-pkg_getjars commons-beanutils-1.7,commons-io-1,commons-lang-3.1,freemarker-2.3,juel,ognl-3.0,osgi-core-api,servlet-api-3.0,velocity +} + +src_test() { + EANT_TEST_EXTRA_ARGS="-Dgentoo.test.classpath=$(java-pkg_getjars ${EANT_TEST_GENTOO_CLASSPATH})" + EANT_TEST_EXTRA_ARGS+=" -Djunit.present=true" + + java-pkg-2_src_test +} + +src_install() { + for plugin in $(find . -mindepth 1 -maxdepth 1 -type d | sed 's:./::g' | tr '\n' ' ') ; do + [[ ! -d ${plugin}/target ]] && continue + + einfo "Installing plugin '${plugin}' ..." + java-pkg_newjar ${plugin}/target/${MY_PN}2-${plugin}-plugin-${PV}.jar ${plugin}.jar + + if use doc ; then + java-pkg_dojavadoc ${plugin}/target/site/apidocs + mkdir "${D}"/usr/share/doc/${P}/${plugin} || die + mv "${D}"/usr/share/doc/${P}/{html,${plugin}/html} || die + fi + + use source && java-pkg_dosrc ${plugin}/src/main/java/org + done + + if use doc ; then + rm "${D}"/usr/share/${PN}-${SLOT}/api || die + fi +} + +pkg_postinst() { + elog "The 'codebehind' and 'portlet' plugins are not in this release because they don't build yet." +} |