Skip to content
Browse files

Use Maven 2 style variable substitution for readme and release notes …

…files.

git-svn-id: https://svn.apache.org/repos/asf/axis/axis2/java/sandesha/trunk@1049715 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 70361d9 commit fc870e5c2a2bfadefcc3224ad3b19089c0352512 @veithen veithen committed Dec 15, 2010
View
10 README.txt
@@ -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 http://ws.apache.org/axis2 for more
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
-sandesha2-@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-policy-@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-client-@VERSION@.jar to your classpath. Otherwise you will have to add
-the sandesha2-@VERSION@.jar file to the classpath. Add the sandesha2-policy-@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
View
7 modules/distribution/src/main/assembly/bin.xml
@@ -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>
View
7 modules/distribution/src/main/assembly/doc.xml
@@ -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>
View
11 modules/distribution/src/main/assembly/src.xml
@@ -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>
View
2 release-notes.html
@@ -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>

0 comments on commit fc870e5

Please sign in to comment.
Something went wrong with that request. Please try again.