Author: veithen Date: Wed Dec 15 21:27:21 2010 New Revision: 1049715 URL: http://svn.apache.org/viewvc?rev=1049715&view=rev Log: Use Maven 2 style variable substitution for readme and release notes files.
Modified: axis/axis2/java/sandesha/trunk/README.txt axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/bin.xml axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/doc.xml axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/src.xml axis/axis2/java/sandesha/trunk/release-notes.html Modified: axis/axis2/java/sandesha/trunk/README.txt URL: http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/README.txt?rev=1049715&r1=1049714&r2=1049715&view=diff ============================================================================== --- axis/axis2/java/sandesha/trunk/README.txt (original) +++ axis/axis2/java/sandesha/trunk/README.txt Wed Dec 15 21:27:21 2010 @@ -1,5 +1,5 @@ ========================================================================== -Apache Sandesha2 @VERSION@ build +Apache Sandesha2 ${project.version} build http://ws.apache.org/sandesha/sandesha2 --------------------------------------------------------------------------- @@ -17,10 +17,10 @@ Download and install Apache Axis2. (see details). Add a user phase named RMPhase to the all four flows of the axis2.xml. Get the binary distribution of Sandesha2 and extract it. You will find the -sandesh...@version@.mar file inside that. This is the current Sandesha2 module +sandesha2-${project.version}.mar file inside that. This is the current Sandesha2 module file. Put Sandesha2 module file to <Axis2_webapp>/WEB-INF/modules directory. -Put sandesha2-poli...@version@.jar file that comes with the distribution to the <Axis2_webapp>/WEB-INF/lib directory. +Put sandesha2-policy-${project.version}.jar file that comes with the distribution to the <Axis2_webapp>/WEB-INF/lib directory. Using Sandesha2 in the server side =================================== @@ -38,8 +38,8 @@ Using Sandeshsa2 in the client side Engage sandesha2 and addressing modules to the ServiceClient object before doing any invocation. If you are not using any advance features add the -sandesha2-clie...@version@.jar to your classpath. Otherwise you will have to add -the sandesh...@version@.jar file to the classpath. Add the sandesha2-poli...@version@.jar +sandesha2-client-${project.version}.jar to your classpath. Otherwise you will have to add +the sandesha2-${project.version}.jar file to the classpath. Add the sandesha2-policy-${project.version}.jar to your classpath. Please see Sandesha2 user guide for more details and sample code on using Modified: axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/bin.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/bin.xml?rev=1049715&r1=1049714&r2=1049715&view=diff ============================================================================== --- axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/bin.xml (original) +++ axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/bin.xml Wed Dec 15 21:27:21 2010 @@ -30,9 +30,16 @@ <outputDirectory>sandesha2-${version}-bin</outputDirectory> <includes> <include>LICENSE.txt</include> + </includes> + </fileSet> + <fileSet> + <directory>../..</directory> + <outputDirectory>sandesha2-${version}-bin</outputDirectory> + <includes> <include>release-notes.html</include> <include>README.txt</include> </includes> + <filtered>true</filtered> </fileSet> <fileSet> Modified: axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/doc.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/doc.xml?rev=1049715&r1=1049714&r2=1049715&view=diff ============================================================================== --- axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/doc.xml (original) +++ axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/doc.xml Wed Dec 15 21:27:21 2010 @@ -44,9 +44,16 @@ <outputDirectory></outputDirectory> <includes> <include>LICENSE.txt</include> + </includes> + </fileSet> + <fileSet> + <directory>../..</directory> + <outputDirectory></outputDirectory> + <includes> <include>README.txt</include> <include>release-notes.html</include> </includes> + <filtered>true</filtered> </fileSet> </fileSets> <files> Modified: axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/src.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/src.xml?rev=1049715&r1=1049714&r2=1049715&view=diff ============================================================================== --- axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/src.xml (original) +++ axis/axis2/java/sandesha/trunk/modules/distribution/src/main/assembly/src.xml Wed Dec 15 21:27:21 2010 @@ -39,8 +39,6 @@ <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> @@ -55,5 +53,14 @@ <exclude>**/.settings/**/*</exclude> </excludes> </fileSet> + <fileSet> + <directory>../..</directory> + <outputDirectory>sandesha2-${version}-src</outputDirectory> + <includes> + <include>README.txt</include> + <include>release-notes.html</include> + </includes> + <filtered>true</filtered> + </fileSet> </fileSets> </assembly> Modified: axis/axis2/java/sandesha/trunk/release-notes.html URL: http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/release-notes.html?rev=1049715&r1=1049714&r2=1049715&view=diff ============================================================================== --- axis/axis2/java/sandesha/trunk/release-notes.html (original) +++ axis/axis2/java/sandesha/trunk/release-notes.html Wed Dec 15 21:27:21 2010 @@ -30,7 +30,7 @@ <body> <h1>Apache Sandesha2 Release Notes</h1> -<p>This is the @VERSION@ release of Apache Sandesha2.</p> +<p>This is the ${project.version} release of Apache Sandesha2.</p> <h2>What is in this release</h2>