[Jpackage-commits] dist/spring-integration/devel .cvsignore, 1.1, 1.2 ivy-1.0.0.BUILD-20080625.xml, NONE, 1.1 ivy-1.2.0.xml, NONE, 1.1 sources, 1.1, 1.2 spring-integration-MethodInvokingAggregatorTests.patch, NONE, 1.1 spring-integration-ivysettings.patch, NONE, 1.1 spring-integration.spec, NONE, 1.1

jpackage jpackage at ryu.zarb.org
Mon Oct 3 20:41:22 CEST 2011


Update of /home/projects/jpackage/cvs/dist/spring-integration/devel
In directory ryu.zarb.org:/tmp/cvs-serv30691/devel

Modified Files:
	.cvsignore sources 
Added Files:
	ivy-1.0.0.BUILD-20080625.xml ivy-1.2.0.xml 
	spring-integration-MethodInvokingAggregatorTests.patch 
	spring-integration-ivysettings.patch spring-integration.spec 
Log Message:
Import spring-integration into devel

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/spring-integration/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	3 Oct 2011 18:20:32 -0000	1.1
--- .cvsignore	3 Oct 2011 18:41:20 -0000	1.2
***************
*** 0 ****
--- 1,5 ----
+ com.springsource.net.sf.xslthl-1.2.0.jar
+ com.springsource.net.sf.xslthl-sources-1.2.0.jar
+ org.apache.velocity.docbookframework.dist-1.0.0.BUILD-20080625.zip
+ spring-integration-1.0.4.tgz
+ spring-integration-ivy-cache.tgz

