You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by aj...@apache.org on 2006/03/27 14:21:09 UTC
svn commit: r389117 - in /webservices/commons/trunk/modules/tcpmon:
README.txt RELEASE-NOTE.txt maven.xml scripts/tcpmon.bat scripts/tcpmon.sh
Author: ajith
Date: Mon Mar 27 04:21:03 2006
New Revision: 389117
URL: http://svn.apache.org/viewcvs?rev=389117&view=rev
Log:
1. Added filtering. Now the scripts and the readmes will have a dynamically replaced version number
Modified:
webservices/commons/trunk/modules/tcpmon/README.txt
webservices/commons/trunk/modules/tcpmon/RELEASE-NOTE.txt
webservices/commons/trunk/modules/tcpmon/maven.xml
webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.bat
webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.sh
Modified: webservices/commons/trunk/modules/tcpmon/README.txt
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/tcpmon/README.txt?rev=389117&r1=389116&r2=389117&view=diff
==============================================================================
--- webservices/commons/trunk/modules/tcpmon/README.txt (original)
+++ webservices/commons/trunk/modules/tcpmon/README.txt Mon Mar 27 04:21:03 2006
@@ -1,5 +1,5 @@
======================================================
-Apache TCPMon 1.00 build (March 27th, 2006)
+Apache TCPMon @tcpmon_version@ build
http://ws.apache.org/commons/tcpmon/
------------------------------------------------------
Modified: webservices/commons/trunk/modules/tcpmon/RELEASE-NOTE.txt
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/tcpmon/RELEASE-NOTE.txt?rev=389117&r1=389116&r2=389117&view=diff
==============================================================================
--- webservices/commons/trunk/modules/tcpmon/RELEASE-NOTE.txt (original)
+++ webservices/commons/trunk/modules/tcpmon/RELEASE-NOTE.txt Mon Mar 27 04:21:03 2006
@@ -1,8 +1,8 @@
====================================
- TCPMon 1.00 Release Note
+ TCPMon @tcpmon_version@ Release Note
====================================
-This is TCPMon 1.00 release of the Apache WS-Commons.
+This is TCPMon @tcpmon_version@ release of the Apache WS-Commons.
TCPMon is a tool that can be used to monitor messages of TCP based protocols. It is based on swing andruns on almost all the platforms that Java supports.TCPMon has been hammered a lot and is fairly stable. Even then if you like to contribute to TCPMon any contribution in the form of coding, testing, submitting improvements to the documentation, and reporting bugs are always welcome.
Modified: webservices/commons/trunk/modules/tcpmon/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/tcpmon/maven.xml?rev=389117&r1=389116&r2=389117&view=diff
==============================================================================
--- webservices/commons/trunk/modules/tcpmon/maven.xml (original)
+++ webservices/commons/trunk/modules/tcpmon/maven.xml Mon Mar 27 04:21:03 2006
@@ -5,6 +5,9 @@
<j:set var="site.javadoc.dir" value="target/docs/apidocs"/>
<!-- create javadocs as a post goal to the site and copy them to the
target/docs folder -->
+ <goal name="init-dist">
+ <ant:filter token="tcpmon_version" value="${tcpmon.version}"/>
+ </goal>
<!-- goal to make the javadocs -->
<goal name="javadocs">
<ant:echo>+----------------------------------------------</ant:echo>
@@ -25,7 +28,7 @@
</ant:copy>
</postGoal>
<!-- create the binary distribution -->
- <goal name="dist-bin" prereqs="jar,javadocs">
+ <goal name="dist-bin" prereqs="jar,javadocs,init-dist">
<ant:echo>+----------------------------------------------</ant:echo>
<ant:echo>| Creating: TCPMon Binary Distribution</ant:echo>
<ant:echo>+----------------------------------------------</ant:echo>
@@ -44,19 +47,19 @@
<ant:fileset file="target/tcpmon-${tcpmon.version}.jar"/>
</ant:copy>
<!-- add scripts-->
- <ant:copy toDir="${dist}/build">
+ <ant:copy toDir="${dist}/build" filtering="true">
<ant:fileset dir="scripts">
<ant:exclude name="**/.svn/**"/>
</ant:fileset>
</ant:copy>
<!--add other documents in Xdocs-->
- <ant:copy toDir="${dist}/docs">
+ <ant:copy toDir="${dist}/docs" filtering="true">
<ant:fileset dir="xdocs">
<ant:exclude name="**/.svn/**"/>
</ant:fileset>
</ant:copy>
<!--copy release notes, etc-->
- <ant:copy toDir="${dist}">
+ <ant:copy toDir="${dist}" filtering="true">
<ant:fileset file="RELEASE-NOTE.txt"/>
<ant:fileset file="README.txt"/>
<ant:fileset file="LICENSE.txt"/>
@@ -68,12 +71,12 @@
<ant:delete dir="${dist}"/>
</goal>
<!-- code to create the source distribution -->
- <goal name="dist-src">
+ <goal name="dist-src" prereqs="init-dist">
<ant:echo>+----------------------------------------------</ant:echo>
<ant:echo>| Creating: TCPMon Source Distribution</ant:echo>
<ant:echo>+----------------------------------------------</ant:echo>
<ant:property name="dist" value="target/dist/temp"/>
- <ant:copy toDir="${dist}">
+ <ant:copy toDir="${dist}" filtering="true">
<ant:fileset dir=".">
<ant:exclude name="**/.svn/**"/>
<ant:include name="**/src/**"/>
@@ -81,7 +84,7 @@
</ant:fileset>
</ant:copy>
<!-- Copy the master maven files src distro -->
- <ant:copy toDir="${dist}">
+ <ant:copy toDir="${dist}" filtering="true">
<ant:fileset file="maven.xml"/>
<ant:fileset file="project.xml"/>
<ant:fileset file="project.properties"/>
Modified: webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.bat
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.bat?rev=389117&r1=389116&r2=389117&view=diff
==============================================================================
--- webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.bat (original)
+++ webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.bat Mon Mar 27 04:21:03 2006
@@ -1,2 +1,2 @@
rem Run the java exe with tcpmon jar
-java -cp ./tcpmon-1.00.jar org.apache.ws.commons.tcpmon.TCPMon
+java -cp ./tcpmon-@tcpmon_version@.jar org.apache.ws.commons.tcpmon.TCPMon %*
Modified: webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.sh
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.sh?rev=389117&r1=389116&r2=389117&view=diff
==============================================================================
--- webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.sh (original)
+++ webservices/commons/trunk/modules/tcpmon/scripts/tcpmon.sh Mon Mar 27 04:21:03 2006
@@ -1 +1 @@
-java -cp ./tcpmon-SNAPSHOT.jar org.apache.ws.commons.tcpmon.TCPMon $*
+java -cp ./tcpmon-@tcpmon_version@.jar org.apache.ws.commons.tcpmon.TCPMon $*