[mojarra] 05/05: Drop build.patch. Obsolete.

Markus Koschany apo-guest at moszumanska.debian.org
Mon Sep 29 22:24:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch experimental
in repository mojarra.

commit cafe45e1cbdd8ce82fe29687517da2e69efe7b42
Author: Markus Koschany <apo at gambaru.de>
Date:   Tue Sep 30 00:14:43 2014 +0200

    Drop build.patch. Obsolete.
---
 debian/patches/build.patch | 252 ---------------------------------------------
 debian/patches/series      |   1 -
 2 files changed, 253 deletions(-)

diff --git a/debian/patches/build.patch b/debian/patches/build.patch
deleted file mode 100644
index e5dd7c2..0000000
--- a/debian/patches/build.patch
+++ /dev/null
@@ -1,252 +0,0 @@
-From: Markus Koschany <apo at gambaru.de>
-Date: Mon, 25 Aug 2014 14:52:44 +0200
-Subject: build
-
----
- build.properties            |  1 +
- build.xml                   |  6 +++++-
- common/ant/common.xml       | 21 ++++++++++++---------
- jsf-api/build.xml           |  2 +-
- jsf-api/mojarra-jsf-api.bnd |  2 +-
- jsf-ri/build.xml            | 26 +++++++++++++++++++++-----
- jsf-ri/mojarra-jsf-impl.bnd |  4 +++-
- 7 files changed, 44 insertions(+), 18 deletions(-)
- create mode 100644 build.properties
-
-diff --git a/build.properties b/build.properties
-new file mode 100644
-index 0000000..2a5ac49
---- /dev/null
-+++ b/build.properties
-@@ -0,0 +1 @@
-+container.name=glassfish
-diff --git a/build.xml b/build.xml
-index 6c6f2cb..fba9d3b 100644
---- a/build.xml
-+++ b/build.xml
-@@ -109,8 +109,11 @@
-         <delete dir="${basedir}/build"/>
-         <delete dir="${dist.dir}"/>
-         <call.modules target="clean"/>        
-+        <!-- these directories don't exist
-         <ant dir="jsf-demo" target="clean" />
-         <ant dir="updatecenter2" target="updatecenter2.clean" />
-+        -->
-+        <delete dir="target"/>
-     </target>  
- 
-     <target name="clean.mojarra.only"
-@@ -554,11 +557,12 @@
-         <zip destfile="${basedir}/mojarra-samples.zip"
-              basedir="${basedir}/samples"/>
-         <delete dir="samples"/>
--
-+    <!--
-         <installerBuilder
-               classFile="${dist.dir}/mojarra-samples.class"
-               licenseFile="${LICENSEFILE}"
-               zipFile="${basedir}/mojarra-samples.zip"/>
-+    -->
-     </target>
- 
-     <target name="updatecenter2" depends="main">
-diff --git a/common/ant/common.xml b/common/ant/common.xml
-index d1f476c..81d9d66 100644
---- a/common/ant/common.xml
-+++ b/common/ant/common.xml
-@@ -43,22 +43,22 @@
- 
- <project name="JSF Common" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant">
- 
--    <import file="${jsf.build.home}/common/ant/dependencies.xml"/>
-+    <!--<import file="${jsf.build.home}/common/ant/dependencies.xml"/>-->
-     <import file="${jsf.build.home}/common/ant/test-app.xml"/>
-     <import file="${jsf.build.home}/common/ant/maven.xml"/>
-     <taskdef resource="net/sf/antcontrib/antlib.xml">
-         <classpath>
-             <pathelement
--                  location="${jsf.build.home}/common/lib/ant-contrib.jar"/>
-+                location="/usr/share/java/ant-contrib.jar"/>
-         </classpath>
-     </taskdef>
-     <taskdef resource="aQute/bnd/ant/taskdef.properties">
-         <classpath>
-             <pathelement
--                  location="${jsf.build.home}/common/lib/bnd-0.0.249.jar"/>
-+                location="/usr/share/java/bnd.jar"/>
-         </classpath>
-     </taskdef>
--
-+    <!--
-     <taskdef name="installerBuilder" classname="org.jvnet.poormans_installer.builder.BuilderTask">
-         <classpath>
-             <pathelement location="${jsf.build.home}/common/lib/installer-builder.jar"/>
-@@ -69,7 +69,7 @@
-       <typedef resource="org/apache/maven/artifact/ant/antlib.xml"
-                uri="antlib:org.apache.maven.artifact.ant"
-                classpathref="maven-ant-tasks.classpath" />
--
-+    -->
-     
-     <!-- Setup the time properties for use with the project -->
-     <tstamp/>
-@@ -155,17 +155,20 @@
-     </target>
- 
-     -->
-+    <path id="compile.path">
-+        <fileset dir="/" includesfile="${jsf.build.home}/debian/classpath-debian"/>
-+    </path>
-+
-     <condition property="maven.repo.local" value="${maven.repo.local}" else="${user.home}/.m2/repository">
-         <isset property="maven.repo.local"/>
-     </condition>
- 
-+    <!--
-     <artifact:localRepository id="local.repository" path="${maven.repo.local}"/>
--    
-     <artifact:remoteRepository id="j.n.repo" url="https://maven.java.net/content/repositories/releases/"/>
-     <artifact:remoteRepository id="j.n.repo.snapshot" url="https://maven.java.net/content/repositories/snapshots/"/>
-     <artifact:remoteRepository id="codehaus.repo" url="http://repository.codehaus.org/"/>
-     <artifact:remoteRepository id="ibiblio.repo" url="http://mirrors.ibiblio.org/pub/mirrors/maven2/"/>
--
-     <artifact:dependencies filesetId="compile.filepath" pathId="compile.path">
-         <dependency groupId="javax.el" artifactId="javax.el-api" version="2.2.1" scope="provided"/>
-         <dependency groupId="javax.servlet" artifactId="javax.servlet-api" version="3.0.1" scope="provided"/>
-@@ -216,7 +219,7 @@
-         <remoteRepository refid="j.n.repo"/>
-         <remoteRepository refid="j.n.repo.snapshot"/>
-     </artifact:dependencies>
--
-+    -->
- 
-     <!-- Intra-project dependency property names -->
- 
-@@ -274,7 +277,7 @@
-     </path>
- 
-     <path id="apache.commons.classpath">
--        <path refid="commons.path"/>
-+        <!--    <path refid="commons.path"/>-->
-     </path>
- 
-     <!-- HtmlUnit client classpath -->
-diff --git a/jsf-api/build.xml b/jsf-api/build.xml
-index cf9b495..451ef23 100644
---- a/jsf-api/build.xml
-+++ b/jsf-api/build.xml
-@@ -844,7 +844,7 @@ javax.faces.level=ALL
-            Main target
-          ===================================================================
-     -->
--    <target name="main" depends="update,jars"
-+    <target name="main" depends="jars"
-             description="Compile API classes and build JAR file"/>
- 
-     <!--
-diff --git a/jsf-api/mojarra-jsf-api.bnd b/jsf-api/mojarra-jsf-api.bnd
-index 3d09631..344357a 100644
---- a/jsf-api/mojarra-jsf-api.bnd
-+++ b/jsf-api/mojarra-jsf-api.bnd
-@@ -95,6 +95,6 @@ Include-Resource: META-INF=build/classes/META-INF,build/classes
- Bundle-Version: @spec.version@
- Bundle-Name: JavaServer Faces API @full.impl.version@
- Bundle-Description: Mojarra JSF API (javax.faces/@spec.version@) @full.impl.version@
--Bundle-SymbolicName: javax.faces-api
-+Bundle-SymbolicName: javax.faces
- Bundle-License: http://glassfish.java.net/nonav/public/CDDL+GPL.html
- Bundle-DocURL: http://download.oracle.com/javaee/6/api/
-diff --git a/jsf-ri/build.xml b/jsf-ri/build.xml
-index ed6b0d9..80fbdd5 100644
---- a/jsf-ri/build.xml
-+++ b/jsf-ri/build.xml
-@@ -61,7 +61,8 @@
-    <property name="build.classes.dir" value="${build.dir}/classes"/>
-     <property name="build.generate.dir" value="${build.dir}/generate"/>
-     <property name="build.generate.tld.dir"
--              value="${build.generate.dir}/conf/share"/>
-+           value="../target/generate/conf/share"/>
-+
- 
-     <!-- The base directory for binary dependency libs under local version
-          control -->
-@@ -310,9 +311,13 @@
-             description="Compile the classes and unjar the jsf-api-intermediate jar">
- 
-         <!-- Run javac through everything -->
--        <jsf.javac srcdir="${source.dir}:${build.generate.dir}"
-+        <jsf.javac srcdir="${source.dir}:${build.generate.dir}:../target/generate"
-                    destdir="${build.classes.dir}"
--                   excludes="**/ManagedBeanFactoryImpl.java">
-+                   excludes="**/ManagedBeanFactoryImpl.java,**/FacesInitializer.java">
-+                   <!--
-+                   src/com/sun/faces/config/FacesInitializer.java is
-+                   excluded because it requires Servlet API
-+                   3.0 and that is not available in Debian yet -->
-             <classpath>
-                 <path refid="impl.compile.classpath"/>
-             </classpath>
-@@ -381,8 +386,10 @@
-               toDir="${build.classes.dir}/com/sun/faces"/>
-         <copy file="conf/xslt/facelets1_0-2_0toSchema.xsl"
-               toDir="${build.classes.dir}/com/sun/faces"/>
-+          <!--
-         <unzip src="${jsf.build.home}/lib/injectionproviders.jar"
-                dest="${build.classes.dir}"/>
-+          -->
-         <unzip src="${jsf-api-intermediate.jar}"
-                dest="${build.classes.dir}">
-           <patternset>
-@@ -400,6 +407,15 @@
-             </fileset>
-         </copy>
- 
-+        <!-- copy missing classes to api build directory to regenerate jsf-api.jar -->
-+        <copy todir="${jsf.build.home}/jsf-api/build/classes/javax/faces/component">
-+            <fileset dir="${build.classes.dir}/javax/faces/component">
-+                <include name="html/*.class"/>
-+            </fileset>
-+        </copy>
-+        <!-- since those classes don't belong in jsf-impl.jar, they are removed -->
-+        <delete dir="${build.classes.dir}/javax"/>
-+
-     </target>
- 
-     <target name="clean"
-@@ -563,7 +579,7 @@
-     </target>
- 
-     <target name="test"
--             depends="update,init.test,compile.test,run.systest,run.junit.test,run.systest-per-webapp,run.systest-per-webapp-on-virtual-server"
-+             depends="init.test,compile.test,run.systest,run.junit.test,run.systest-per-webapp,run.systest-per-webapp-on-virtual-server"
-             description="Run all unit and system tests"/>
- 
-     <target name="test.generate.reports"
-@@ -700,7 +716,7 @@
-         <delete file="tmp.bnd"/>
-     </target>
- 
--    <target name="main" depends="update,jars"/>
-+    <target name="main" depends="jars"/>
- 
-     <target name="create.runtime.config">
- <!--    in="${build.dir}/classes/com/sun/faces/standard-html-renderkit.xml"-->
-diff --git a/jsf-ri/mojarra-jsf-impl.bnd b/jsf-ri/mojarra-jsf-impl.bnd
-index 6273aea..b486b3d 100644
---- a/jsf-ri/mojarra-jsf-impl.bnd
-+++ b/jsf-ri/mojarra-jsf-impl.bnd
-@@ -61,6 +61,8 @@ Import-Package: javax.faces.*,\
-   javax.xml.*,org.w3c.dom.*, \
-   com.sun.enterprise.*;resolution:=optional, \
-   groovy.*;resolution:=optional,\
-+  org.mortbay.jetty.webapp;resolution:=optional, \
-+  org.mortbay.jetty.handler;resolution:=optional, \
-   org.mortbay.jetty.annotations;resolution:=optional, \
-   org.mortbay.jetty.plus.annotation;resolution:=optional, \
-   org.apache.*;resolution:=optional, \
-@@ -70,4 +72,4 @@ Include-Resource: META-INF=build/classes/META-INF,build/classes
- Bundle-Version: @osgi.version@
- Bundle-Name: Mojarra JSF Implementation @full.impl.version@
- Bundle-Description: Mojarra JSF Implementation (javax.faces/@spec.version@) @full.impl.version@
--Bundle-SymbolicName: org.glassfish.javax.faces
-+Bundle-SymbolicName: com.sun.faces.mojarra-jsf-impl
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 5879227..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-build.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mojarra.git



More information about the pkg-java-commits mailing list