diff options
Diffstat (limited to 'dev-java/struts-plugins/files')
3 files changed, 506 insertions, 0 deletions
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"/> |