--- NEW FILE: spring-integration-MethodInvokingAggregatorTests.patch ---
--- org.springframework.integration/src/test/java/org/springframework/integration/aggregator/MethodInvokingAggregatorTests.java.sav1	2008-11-05 11:11:53.000000000 +0100
+++ org.springframework.integration/src/test/java/org/springframework/integration/aggregator/MethodInvokingAggregatorTests.java	2011-04-29 10:10:16.000000000 +0200
@@ -42,7 +42,8 @@
 
 	@Test
 	public void adapterWithNonParameterizedMessageListBasedMethod() {
-		expect(mockAggregator.doAggregationOnNonParameterizedListOfMessages(isA(List.class))).andStubReturn(
+		expect(mockAggregator.doAggregationOnNonParameterizedListOfMessages(isA(List.class)));
+		expectLastCall().andStubReturn(
 				new GenericMessage<String>(""));
 		MethodInvokingAggregator aggregator = new MethodInvokingAggregator(mockAggregator,
 				"doAggregationOnNonParameterizedListOfMessages");
@@ -53,7 +54,8 @@
 
 	@Test
 	public void adapterWithWildcardParameterizedMessageBasedMethod() {
-		expect(mockAggregator.doAggregationOnListOfMessagesParametrizedWithWildcard(isA(List.class))).andStubReturn(
+		expect(mockAggregator.doAggregationOnListOfMessagesParametrizedWithWildcard(isA(List.class)));
+		expectLastCall().andStubReturn(
 				new GenericMessage<String>(""));
 		MethodInvokingAggregator aggregator = new MethodInvokingAggregator(mockAggregator,
 				"doAggregationOnListOfMessagesParametrizedWithWildcard");
@@ -64,7 +66,8 @@
 
 	@Test
 	public void adapterWithTypeParameterizedMessageBasedMethod() {
-		expect(mockAggregator.doAggregationOnListOfMessagesParametrizedWithString(isA(List.class))).andStubReturn(
+		expect(mockAggregator.doAggregationOnListOfMessagesParametrizedWithString(isA(List.class)));
+		expectLastCall().andStubReturn(
 				new GenericMessage<String>(""));
 		MethodInvokingAggregator aggregator = new MethodInvokingAggregator(mockAggregator,
 				"doAggregationOnListOfMessagesParametrizedWithString");
@@ -75,7 +78,8 @@
 
 	@Test
 	public void adapterWithPojoBasedMethod() {
-		expect(mockAggregator.doAggregationOnListOfStrings(isA(List.class))).andStubReturn(
+		expect(mockAggregator.doAggregationOnListOfStrings(isA(List.class)));
+		expectLastCall().andStubReturn(
 				new GenericMessage<String>(""));
 		MethodInvokingAggregator aggregator = new MethodInvokingAggregator(mockAggregator,
 				"doAggregationOnListOfStrings");

--- NEW FILE: spring-integration.spec ---
# Copyright (c) 2000-2011, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the
#    distribution.
# 3. Neither the name of the JPackage Project nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

%define with()          %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
%define without()       %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
%define bcond_with()    %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
%define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}

%bcond_with xmlgraphics

%define section free
%define bname   spring-integration

%define upstream_tag .RELEASE
%define upstream_version %{version}%{?upstream_tag}

Name:           spring-integration
Summary:        Spring Integration
Version:        1.0.4
Release:        1%{?dist}
Epoch:          0
License:        ASL 2.0
Group:          Development/Libraries/Application Frameworks
URL:            http://www.springframework.org/
# svn export https://src.springframework.org/svn/spring-integration/tags/spring-integration-1.0.4.RELEASE/ spring-integration-1.0.4
# tar czf ../SOURCES/spring-integration-1.0.4.tgz spring-integration-1.0.4/

Source0:        %{name}-%{version}.tgz
Source1:        %{name}-ivy-cache.tgz
Source4:        http://repository.springsource.com.s3.amazonaws.com/ivy/bundles/external/org.apache.velocity/org.apache.velocity.docbookframework.dist/1.0.0.BUILD-20080625/ivy-1.0.0.BUILD-20080625.xml
Source5:        http://repository.springsource.com.s3.amazonaws.com/ivy/bundles/external/org.apache.velocity/org.apache.velocity.docbookframework.dist/1.0.0.BUILD-20080625/org.apache.velocity.docbookframework.dist-1.0.0.BUILD-20080625.zip
Source6:        http://repository.springsource.com/ivy/bundles/external/net.sourceforge.xslthl/com.springsource.net.sf.xslthl/1.2.0/com.springsource.net.sf.xslthl-sources-1.2.0.jar
Source7:        http://repository.springsource.com/ivy/bundles/external/net.sourceforge.xslthl/com.springsource.net.sf.xslthl/1.2.0/com.springsource.net.sf.xslthl-1.2.0.jar
Source8:        http://repository.springsource.com/ivy/bundles/external/net.sourceforge.xslthl/com.springsource.net.sf.xslthl/1.2.0/ivy-1.2.0.xml

Patch0:         spring-integration-ivysettings.patch
Patch1:         spring-integration-MethodInvokingAggregatorTests.patch
BuildArch:      noarch
BuildRequires:  jpackage-utils >= 0:1.7.5
BuildRequires:  java-devel >= 0:1.6.0
BuildRequires:  ant >= 0:1.7.1
BuildRequires:  ant-trax >= 0:1.7.1
BuildRequires:  ant-junit >= 0:1.7.1
BuildRequires:  ant-nodeps >= 0:1.7.1
BuildRequires:  aspectj >= 0:1.5.3
BuildRequires:  cglib21
BuildRequires:  easymock2
BuildRequires:  easymock-classextension2
BuildRequires:  junit44
BuildRequires:  mockito
BuildRequires:  spring2-test
BuildRequires:  xmlunit

BuildRequires:  bea-stax
BuildRequires:  jaf_1_1_api
BuildRequires:  apache-commons-httpclient
BuildRequires:  glassfish-javamail
BuildRequires:  jaxb_2_1_api
BuildRequires:  jms_1_1_api
BuildRequires:  saaj_1_3_api
BuildRequires:  servlet_2_4_api
#BuildRequires:  spring-security
#BuildRequires:  spring-ws
BuildRequires:  spring2-aop
BuildRequires:  spring2-context
BuildRequires:  spring2-context-support
BuildRequires:  spring2-core
BuildRequires:  spring2-jms
BuildRequires:  spring2-tx
BuildRequires:  spring2-web
BuildRequires:  spring2-webmvc
BuildRequires:  stax_1_0_api
BuildRequires:  sun-saaj-1.3-impl
BuildRequires:  xerces-j2

Requires:       java >= 0:1.6.0
Requires:       java-fonts

Requires(post):    jpackage-utils >= 0:1.7.5
Requires(postun):  jpackage-utils >= 0:1.7.5

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Spring is a layered Java/J2EE application framework, 
based on code published in Expert One-on-One J2EE 
Design and Development by Rod Johnson (Wrox, 2002). 

%package javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation

%description javadoc
%{summary}.

%package manual
Summary:        Documents for %{name}
Group:          Development/Documentation
Requires:       %{name}-javadoc = %{epoch}:%{version}-%{release}

%description manual
%{summary}.

%package devel
Summary:        Source jars for %{name}
Group:          Development/Java

%description devel
%{summary}.

%prep
%setup -q 
tar xzf %{SOURCE1}
chmod -R go=u-w *

%patch0 -b .sav0
%patch1 -b .sav1

mkdir -p local-repository/net.sourceforge.xslthl/com.springsource.net.sf.xslthl/1.2.0/
cp %{SOURCE6} local-repository/net.sourceforge.xslthl/com.springsource.net.sf.xslthl/1.2.0/com.springsource.net.sf.xslthl-sources-1.2.0.jar
cp %{SOURCE7} local-repository/net.sourceforge.xslthl/com.springsource.net.sf.xslthl/1.2.0/com.springsource.net.sf.xslthl-1.2.0.jar
cp %{SOURCE8} local-repository/net.sourceforge.xslthl/com.springsource.net.sf.xslthl/1.2.0/ivy-1.2.0.xml

mkdir -p local-repository/org.apache.velocity/org.apache.velocity.docbookframework.dist/1.0.0.BUILD-20080625/
cp -p %{SOURCE4} local-repository/org.apache.velocity/org.apache.velocity.docbookframework.dist/1.0.0.BUILD-20080625/ivy-1.0.0.BUILD-20080625.xml
cp -p %{SOURCE5} local-repository/org.apache.velocity/org.apache.velocity.docbookframework.dist/1.0.0.BUILD-20080625/org.apache.velocity.docbookframework.dist-1.0.0.BUILD-20080625.zip

#rm ivy-cache/repository/com.springsource.bundlor/com.springsource.bundlor/1.0.0.RELEASE/com.springsource.bundlor-1.0.0.RELEASE.jar
#rm ivy-cache/repository/com.springsource.bundlor/com.springsource.bundlor.ant/1.0.0.RELEASE/com.springsource.bundlor.ant-1.0.0.RELEASE.jar
#rm ivy-cache/repository/com.springsource.bundlor/com.springsource.bundlor.blint/1.0.0.RELEASE/com.springsource.bundlor.blint-1.0.0.RELEASE.jar
#rm ivy-cache/repository/com.springsource.util/com.springsource.util.common/2.0.0.RELEASE/com.springsource.util.common-2.0.0.RELEASE.jar
#rm ivy-cache/repository/com.springsource.util/com.springsource.util.math/2.0.0.RELEASE/com.springsource.util.math-2.0.0.RELEASE.jar
#rm ivy-cache/repository/com.springsource.util/com.springsource.util.osgi/2.0.0.RELEASE/com.springsource.util.osgi-2.0.0.RELEASE.jar
#rm ivy-cache/repository/com.springsource.util/com.springsource.util.parser.manifest/2.0.0.RELEASE/com.springsource.util.parser.manifest-2.0.0.RELEASE.jar
rm ivy-cache/repository/com.sun.xml/com.springsource.com.sun.xml.bind/2.1.7/com.springsource.com.sun.xml.bind-2.1.7.jar
ln -sf $(build-classpath jaxb_2_1_impl) ivy-cache/repository/com.sun.xml/com.springsource.com.sun.xml.bind/2.1.7/com.springsource.com.sun.xml.bind-2.1.7.jar
rm ivy-cache/repository/com.sun.xml/com.springsource.com.sun.xml.fastinfoset/1.2.2/com.springsource.com.sun.xml.fastinfoset-1.2.2.jar
ln -sf $(build-classpath sun-fi) ivy-cache/repository/com.sun.xml/com.springsource.com.sun.xml.fastinfoset/1.2.2/com.springsource.com.sun.xml.fastinfoset-1.2.2.jar
rm ivy-cache/repository/com.sun.xml/com.springsource.com.sun.xml.messaging.saaj/1.3.0/com.springsource.com.sun.xml.messaging.saaj-1.3.0.jar
ln -sf $(build-classpath saaj_1_3_api) ivy-cache/repository/com.sun.xml/com.springsource.com.sun.xml.messaging.saaj/1.3.0/com.springsource.com.sun.xml.messaging.saaj-1.3.0.jar
rm ivy-cache/repository/javax.activation/com.springsource.javax.activation/1.1.1/com.springsource.javax.activation-1.1.1.jar
ln -sf $(build-classpath jaf_1_1_api) ivy-cache/repository/javax.activation/com.springsource.javax.activation/1.1.1/com.springsource.javax.activation-1.1.1.jar
rm ivy-cache/repository/javax.jms/com.springsource.javax.jms/1.1.0/com.springsource.javax.jms-1.1.0.jar
ln -sf $(build-classpath jms_1_1_api) ivy-cache/repository/javax.jms/com.springsource.javax.jms/1.1.0/com.springsource.javax.jms-1.1.0.jar
rm ivy-cache/repository/javax.mail/com.springsource.javax.mail/1.4.1/com.springsource.javax.mail-1.4.1.jar
ln -sf $(build-classpath glassfish-javamail-monolithic) ivy-cache/repository/javax.mail/com.springsource.javax.mail/1.4.1/com.springsource.javax.mail-1.4.1.jar
rm ivy-cache/repository/javax.servlet/com.springsource.javax.servlet/2.4.0/com.springsource.javax.servlet-2.4.0.jar
ln -sf $(build-classpath servlet_2_4_api) ivy-cache/repository/javax.servlet/com.springsource.javax.servlet/2.4.0/com.springsource.javax.servlet-2.4.0.jar
rm ivy-cache/repository/javax.xml.bind/com.springsource.javax.xml.bind/2.1.7/com.springsource.javax.xml.bind-2.1.7.jar
ln -sf $(build-classpath jaxb_2_1_api) ivy-cache/repository/javax.xml.bind/com.springsource.javax.xml.bind/2.1.7/com.springsource.javax.xml.bind-2.1.7.jar
rm ivy-cache/repository/javax.xml.soap/com.springsource.javax.xml.soap/1.3.0/com.springsource.javax.xml.soap-1.3.0.jar
ln -sf $(build-classpath ws-soap) ivy-cache/repository/javax.xml.soap/com.springsource.javax.xml.soap/1.3.0/com.springsource.javax.xml.soap-1.3.0.jar
rm ivy-cache/repository/javax.xml.stream/com.springsource.javax.xml.stream/1.0.1/com.springsource.javax.xml.stream-1.0.1.jar
ln -sf $(build-classpath stax_1_0_api) ivy-cache/repository/javax.xml.stream/com.springsource.javax.xml.stream/1.0.1/com.springsource.javax.xml.stream-1.0.1.jar
rm ivy-cache/repository/net.sourceforge.cglib/com.springsource.net.sf.cglib/2.1.3/com.springsource.net.sf.cglib-2.1.3.jar
ln -sf $(build-classpath cglib21) ivy-cache/repository/net.sourceforge.cglib/com.springsource.net.sf.cglib/2.1.3/com.springsource.net.sf.cglib-2.1.3.jar
rm ivy-cache/repository/org.aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar
ln -sf $(build-classpath aopalliance) ivy-cache/repository/org.aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar
rm ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.codec/1.3.0/com.springsource.org.apache.commons.codec-1.3.0.jar
ln -sf $(build-classpath commons-codec) ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.codec/1.3.0/com.springsource.org.apache.commons.codec-1.3.0.jar
rm ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.collections/3.2.0/com.springsource.org.apache.commons.collections-3.2.0.jar
ln -sf $(build-classpath commons-collections) ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.collections/3.2.0/com.springsource.org.apache.commons.collections-3.2.0.jar
rm ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.httpclient/3.1.0/com.springsource.org.apache.commons.httpclient-3.1.0.jar
ln -sf $(build-classpath commons-httpclient) ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.httpclient/3.1.0/com.springsource.org.apache.commons.httpclient-3.1.0.jar
rm ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.lang/2.1.0/com.springsource.org.apache.commons.lang-2.1.0.jar
ln -sf $(build-classpath commons-lang) ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.lang/2.1.0/com.springsource.org.apache.commons.lang-2.1.0.jar
rm ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar
ln -sf $(build-classpath commons-logging) ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar
rm ivy-cache/repository/org.apache.ws/com.springsource.org.apache.ws.commons.schema/1.3.2/com.springsource.org.apache.ws.commons.schema-1.3.2.jar
ln -sf $(build-classpath ws-commons-XmlSchema) ivy-cache/repository/org.apache.ws/com.springsource.org.apache.ws.commons.schema/1.3.2/com.springsource.org.apache.ws.commons.schema-1.3.2.jar
rm ivy-cache/repository/org.aspectj/com.springsource.org.aspectj.weaver/1.6.5.RELEASE/com.springsource.org.aspectj.weaver-1.6.5.RELEASE.jar
ln -sf $(build-classpath aspectjweaver) ivy-cache/repository/org.aspectj/com.springsource.org.aspectj.weaver/1.6.5.RELEASE/com.springsource.org.aspectj.weaver-1.6.5.RELEASE.jar
rm ivy-cache/repository/org.custommonkey.xmlunit/com.springsource.org.custommonkey.xmlunit/1.2.0/com.springsource.org.custommonkey.xmlunit-1.2.0.jar
ln -sf $(build-classpath xmlunit) ivy-cache/repository/org.custommonkey.xmlunit/com.springsource.org.custommonkey.xmlunit/1.2.0/com.springsource.org.custommonkey.xmlunit-1.2.0.jar
rm ivy-cache/repository/org.easymock/com.springsource.org.easymock/2.3.0/com.springsource.org.easymock-2.3.0.jar
ln -sf $(build-classpath easymock2) ivy-cache/repository/org.easymock/com.springsource.org.easymock/2.3.0/com.springsource.org.easymock-2.3.0.jar
rm ivy-cache/repository/org.easymock/com.springsource.org.easymock.classextension/2.3.0/com.springsource.org.easymock.classextension-2.3.0.jar
ln -sf $(build-classpath easymock-classextension2) ivy-cache/repository/org.easymock/com.springsource.org.easymock.classextension/2.3.0/com.springsource.org.easymock.classextension-2.3.0.jar
rm ivy-cache/repository/org.eclipse.jdt/com.springsource.org.eclipse.jdt.core.compiler.batch/3.3.0/com.springsource.org.eclipse.jdt.core.compiler.batch-3.3.0.jar
ln -sf $(build-classpath ecj3) ivy-cache/repository/org.eclipse.jdt/com.springsource.org.eclipse.jdt.core.compiler.batch/3.3.0/com.springsource.org.eclipse.jdt.core.compiler.batch-3.3.0.jar
rm ivy-cache/repository/org.hamcrest/com.springsource.org.hamcrest.core/1.1.0/com.springsource.org.hamcrest.core-1.1.0.jar
ln -sf $(build-classpath hamcrest/core) ivy-cache/repository/org.hamcrest/com.springsource.org.hamcrest.core/1.1.0/com.springsource.org.hamcrest.core-1.1.0.jar
rm ivy-cache/repository/org.junit/com.springsource.org.junit/4.4.0/com.springsource.org.junit-4.4.0.jar
ln -sf $(build-classpath junit44) ivy-cache/repository/org.junit/com.springsource.org.junit/4.4.0/com.springsource.org.junit-4.4.0.jar
rm ivy-cache/repository/org.jvnet.staxex/com.springsource.org.jvnet.staxex/1.0.0/com.springsource.org.jvnet.staxex-1.0.0.jar
ln -sf $(build-classpath stax-ex) ivy-cache/repository/org.jvnet.staxex/com.springsource.org.jvnet.staxex/1.0.0/com.springsource.org.jvnet.staxex-1.0.0.jar
rm ivy-cache/repository/org.mockito/com.springsource.org.mockito/1.6.0/com.springsource.org.mockito-1.6.0.jar
ln -sf $(build-classpath mockito-all) ivy-cache/repository/org.mockito/com.springsource.org.mockito/1.6.0/com.springsource.org.mockito-1.6.0.jar
rm ivy-cache/repository/org.objectweb.asm/com.springsource.org.objectweb.asm/3.1.0/com.springsource.org.objectweb.asm-3.1.0.jar
ln -sf $(build-classpath objectweb-asm/asm) ivy-cache/repository/org.objectweb.asm/com.springsource.org.objectweb.asm/3.1.0/com.springsource.org.objectweb.asm-3.1.0.jar
rm ivy-cache/repository/org.objectweb.asm/com.springsource.org.objectweb.asm.commons/3.1.0/com.springsource.org.objectweb.asm.commons-3.1.0.jar
ln -sf $(build-classpath objectweb-asm/asm-commons) ivy-cache/repository/org.objectweb.asm/com.springsource.org.objectweb.asm.commons/3.1.0/com.springsource.org.objectweb.asm.commons-3.1.0.jar
rm ivy-cache/repository/org.objectweb.asm/com.springsource.org.objectweb.asm.tree/3.1.0/com.springsource.org.objectweb.asm.tree-3.1.0.jar
ln -sf $(build-classpath objectweb-asm/asm-tree) ivy-cache/repository/org.objectweb.asm/com.springsource.org.objectweb.asm.tree/3.1.0/com.springsource.org.objectweb.asm.tree-3.1.0.jar
rm ivy-cache/repository/org.objenesis/com.springsource.org.objenesis/1.0.0/com.springsource.org.objenesis-1.0.0.jar
ln -sf $(build-classpath objenesis) ivy-cache/repository/org.objenesis/com.springsource.org.objenesis/1.0.0/com.springsource.org.objenesis-1.0.0.jar
rm ivy-cache/repository/org.osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar
ln -sf $(build-classpath org.osgi.core) ivy-cache/repository/org.osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar
#rm ivy-cache/repository/org.springframework.build/org.springframework.build.ant/1.1.0.RELEASE/org.springframework.build.ant-1.1.0.RELEASE.jar
rm ivy-cache/repository/org.springframework/org.springframework.aop/2.5.6.SEC01/org.springframework.aop-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/aop) ivy-cache/repository/org.springframework/org.springframework.aop/2.5.6.SEC01/org.springframework.aop-2.5.6.SEC01.jar
rm ivy-cache/repository/org.springframework/org.springframework.beans/2.5.6.SEC01/org.springframework.beans-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/beans) ivy-cache/repository/org.springframework/org.springframework.beans/2.5.6.SEC01/org.springframework.beans-2.5.6.SEC01.jar
rm ivy-cache/repository/org.springframework/org.springframework.context/2.5.6.SEC01/org.springframework.context-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/context) ivy-cache/repository/org.springframework/org.springframework.context/2.5.6.SEC01/org.springframework.context-2.5.6.SEC01.jar
rm ivy-cache/repository/org.springframework/org.springframework.context.support/2.5.6.SEC01/org.springframework.context.support-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/context-support) ivy-cache/repository/org.springframework/org.springframework.context.support/2.5.6.SEC01/org.springframework.context.support-2.5.6.SEC01.jar
rm ivy-cache/repository/org.springframework/org.springframework.core/2.5.6.SEC01/org.springframework.core-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/core) ivy-cache/repository/org.springframework/org.springframework.core/2.5.6.SEC01/org.springframework.core-2.5.6.SEC01.jar
rm ivy-cache/repository/org.springframework/org.springframework.jms/2.5.6.SEC01/org.springframework.jms-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/jms) ivy-cache/repository/org.springframework/org.springframework.jms/2.5.6.SEC01/org.springframework.jms-2.5.6.SEC01.jar
rm ivy-cache/repository/org.springframework/org.springframework.test/2.5.6.SEC01/org.springframework.test-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/test) ivy-cache/repository/org.springframework/org.springframework.test/2.5.6.SEC01/org.springframework.test-2.5.6.SEC01.jar
rm ivy-cache/repository/org.springframework/org.springframework.transaction/2.5.6.SEC01/org.springframework.transaction-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/tx) ivy-cache/repository/org.springframework/org.springframework.transaction/2.5.6.SEC01/org.springframework.transaction-2.5.6.SEC01.jar
rm ivy-cache/repository/org.springframework/org.springframework.web/2.5.6.SEC01/org.springframework.web-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/web) ivy-cache/repository/org.springframework/org.springframework.web/2.5.6.SEC01/org.springframework.web-2.5.6.SEC01.jar
rm ivy-cache/repository/org.springframework/org.springframework.web.servlet/2.5.6.SEC01/org.springframework.web.servlet-2.5.6.SEC01.jar
ln -sf $(build-classpath spring2/webmvc) ivy-cache/repository/org.springframework/org.springframework.web.servlet/2.5.6.SEC01/org.springframework.web.servlet-2.5.6.SEC01.jar
#rm ivy-cache/repository/org.springframework.security/org.springframework.security.core/2.0.5.RELEASE/org.springframework.security.core-2.0.5.RELEASE.jar
#rm ivy-cache/repository/org.springframework.ws/org.springframework.oxm/1.5.9.A/org.springframework.oxm-1.5.9.A.jar
#rm ivy-cache/repository/org.springframework.ws/org.springframework.oxm.java5/1.5.9.A/org.springframework.oxm.java5-1.5.9.A.jar
#rm ivy-cache/repository/org.springframework.ws/org.springframework.ws/1.5.9.A/org.springframework.ws-1.5.9.A.jar
#rm ivy-cache/repository/org.springframework.ws/org.springframework.xml/1.5.9.A/org.springframework.xml-1.5.9.A.jar
rm ivy-cache/repository/org.apache.xerces/com.springsource.org.apache.xerces/2.8.1/com.springsource.org.apache.xerces-2.8.1.jar
mkdir -p ivy-cache/repository/org.apache.xerces/com.springsource.org.apache.xerces/2.8.1/
ln -sf $(build-classpath xerces-j2) ivy-cache/repository/org.apache.xerces/com.springsource.org.apache.xerces/2.8.1/com.springsource.org.apache.xerces-2.8.1.jar

