Skip to Content.
Sympa Menu

perfsonar-dev - r1837 - branches/JAVA-RRD-MA-STABLE/ant/rrdma

Subject: perfsonar development work

List archive

r1837 - branches/JAVA-RRD-MA-STABLE/ant/rrdma


Chronological Thread 
  • From:
  • To:
  • Subject: r1837 - branches/JAVA-RRD-MA-STABLE/ant/rrdma
  • Date: Mon, 18 Dec 2006 07:09:24 -0500

Author: roman
Date: 2006-12-18 07:09:22 -0500 (Mon, 18 Dec 2006)
New Revision: 1837

Modified:
branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdjtool-compile-targets.xml
branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdma-pre-install-targets.xml
branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdma-test-run-targets.xml
Log:
building rrdjtool library improved; new test (echo request) in test target

Modified: branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdjtool-compile-targets.xml
===================================================================
--- branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdjtool-compile-targets.xml
2006-12-18 11:58:51 UTC (rev 1836)
+++ branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdjtool-compile-targets.xml
2006-12-18 12:09:22 UTC (rev 1837)
@@ -35,8 +35,6 @@
<target name="init-rrdjtool" depends="init">

<property file="ant/const.properties" />
- <property name="rrd_h_path" value="${rrdtool_path}/include" />
- <property name="rrd_lib_path" value="${rrdtool_path}/lib" />

</target>


Modified: branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdma-pre-install-targets.xml
===================================================================
--- branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdma-pre-install-targets.xml
2006-12-18 11:58:51 UTC (rev 1836)
+++ branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdma-pre-install-targets.xml
2006-12-18 12:09:22 UTC (rev 1837)
@@ -33,15 +33,20 @@

<target name="get-rrdjtool-home">

- <input message="Enter the home directory where the rrdtool is
installed (I need the home directory and not the directory where the
executable binary is present) [/usr/local/rrdtool]: "
- addproperty="_rrdtool_path"
- defaultvalue="/usr/local/rrdtool" />
+ <input message="Enter the directory path where header file of the
rrdtool (rrd.h) can be found [/usr/local/rrdtool/include]: "
+ addproperty="_rrd_h_path"
+ defaultvalue="/usr/local/rrdtool/include" />

+ <input message="Enter the directory path where library files of the
rrdtool (librrd*) can be found [/usr/local/rrdtool/lib]: "
+ addproperty="_rrd_lib_path"
+ defaultvalue="/usr/local/rrdtool/lib" />
+
<propertyfile file="ant/const.properties"
comment="This file was created by the Ant configuration script.">

- <entry key="rrdjdir" value="${basedir}/contrib/rrdjtool"/>
- <entry key="rrdtool_path" value="${_rrdtool_path}"/>
+ <entry key="rrdjdir" value="${basedir}/contrib/rrdjtool"/>
+ <entry key="rrd_h_path" value="${_rrd_h_path}"/>
+ <entry key="rrd_lib_path" value="${_rrd_lib_path}"/>

</propertyfile>

@@ -61,7 +66,7 @@
</target>


- <target name="rrdjtool-question">
+ <target name="rrdjtool-platform-question">

<input message="Which OS platform do you use: "
addproperty="_os.platform"
@@ -72,7 +77,7 @@


<target name="rrdjtool-call"
- depends="rrdjtool-question">
+ depends="rrdjtool-platform-question">

<condition property="linux.os.platform">
<equals arg1="linux" arg2="${_os.platform}"/>
@@ -163,12 +168,35 @@
</target>


+ <target name="rrdjtool-build-question">
+
+ <input message="Do you want me to compile rrdjtool library for you
(if not you will have to do it manually in ${basedir}/contrib/rrdjtool after
pre-install step)? "
+ addproperty="_rrdjtool.build.decision"
+ validargs="y,n"
+ defaultvalue="n" />
+
+ <condition property="rrdjtool.build.decision">
+ <equals arg1="y" arg2="${_rrdjtool.build.decision}"/>
+ </condition>
+
+ </target>
+
+
+ <target name="_rrdjtool"
+ depends="rrdjtool-call-for-linux,
+ rrdjtool-call-for-linux64,
+ rrdjtool-call-for-freebsd,
+ rrdjtool-call-for-solaris,
+ rrdjtool-call-for-other">
+ </target>
+
+
<target name="rrdjtool"
- depends="rrdjtool-call-for-linux,
- rrdjtool-call-for-linux64,
- rrdjtool-call-for-freebsd,
- rrdjtool-call-for-solaris,
- rrdjtool-call-for-other">
+ depends="rrdjtool-build-question"
+ if="rrdjtool.build.decision">
+
+ <antcall target="_rrdjtool"/>
+
</target>


@@ -566,7 +594,6 @@
<antcall target="get-server-address"/>
<antcall target="get-server-port"/>

- <echo>${line.separator}Building the rrdjtool library...</echo>
<antcall target="rrdjtool"/>

<echo></echo>

Modified: branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdma-test-run-targets.xml
===================================================================
--- branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdma-test-run-targets.xml
2006-12-18 11:58:51 UTC (rev 1836)
+++ branches/JAVA-RRD-MA-STABLE/ant/rrdma/rrdma-test-run-targets.xml
2006-12-18 12:09:22 UTC (rev 1837)
@@ -19,6 +19,8 @@

<target name="test">

+ <antcall target="run-echo"/>
+
<antcall target="run-rrdma-client-1"/>
<antcall target="run-rrdma-client-2"/>
<antcall target="run-rrdma-client-3"/>



  • r1837 - branches/JAVA-RRD-MA-STABLE/ant/rrdma, svnlog, 12/18/2006

Archive powered by MHonArc 2.6.16.

Top of Page