perfsonar-dev - Ant - running external applications
Subject: perfsonar development work
List archive
- From: Maciej Glowiak <>
- To: Loukik Kudarimoti <>, Guilherme Fernandes <>, Roman Lapacz <>
- Cc: Perfsonar Development List <>, Verena Venus <>, Luís Marta <>
- Subject: Ant - running external applications
- Date: Thu, 19 Oct 2006 11:56:01 +0200
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA CXBIWXMAAEU1AABFNQF8gVf5AAAAB3RJTUUH1QYQDjo6uEWvwgAAAM5JREFUGNNN0LFqAkEUheGj KRZsfATrvENgYyH4APabxwgWGUUQC99BsNDCInUq7VImbbDZ0kayxBXMuN7jvTuKVh//mZlmQKZ1 EhQ8GAVgZECspEBdWQHRjR70KlgFKkoUaCw3ijSYQ4n5HfBK4a4jDcdDQPol/80Sr9BxZOOL4Fmr Jq8VBx7eopaSPvWGOm67fqol3j1q0XNs7Nk2cs6MU6gPNzf+ZGKQX4Ek8H6rAnFZnXB2vJxJcv8g C2P+WzL4tD+Txc4KydrIkh+eAdo01QbjQ84vAAAAAElFTkSuQmCC
- Organization: Poznan Supercomputing and Networking Center
Hi,
According to the today's call, I found some information about running any application by ant.
We've been already using it.
There is <exec> task for ant. For example running "pwd" command in current directory and storing result to "base_path" ant variable/property will look like:
------------------------------------------------
<exec executable="pwd"
dir="."
outputproperty="base_path" />
------------------------------------------------
So, I suppose the perl invocation will be like this:
------------------------------------------------
<exec executable="perl"
dir="./perl-scripts"
outputproperty="preinstall-result">
<arg value="preinstall-bwctl.pl"/>
</exec>
------------------------------------------------
Of course it needs some investigation, but everything is here:
http://ant.apache.org/manual/CoreTasks/exec.html
Best regards
Maciej
--
--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|
Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 http://monstera.man.poznan.pl/ ||
====================================================================
- Ant - running external applications, Maciej Glowiak, 10/19/2006
Archive powered by MHonArc 2.6.16.