rm ivy-cache/repository/org.apache.xmlcommons/com.springsource.org.apache.xmlcommons/1.3.3/com.springsource.org.apache.xmlcommons-1.3.3.jar
mkdir -p ivy-cache/repository/org.apache.xmlcommons/com.springsource.org.apache.xmlcommons/1.3.3/
ln -sf $(build-classpath xml-commons-jaxp-1.3-apis) ivy-cache/repository/org.apache.xmlcommons/com.springsource.org.apache.xmlcommons/1.3.3/com.springsource.org.apache.xmlcommons-1.3.3.jar

rm ivy-cache/repository/org.apache.xml/com.springsource.org.apache.xml.resolver/1.2.0/com.springsource.org.apache.xml.resolver-1.2.0.jar
mkdir -p ivy-cache/repository/org.apache.xml/com.springsource.org.apache.xml.resolver/1.2.0/
ln -sf $(build-classpath xml-commons-resolver12) ivy-cache/repository/org.apache.xml/com.springsource.org.apache.xml.resolver/1.2.0/com.springsource.org.apache.xml.resolver-1.2.0.jar


%build
export CLASSPATH=
CLASSPATH="$CLASSPATH:../spring-build/lib/ivy/ivy.jar"
CLASSPATH="$CLASSPATH:../spring-build/lib/ivy/org.springframework.build.aws.ivy.jar"
CLASSPATH="$CLASSPATH:../spring-build/lib/ivy/jets3t.jar"
CLASSPATH="$CLASSPATH:../spring-build/lib/ivy/commons-codec.jar"
CLASSPATH="$CLASSPATH:../spring-build/lib/ivy/commons-httpclient.jar"
CLASSPATH="$CLASSPATH:../spring-build/lib/ivy/commons-logging.jar"

