ECTED]
Sent: Thursday, April 14, 2005 3:55 PM
To: user@ant.apache.org
Subject: RE: port information
Try to execute netstat -an command inside ant.
-Original Message-
From: Radha Sangal [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 3:36 PM
To: Ant Users List
Subject: port inform
Hello All,
I donno if this is even possible with ant, but I need to write a
script/figure out a way to find out what applications are running on
which port on windows machine.
Any advice would help.
Thanks.
Check your settings again.
c> echo %ANT_HOME%
c> echo %CLASSPATH%
c> echo %PATH%
all these should point to the dir where you want them to be.
Its not finding ant/bin dir ... u will get through it, don't worry :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: W
Is there any task in ant to simulate this simple code of java , reading
one file and extracting content to write into another... in integrate
this small java code , I will have to do lot of work.. was wondering if
its possible through ant itself
BufferedReader in = new BufferedReader(new
FileR
Please help me figure this out, its quite simple. I am executing
cabarc.exe to extract cab files in a dir. No error is displayed but I
don't get my files
Ant script :
Ou
Is there any way in Ant, to compare filenames? I am dealing with jar
files and after 2 levels of hierarchy , I need to scan all file names
and come out with similar pattern with the latest timestamp(included in
filename).
Any advice would be appreciated.
Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 1:17 PM
To: Ant Users List
Subject: Re: regular expression
On Mar 4, 2005, at 10:12 AM, Radha Sangal wrote:
> It never found/matched that expression in the string. Can anyone
please
> share a piece of code, where a regu
It never found/matched that expression in the string. Can anyone please
share a piece of code, where a regular expression matches what it should
and gives back the string.
Thanks in advance.
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 12
Thanks All,
I am done with the regular expression, am into replacing text now.
Wonder why that is not working ..
Thanks for the expression..
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 12:02 PM
To: Ant Users List
Subject: Re: regular
l: 719-640-6488
> -Original Message-
> From: Mark Lundquist [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 04, 2005 9:46 AM
> To: Ant Users List
> Subject: Re: regular expression
>
>
> On Mar 4, 2005, at 8:38 AM, Radha Sangal wrote:
>
> > Could
Could someone help me build regular expression for a string like this
1,6,3,2.
I am getting error if I write it like this String patternStr =
"([0-9]+","+[0-9]+","+[0-9]+","+[0-9] + )";
Has anyone used the cab task before. Is there a counterpart of this task
, like un-cab or something? I tried unzip and unjar but they don't work
with cab files..
Is there any technique in Ant from which we can unzip the contents of
Cab Files. Its nothing but an executable zip folder which has the ocx
and INF file in it.
Would anyone know in this group, if its possible to grab ocx file
properties (for its version) from downloaded program file folder in ANT?
Any advice would be appreciated.
Thanks
Radha
Anybody has written script in ant to build an installshield project
(extension .uip) ?
Thanks in advance.
Hi,
I have built a custom task in java and a listener which reads the value
of its attribute.
I get the functionality as I want. Could print the task name , task
value in my listener.
I am getting the desired results (log file in db) but with the error
that build failed because of :
B
s source
Task or Type for its attributes or nested elements, even if it can be
done.
Anyways... --DD
> -Original Message-
> From: Radha Sangal [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 27, 2005 5:07 PM
> To: Ant Users List
> Subject: retrive value in listener
>
This might not be specific to ant, but if someone has implemented this ,
how do we retrieve a value from the custom task made in listener
Eg.
In xml :
In listener: something similar to this , this one doesn't work ...
public void messageLogged( BuildEvent event )
{
PM
To: Ant Users List
Subject: RE: problem with accesing listeners
> From: Radha Sangal [mailto:[EMAIL PROTECTED]
>
> This should be easy. I am trying to add my listener class
> MyBuildListener but ant doesn't seem to find it. I tried giving
complete
> paths but still getting s
This should be easy. I am trying to add my listener class
MyBuildListener but ant doesn't seem to find it. I tried giving complete
paths but still getting same error. This is like some classpath issue ?
I m following this tutorial
http://www.onjava.com/pub/a/onjava/2001/02/22/open_source.html?
time.getRuntime().exec(command);
-Original Message-
From: softgnostics k [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 22, 2005 1:17 PM
To: Radha Sangal
Subject: how to invoke ant via java
Hi,
Could you please explain me how to invoke ant build using
Runtime.exec () in java .
I used Runtime.exec () to invoke ant
-Original Message-
From: softgnostics k [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 3:01 PM
To: user@ant.apache.org
Subject: how to invoke ant via java
Hi all,
I am newbie to ant and have one query. My application has a new
menu.This
I had done similar work. Hope it gives you some idea.
I have a JSP Xml-Rpc Client which calls a method in a class on server.
It has Runtime.exec command to execute a bat file.
In my bat file I execute my ant script with all the parameters I want to
pass on to a particular target. (as from command
gs go immediately after "ant" and before
"-buildfile ..."?
Keith
-Original Message-
From: Radha Sangal [mailto:[EMAIL PROTECTED]
Sent: 11 January 2005 16:01
To: Ant Users List
Subject: RE: passing parameters to ant
Changed command line :
cmd /c ant -buildfile
D:\v04_E\Bui
; totally unnecessary if you pass in the parameters
correctly.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
"Radha Sangal" <[EMAIL PROTECTED]> wrote on 01/11/2005 10:3
Tried this ..
Got this ..
manualDiff:
[echo] Starting CVS Difference Report (($DevBuild1) to
($(DevBuild2
-Original Message-
From: Chaganthi, Madhusudan R. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 10:33 AM
To: Radha Sangal
Subject: RE: passing
.
Jan
> -Ursprüngliche Nachricht-
> Von: Radha Sangal [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 11. Januar 2005 16:31
> An: Ant Users List
> Betreff: passing parameters to ant
>
> This might be a silly mistake, so I m asking for few more eyes to see
> it. Ple
This might be a silly mistake, so I m asking for few more eyes to see
it. Please help!
We have an xml-rpc client calling a method on the server which executes
the following bat file.
Command line from "automated_Builds_Diffs.bat"
cmd /c ant -buildfile
D:\v04_E\Build_Scripts\CvsDiffReports\
I know there is a cvs task in ant to checkout project. Is there any task
to update a cvs project? I mean to include checkout-update-checkin
process all in one ?
We have a big application which is not updated since long into cvs. To
checkout that is taking very long. I m doing it presently with
automatically deployable
artifacts to any of our development environments
(dev,staging,production).
-Original Message-
From: Radha Sangal [mailto:[EMAIL PROTECTED]
Sent: Wed 12/22/2004 10:35 AM
To: Ant Users List
Cc:
Subject:RE: ant UI
Process is explored around that area
nner class.
good luck!
Doug
Radha Sangal wrote:
>Thanks Douglas,
>
>That was quite some help. Deciding on the technology takes half of the
>time than to bring it to results. And every solution just gets stuck
>somewhere without giving the error message :).
>
>I changed the &qu
line)
Hope this helps
Doug
James Abley wrote:
>
>
>
>
>
>
>
>
>
>
>ant -DDevBuild1=firstOverride -DDevBuild2=secondOverride
>
>
>
>On Wed, 2004-12-22 at 15:22, Radha Sangal wrote:
>
>
>>Do u know how to pass multi
age-
From: Jacob, Anil - MWT [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 5:25 PM
To: Ant Users List
Subject: RE: ant UI
Where exactly are you updating the properties? Are you echoing it or
writing it into a file?
Anil
-Original Message-
From: Radha Sangal [mailto:[EM
Subject: RE: ant UI
Where exactly are you updating the properties? Are you echoing it or
writing it into a file?
Anil
-Original Message-
From: Radha Sangal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 2:20 PM
To: Ant Users List
Subject: RE: ant UI
-D option is not working
would look like this
When ant runs it picks up the value given on the commandline.
For a UI. You can actually write a small perl script or cgi script to
execute ant over a browser, off course you need a web server also. Works
great.
Anil
-Original Message-
From: Radha Sangal [mailto:[EM
given on the commandline.
For a UI. You can actually write a small perl script or cgi script to
execute ant over a browser, off course you need a web server also. Works
great.
Anil
-Original Message-
From: Radha Sangal [mailto:[EMAIL PROTECTED]
Sent: Monday, December 20, 2004 11:48 AM
T
Look at the bottom of the second link-ed page. I need to finally create
such UI where we enter filename in a text box and get results.
Meanwhile, what I am looking for is a way to build UI to connect to ant
script for providing inputs to its properties. To make it clear:
I have
One problem I solved of class path in eclipse was to set it in
Project-->Properties->java Build-->libraries...
It might help!
-Original Message-
From: Rajiv Jaitly [mailto:[EMAIL PROTECTED]
Sent: Monday, December 20, 2004 10:17 AM
To: [EMAIL PROTECTED]
Subject: classpath
+
Does anyone has a sample code to open a jar file and replace a string
within an xml in that jar? I need it real quick so if anyone could share
some code...
Thanks in advance
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Does Ant come with any user interface from where we can pass parameters
and see results on web explorer?
Hi,
I am sure this is a simple task, but I want to save time in reading
tutorials. I need to pass parameters to xml file on a diff machine.
How should I execute the build file ?
Thanks in advance.
Hi,
Has anybody used Maven to build large project infrastructure.
We are having Ant scripts in place to do so. Concerned if it can be
carried over to Maven for automation.
anch, they will bring
down
the changes and compile the changes. As far as a version control search
engine, these tools are not set up to do this type of work. I am not
sure
what tools you would need to do this, possible
http://www.tortoisecvs.org/
Cheers,
Mike Barnes
-Original Message-----
Fro
Can Cruisecontrol list down the differences between two tags/versions in
cvs itself ? also can it search for a filename in cvs?
If somebody is using cruisecontrol, pls help
-Original Message-
From: Barnes, Michael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 8:21 AM
To:
I know this might not be possible in ANT but may be someone had tried
this, pls let me know.
I need to search for a file name in cvs, is there any ANT command to do
so.
Any suggestions appreciated!
t; Try
> command="ls" />
It caused a java.lang.NullPointerException.
What's the logic behind prefixing the IP w/ "\\"?
BTW, the rexec server is Linux, the client is WinXP.
Regards,
Nick G.
"Radha Sangal" <[EMAIL PROTECTED]>
12/08/2004 04:
Try
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 4:44 PM
To: [EMAIL PROTECTED]
Subject: RExec hangs
Has anyone had any success w/ the rexec task? I can use sshexec w/out
any
problems. But when I try rexec, the process halts a
Thanks, I would try that ... I have to write a report after that saying
these java file names were found/not found in html file.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 10:13 AM
To: [EMAIL PROTECTED]
Subject: AW: find/replace
Is there any way in using Ant that we can extract/find/match "strings"
in html/excel file with a list of strings (java file names).
I have a big html file and a big excel file. I alwaz need to dig eyes
into the excel column first to copy the java file name and then search
it in the html file.
and see if it is useful
for you.
--- Radha Sangal <[EMAIL PROTECTED]> wrote:
> Look at this .. when I set the classpath to
> point to my jar , I end up messing with the ant
> -version !!!
>
>
> C:\DiffReport_Scripts>ant -version
> Apache Ant vers
s classpath.
Jan
> -Ursprüngliche Nachricht-
> Von: Radha Sangal [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 30. November 2004 17:06
> An: Ant Users List
> Betreff: RE: taskdef
>
> My lib dir was on the same level as the dir which contained
> the ant script
a minimum since you are
specifying your own classpath to taskdef. So it's probably not your own
class that taskdef can't find, but some dependency that it cannot find
(perhaps the ant Task class).
> -Original Message-----
> From: Radha Sangal [mailto:[EMAIL PROTECTED]
> Sent:
t; Von: Radha Sangal [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 30. November 2004 16:19
> An: Ant Users List
> Betreff: RE: taskdef
>
> Thanks, but it did not work , I did the following for the
> class in lib directory...
>
> classname="com.util
info to Ant where the lib is:
Jan
> -Ursprüngliche Nachricht-
> Von: Radha Sangal [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 30. November 2004 16:03
> An: Ant Users List
> Betreff: taskdef
>
> Hi,
>
> I am a new bee in Ant. I am using task
Hi,
I am a new bee in Ant. I am using taskdef as follows
I have a lib dir with the same dir structure but still when I build it,
the class is not visible , is there any classpath/path setting for this
task ?
Thanks in advance
Hi,
Does any one have a document how to use "rant"?
I am trying to run an ant script remotely. I am getting an error while
running the "rexec" command . does it require anything more than a usual
procedure for it is included in the optional tasks list.
Thanks
-Original Message-
From: Va
56 matches
Mail list logo