Author: sumedha
Date: Wed Oct  3 02:07:52 2007
New Revision: 581535

URL: http://svn.apache.org/viewvc?rev=581535&view=rev
Log:
changing @VERSION@ label dynamically

Modified:
    
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/pom.xml
    
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/bin.xml
    
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/doc.xml
    
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/src.xml

Modified: 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/pom.xml?rev=581535&r1=581534&r2=581535&view=diff
==============================================================================
--- 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/pom.xml 
(original)
+++ 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/pom.xml 
Wed Oct  3 02:07:52 2007
@@ -54,8 +54,27 @@
                                    <goals>
                                            <goal>run</goal>
                                    </goals>
-                           </execution>
-                   </executions>
+                 </execution>
+                 <execution>
+                         <id>change-version-label</id>
+                         <phase>process-resources</phase>
+                         <configuration>
+                                 <tasks>
+                                         <filter token="VERSION" value="1.3"/>
+                                         <copy toDir="../../target" 
filtering="on" overwrite="true">
+                                                 <fileset dir="../..">
+                                                         <include 
name="README.txt"/>
+                                                         <include 
name="LICENSE.txt"/>
+                                                         <include 
name="release-notes.html"/>
+                                                 </fileset>
+                                         </copy>                               
          
+                                 </tasks>
+                         </configuration>
+                         <goals>
+                                 <goal>run</goal>
+                         </goals>
+                 </execution>            
+           </executions>
         </plugin>
         <plugin>
             <groupId>org.apache.maven.plugins</groupId>

Modified: 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/bin.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/bin.xml?rev=581535&r1=581534&r2=581535&view=diff
==============================================================================
--- 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/bin.xml
 (original)
+++ 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/bin.xml
 Wed Oct  3 02:07:52 2007
@@ -10,7 +10,7 @@
 
     <fileSets>
         <fileSet>
-            <directory>../..</directory>
+            <directory>../../target</directory>
             <outputDirectory>sandesha2-${version}-bin</outputDirectory>
             <includes>
                 <include>LICENSE.txt</include>

Modified: 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/doc.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/doc.xml?rev=581535&r1=581534&r2=581535&view=diff
==============================================================================
--- 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/doc.xml
 (original)
+++ 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/doc.xml
 Wed Oct  3 02:07:52 2007
@@ -22,7 +22,7 @@
             </excludes>
         </fileSet>
         <fileSet>
-            <directory>../..</directory>
+            <directory>../../target</directory>
             <outputDirectory></outputDirectory>
             <includes>
                 <include>LICENSE.txt</include>

Modified: 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/src.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/src.xml?rev=581535&r1=581534&r2=581535&view=diff
==============================================================================
--- 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/src.xml
 (original)
+++ 
webservices/sandesha/branches/sandesha2/java/1_3/modules/distribution/src/main/assembly/src.xml
 Wed Oct  3 02:07:52 2007
@@ -21,10 +21,7 @@
                <!--root level files-->
                 <include>maven.xml</include>
                 <include>project.xml</include>
-                <include>LICENSE.txt</include>
                 <include>project.properties</include>
-                <include>README.txt</include>
-                <include>release-notes.html</include>
             </includes>
             <excludes>
                 <exclude>**/target</exclude>
@@ -38,6 +35,15 @@
                 <exclude>**/.settings</exclude>
                 <exclude>**/.settings/**/*</exclude>
             </excludes>
+        </fileSet>
+        <fileSet>
+            <directory>../../target</directory>
+            <outputDirectory>sandesha2-${version}-src</outputDirectory>
+            <includes>
+                <include>LICENSE.txt</include>
+                <include>README.txt</include>
+                <include>release-notes.html</include>
+            </includes>
         </fileSet>
     </fileSets>
 </assembly>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to