export ANT_OPTS="-Xmx768m -XX:MaxPermSize=128m"
#export OPT_JAR_LIST="ant/ant-nodeps ant/ant-junit junit castor/core castor/anttasks castor/codegen castor/xml castor/xml-schema"
export IVY_CACHE=$(pwd)/ivy-cache/repository
export IVY_LOCAL=$(pwd)/local-repository
cd build-spring-integration
%{ant} -Dlocal.repo.dir=${IVY_LOCAL} -Dtest.halt=false -Dbuild.sysclasspath=first -Djava.awt.headless=true precommit javadoc-all
%{ant} -Dlocal.repo.dir=${IVY_LOCAL} -Dtest.halt=false -Dbuild.sysclasspath=first -Djava.awt.headless=true package

%install
rm -rf $RPM_BUILD_ROOT

# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}

install -m 644 org.springframework.integration.adapter/target/artifacts/org.springframework.integration.adapter.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.adapter-%{version}.jar
install -m 644 org.springframework.integration.event/target/artifacts/org.springframework.integration.event.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.event-%{version}.jar
install -m 644 org.springframework.integration.file/target/artifacts/org.springframework.integration.file.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.file-%{version}.jar
install -m 644 org.springframework.integration.httpinvoker/target/artifacts/org.springframework.integration.httpinvoker.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.httpinvoker-%{version}.jar
install -m 644 org.springframework.integration.http/target/artifacts/org.springframework.integration.http.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.http-%{version}.jar
install -m 644 org.springframework.integration.jms/target/artifacts/org.springframework.integration.jms.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.jms-%{version}.jar
install -m 644 org.springframework.integration.mail/target/artifacts/org.springframework.integration.mail.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.mail-%{version}.jar
install -m 644 org.springframework.integration.rmi/target/artifacts/org.springframework.integration.rmi.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.rmi-%{version}.jar
install -m 644 org.springframework.integration.security/target/artifacts/org.springframework.integration.security.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.security-%{version}.jar
install -m 644 org.springframework.integration.stream/target/artifacts/org.springframework.integration.stream.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.stream-%{version}.jar
install -m 644 org.springframework.integration/target/artifacts/org.springframework.integration.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration-%{version}.jar
install -m 644 org.springframework.integration.ws/target/artifacts/org.springframework.integration.ws.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.ws-%{version}.jar
install -m 644 org.springframework.integration.xml/target/artifacts/org.springframework.integration.xml.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}/org.springframework.integration.xml-%{version}.jar

