Does anybody know of a better way to accomplish this than the hack I checked in for 2.1? The objective is to manage just one copy of the README, RELEASE-NOTES, and DISCLAIMER files in the root svn and include those as we build the assemblies. If there isn't a better way then I'll check this same change into trunk.

Thanks,
Joe



-------- Original Message --------
Subject: svn commit: r677660 - in /geronimo/server/branches/2.1: ./ assemblies/geronimo-boilerplate-minimal/ assemblies/geronimo-boilerplate-minimal/src/main/underlay/
Date: Thu, 17 Jul 2008 18:08:24 -0000
From: [EMAIL PROTECTED]
Reply-To: dev@geronimo.apache.org
To: [EMAIL PROTECTED]

Author: jbohn
Date: Thu Jul 17 11:08:24 2008
New Revision: 677660

URL: http://svn.apache.org/viewvc?rev=677660&view=rev
Log:
include just one copy of text files (readme, release-notes, and disclaimer) and copy them from root into the assembly images

Removed:

geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/DISCLAIMER.txt

geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/README.txt

geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/RELEASE_NOTES-2.1.1.txt
Modified:
    geronimo/server/branches/2.1/README.txt

geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml

Modified: geronimo/server/branches/2.1/README.txt
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/README.txt?rev=677660&r1=677659&r2=677660&view=diff
==============================================================================
--- geronimo/server/branches/2.1/README.txt (original)
+++ geronimo/server/branches/2.1/README.txt Thu Jul 17 11:08:24 2008
@@ -1,5 +1,5 @@
 ======================================================
-Apache Geronimo v2.1  (February 7, 2008)
+Apache Geronimo v2.1.2  (July 31, 2008)

 http://geronimo.apache.org/
 ------------------------------------------------------

Modified: geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml?rev=677660&r1=677659&r2=677660&view=diff
==============================================================================
--- geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml (original) +++ geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/pom.xml Thu Jul 17 11:08:24 2008
@@ -293,6 +293,22 @@
                     </execution>

                     <execution>
+                        <phase>process-resources</phase>
+                        <id>copy-txt-files</id>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+ <echo>Copying README, RELEASE_NOTES, and DISCLAIMER txt files ${project.basedir}/../.. to underlay - ${project.build.outputDirectory}/contents</echo> + <copy file ="${project.basedir}/../../README.txt" todir="${project.build.outputDirectory}/contents" failonerror="true" overwrite="true" /> + <copy file ="${project.basedir}/../../RELEASE_NOTES-2.1.2.txt" todir="${project.build.outputDirectory}/contents" failonerror="true" overwrite="true" /> + <copy file ="${project.basedir}/../../DISCLAIMER.txt" todir="${project.build.outputDirectory}/contents" failonerror="true" overwrite="true" />
+                            </tasks>
+                        </configuration>
+                    </execution>
+
+                    <execution>
                         <id>install-underlay</id>
                         <phase>process-classes</phase>
                         <goals>



Reply via email to