You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by fl...@apache.org on 2010/07/20 14:05:32 UTC
svn commit: r965819 - in /lenya/trunk/externals: build.sh
parent-pom_serializer-impl-dependency.patch
Author: florent
Date: Tue Jul 20 12:05:32 2010
New Revision: 965819
URL: http://svn.apache.org/viewvc?rev=965819&view=rev
Log:
add a script and the patch for a clean and easy cocoon compilation
Added:
lenya/trunk/externals/build.sh (with props)
lenya/trunk/externals/parent-pom_serializer-impl-dependency.patch
Added: lenya/trunk/externals/build.sh
URL: http://svn.apache.org/viewvc/lenya/trunk/externals/build.sh?rev=965819&view=auto
==============================================================================
--- lenya/trunk/externals/build.sh (added)
+++ lenya/trunk/externals/build.sh Tue Jul 20 12:05:32 2010
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Java compiler requires at least 128m of memory for cocoon-serializers block,
+# plus another 128m for maven itself to fit its dependency tree.
+MAVEN_OPTS="-Xmx256m"
+
+export MAVEN_OPTS
+
+# Invoke patch
+echo "============================================="
+echo "Apply patch to cocoon still issue COCOON-2294 not solve (https://issues.apache.org/jira/browse/COCOON-2294)"
+echo "============================================="
+
+patch -p0 < parent-pom_serializer-impl-dependency.patch
+# Invoke maven
+cd cocoon-rev-964648
+echo "============================================="
+echo "Install cocoon"
+echo "============================================="
+mvn install
+#mvn -P allblocks $ARGS
Propchange: lenya/trunk/externals/build.sh
------------------------------------------------------------------------------
svn:executable = *
Added: lenya/trunk/externals/parent-pom_serializer-impl-dependency.patch
URL: http://svn.apache.org/viewvc/lenya/trunk/externals/parent-pom_serializer-impl-dependency.patch?rev=965819&view=auto
==============================================================================
--- lenya/trunk/externals/parent-pom_serializer-impl-dependency.patch (added)
+++ lenya/trunk/externals/parent-pom_serializer-impl-dependency.patch Tue Jul 20 12:05:32 2010
@@ -0,0 +1,13 @@
+Index: parent/pom.xml
+===================================================================
+--- cocoon-rev-964648/parent/pom.xml (revision 964648)
++++ cocoon-rev-964648/parent/pom.xml (working copy)
+@@ -2868,7 +2868,7 @@
+ <dependency>
+ <groupId>org.apache.cocoon</groupId>
+ <artifactId>cocoon-serializers-impl</artifactId>
+- <version>1.0.0-SNAPSHOT</version>
++ <version>1.0.1-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cocoon</groupId>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org