mkdir -p $RPM_BUILD_ROOT%{_javadir}/%{name}-sources
install -m 644 org.springframework.integration.adapter/target/artifacts/org.springframework.integration.adapter-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.adapter-sources-%{version}.jar
install -m 644 org.springframework.integration.event/target/artifacts/org.springframework.integration.event-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.event-sources-%{version}.jar
install -m 644 org.springframework.integration.file/target/artifacts/org.springframework.integration.file-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.file-sources-%{version}.jar
install -m 644 org.springframework.integration.httpinvoker/target/artifacts/org.springframework.integration.httpinvoker-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.httpinvoker-sources-%{version}.jar
install -m 644 org.springframework.integration.http/target/artifacts/org.springframework.integration.http-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.http-sources-%{version}.jar
install -m 644 org.springframework.integration.jms/target/artifacts/org.springframework.integration.jms-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.jms-sources-%{version}.jar
install -m 644 org.springframework.integration.mail/target/artifacts/org.springframework.integration.mail-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.mail-sources-%{version}.jar
install -m 644 org.springframework.integration.rmi/target/artifacts/org.springframework.integration.rmi-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.rmi-sources-%{version}.jar
install -m 644 org.springframework.integration.security/target/artifacts/org.springframework.integration.security-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.security-sources-%{version}.jar
install -m 644 org.springframework.integration.stream/target/artifacts/org.springframework.integration.stream-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.stream-sources-%{version}.jar
install -m 644 org.springframework.integration/target/artifacts/org.springframework.integration-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration-sources-%{version}.jar
install -m 644 org.springframework.integration.ws/target/artifacts/org.springframework.integration.ws-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.ws-sources-%{version}.jar
install -m 644 org.springframework.integration.xml/target/artifacts/org.springframework.integration.xml-sources.jar \
               $RPM_BUILD_ROOT%{_javadir}/%{name}-sources/org.springframework.integration.xml-sources-%{version}.jar

(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)
(cd $RPM_BUILD_ROOT%{_javadir}/%{name}-sources && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)

%add_to_maven_depmap org.springframework.integration %{bname}-adapter %{version} JPP/%{name} org.springframework.integration.adapter
%add_to_maven_depmap org.springframework.integration org.springframework.integration.adapter %{version} JPP/%{name} org.springframework.integration.adapter
%add_to_maven_depmap org.springframework.integration %{bname}-event %{version} JPP/%{name} org.springframework.integration.event
%add_to_maven_depmap org.springframework.integration org.springframework.integration.event %{version} JPP/%{name} org.springframework.integration.event
%add_to_maven_depmap org.springframework.integration %{bname}-file %{version} JPP/%{name} org.springframework.integration.file
%add_to_maven_depmap org.springframework.integration org.springframework.integration.file %{version} JPP/%{name} org.springframework.integration.file
%add_to_maven_depmap org.springframework.integration %{bname}-httpinvoker %{version} JPP/%{name} org.springframework.integration.httpinvoker
%add_to_maven_depmap org.springframework.integration org.springframework.integration.httpinvoker %{version} JPP/%{name} org.springframework.integration.httpinvoker
%add_to_maven_depmap org.springframework.integration %{bname}-http %{version} JPP/%{name} org.springframework.integration.http
%add_to_maven_depmap org.springframework.integration org.springframework.integration.http %{version} JPP/%{name} org.springframework.integration.http
%add_to_maven_depmap org.springframework.integration %{bname}-jms %{version} JPP/%{name} org.springframework.integration.jms
%add_to_maven_depmap org.springframework.integration org.springframework.integration.jms %{version} JPP/%{name} org.springframework.integration.jms
%add_to_maven_depmap org.springframework.integration %{bname}-mail %{version} JPP/%{name} org.springframework.integration.mail
%add_to_maven_depmap org.springframework.integration org.springframework.integration.mail %{version} JPP/%{name} org.springframework.integration.mail
%add_to_maven_depmap org.springframework.integration %{bname}-rmi %{version} JPP/%{name} org.springframework.integration.rmi
%add_to_maven_depmap org.springframework.integration org.springframework.integration.rmi %{version} JPP/%{name} org.springframework.integration.rmi
%add_to_maven_depmap org.springframework.integration %{bname}-security %{version} JPP/%{name} org.springframework.integration.security
%add_to_maven_depmap org.springframework.integration org.springframework.integration.security %{version} JPP/%{name} org.springframework.integration.security
%add_to_maven_depmap org.springframework.integration %{bname}-stream %{version} JPP/%{name} org.springframework.integration.stream
%add_to_maven_depmap org.springframework.integration org.springframework.integration.stream %{version} JPP/%{name} org.springframework.integration.stream
%add_to_maven_depmap org.springframework.integration %{bname} %{version} JPP/%{name} org.springframework.integration
%add_to_maven_depmap org.springframework.integration org.springframework.integration %{version} JPP/%{name} org.springframework.integration
%add_to_maven_depmap org.springframework.integration %{bname}-ws %{version} JPP/%{name} org.springframework.integration.ws
%add_to_maven_depmap org.springframework.integration org.springframework.integration.ws %{version} JPP/%{name} org.springframework.integration.ws
%add_to_maven_depmap org.springframework.integration %{bname}-xml %{version} JPP/%{name} org.springframework.integration.xml
%add_to_maven_depmap org.springframework.integration org.springframework.integration.xml %{version} JPP/%{name} org.springframework.integration.xml

%add_to_maven_depmap org.springframework.integration %{bname}-parent %{version} JPP/%{name} org.springframework.integration.parent
%add_to_maven_depmap org.springframework.integration org.springframework.integration.parent %{version} JPP/%{name} org.springframework.integration.parent

# poms
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -m 644 spring-integration-parent/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.parent.pom

install -m 644 org.springframework.integration.adapter/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.adapter.pom
install -m 644 org.springframework.integration.event/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.event.pom
install -m 644 org.springframework.integration.file/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.file.pom
install -m 644 org.springframework.integration.httpinvoker/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.httpinvoker.pom
install -m 644 org.springframework.integration.http/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.http.pom
install -m 644 org.springframework.integration.jms/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.jms.pom
install -m 644 org.springframework.integration.mail/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.mail.pom
install -m 644 org.springframework.integration.rmi/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.rmi.pom
install -m 644 org.springframework.integration.security/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.security.pom
install -m 644 org.springframework.integration.stream/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.stream.pom
install -m 644 org.springframework.integration/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.pom
install -m 644 org.springframework.integration.ws/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.ws.pom
install -m 644 org.springframework.integration.xml/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-org.springframework.integration.xml.pom

# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr build-spring-integration/target/javadoc-all/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}

### manual
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
#cp -pr changelog.txt license.txt notice.txt readme.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
ln -s %{_javadocdir}/%{name} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/api
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/reference/
cp -pr spring-integration-reference/target/spring-integration-reference/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
###

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(0644,root,root,0755)
%doc %dir %{_docdir}/%{name}-%{version}
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/*.jar
%{_datadir}/maven2/poms/*
%{_mavendepmapfragdir}/*

%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}

%files manual
%defattr(0644,root,root,0755)
%doc %dir %{_docdir}/%{name}-%{version}
%doc %{_docdir}/%{name}-%{version}/*

%files devel
%defattr(0644,root,root,0755)
%dir %{_javadir}/%{name}-sources
%{_javadir}/%{name}-sources/*.jar

%changelog
* Fri Apr 29 2011 Ralph Apel <r.apel at r-apel.de> 0:1.0.4-1
- First release


Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/spring-integration/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	3 Oct 2011 18:20:32 -0000	1.1
--- sources	3 Oct 2011 18:41:20 -0000	1.2
***************
*** 0 ****
--- 1,5 ----
+ 619e7729d77e4034cd2b52cf74dcfda8  com.springsource.net.sf.xslthl-1.2.0.jar
+ 6825932db47c9b9b2b70296b57224b1e  com.springsource.net.sf.xslthl-sources-1.2.0.jar
+ 0b83c2006c12a16d9de53d5fe2b77c8d  org.apache.velocity.docbookframework.dist-1.0.0.BUILD-20080625.zip
+ b2174d7fece4db93b039321b198f723b  spring-integration-1.0.4.tgz
+ da30d4217f22944ff81fe7bbdf2bf48d  spring-integration-ivy-cache.tgz

--- NEW FILE: ivy-1.0.0.BUILD-20080625.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?>
<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd" version="1.3">

	<info organisation="org.apache.velocity" module="org.apache.velocity.docbookframework.dist" revision="1.0.0.BUILD-20080625" status="release" publication="20100412095908"/>

	<configurations>
		<conf name="compile" visibility="public" description="Compile dependencies"/>
		<conf name="optional" visibility="public" extends="compile" description="Optional dependencies"/>
		<conf name="provided" visibility="public" description="Provided dependencies"/>
		<conf name="runtime" visibility="public" extends="compile" description="Runtime dependencies"/>
	</configurations>

	<publications>
		<artifact name="org.apache.velocity.docbookframework.dist" type="zip" ext="zip"/>
	</publications>

</ivy-module>

--- NEW FILE: spring-integration-ivysettings.patch ---
--- spring-build/common/ivysettings.xml.sav	2011-04-28 21:22:17.000000000 +0200
+++ spring-build/common/ivysettings.xml	2011-04-28 21:24:01.000000000 +0200
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ivysettings>
 
+<!--
 	<typedef name="s3" classname="org.springframework.aws.ivy.S3Resolver"/>
+-->
 
 	<settings defaultResolver="external-lookup" defaultLatestStrategy="latest-lexico"/>
 
@@ -10,6 +12,7 @@
 			artifactPattern="[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
 			useOrigin="true" checkUpToDate="false"/>
 
+<!--
 	<macrodef name="s3repo">
 		<attribute name="bucket"/>
 		<attribute name="artifact.type"/>
@@ -19,6 +22,7 @@
 			<artifact pattern="s3://@{bucket}/ivy/@{artifact.type}/@{release.type}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
 		</s3>
 	</macrodef>
+-->
 
 	<macrodef name="localrepo">
 		<filesystem descriptor="required">
@@ -37,24 +41,30 @@
 <!-- Lookup repositories -->
 		<chain name="external-lookup" returnFirst="true">
 			<localrepo name="local-external-repository"/>
+<!--
 			<s3repo name="bundle-external-repository"	bucket="repository.springsource.com" artifact.type="bundles" release.type="external"/>
 			<s3repo name="library-external-repository"	bucket="repository.springsource.com" artifact.type="libraries" release.type="external"/>
+-->
 		</chain>
 
 		<chain name="spring-portfolio-lookup" returnFirst="true">
 			<resolver ref="integration"/>
 			<localrepo name="local"/>
+<!--
 			<s3repo name="bundle-release-repository"	bucket="repository.springsource.com" artifact.type="bundles" release.type="release"/>
 			<s3repo name="bundle-milestone-repository"	bucket="repository.springsource.com" artifact.type="bundles" release.type="milestone"/>
 			<s3repo name="bundle-snapshot-repository"	bucket="repository.springsource.com" artifact.type="bundles" release.type="snapshot"/>
 			<s3repo name="library-release-repository"	bucket="repository.springsource.com" artifact.type="libraries" release.type="release"/>
 			<s3repo name="library-milestone-repository"	bucket="repository.springsource.com" artifact.type="libraries" release.type="milestone"/>
 			<s3repo name="library-snapshot-repository"	bucket="repository.springsource.com" artifact.type="libraries" release.type="snapshot"/>
+-->
 		</chain>
 
 <!-- Publishing repositories -->
+<!--
 		<s3repo name="ebr-bundle-publish"	bucket="${publish.bucket}"	artifact.type="bundles" 	release.type="${adjusted.release.type}"/>
 		<s3repo name="ebr-library-publish"	bucket="${publish.bucket}"	artifact.type="libraries"	release.type="${adjusted.release.type}"/>
+-->
 		<localrepo name="local-bundle-publish"/>
 		<localrepo name="local-library-publish"/>
 	</resolvers>

--- NEW FILE: ivy-1.2.0.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?>
<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd" version="1.3">

	<info organisation="net.sourceforge.xslthl" module="com.springsource.net.sf.xslthl" revision="1.2.0" status="release" publication="20090204145059"/>

	<configurations>
		<conf name="compile" visibility="public" description="Compile dependencies"/>
		<conf name="optional" visibility="public" extends="compile" description="Optional dependencies"/>
		<conf name="provided" visibility="public" description="Provided dependencies"/>
		<conf name="runtime" visibility="public" extends="compile" description="Runtime dependencies"/>
	</configurations>

	<publications>
		<artifact name="com.springsource.net.sf.xslthl"/>
		<artifact name="com.springsource.net.sf.xslthl-sources" type="src" ext="jar"/>
	</publications>

</ivy-module>




More information about the JPackage-commits mailing list