RE: File list from remote server

2010-07-08 Thread Dick, Brian E.
100 Salem Street Smithfield, RI 02917 401.292.6875 brian.d...@fmr.com > _ > From: Dick, Brian E. > Sent: Thursday, July 01, 2010 12:19 AM > To: Ant Users List > Subject: File list from remote server > > Hi, >

File list from remote server

2010-06-30 Thread Dick, Brian E.
Hi, The ftp protocol is no longer allowed in our computing environment, because ftp uses clear text usernames/passwords. So, I have to rewrite our ant scripts to use the scp task rather than the ftp task. However, there are two attributes of the ftp task that I cannot seem to replicate with scp. F

RE: How do I filter a file of files

2007-11-02 Thread Dick, Brian E.
Steve Loughran wrote: > we always welcome improvements to the existing tasks; scp could do with > directory creation, listing and dependency checking. > > historically, the troublespot with scp has always been testing, but now > that vmware is free for windows+unix, the cost of getting an scp se

RE: How do I filter a file of files

2007-11-01 Thread Dick, Brian E.
nual/OptionalTasks/scp.html>. You will need jsch.jar 0.1.29 or later for to work. On 10/31/07, Dick, Brian E. <[EMAIL PROTECTED]> wrote: > Let me state my problem, rather than my idea of a solution. Maybe that > will pique your interest. > > I have a macrodef in my current build th

RE: How do I filter a file of files

2007-10-31 Thread Dick, Brian E.
n Ant? -Original Message- From: Dick, Brian E. Sent: Thursday, October 25, 2007 4:12 PM To: Ant Users List Subject: How do I filter a file of files I have a file of files that I need to load into a property and filter according to expressions similar to the "include" and "exclude"

How do I filter a file of files

2007-10-25 Thread Dick, Brian E.
I have a file of files that I need to load into a property and filter according to expressions similar to the "include" and "exclude" elements of a patternset. For example, assume I have a file, fof.dat, containing the following. /export/home/myaccount/myapp/bin/pgm1 /export/home/myaccount/myapp/

FileSet FilterReader

2007-03-07 Thread Dick, Brian E.
I have a file of files that I want filter as I copy. I want the filterreader to look and work similar to a fileset. Here is an example of what I would like to do. I thought I might be able to write a scriptfilter to test the concept, but I can't find an Ant class that will test a filename for membe

RE: SFTP task

2007-02-27 Thread Dick, Brian E.
Thanks for the clarification. -Original Message- From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 6:39 PM To: Ant Users List Subject: RE: SFTP task > -Original Message- > From: Dick, Brian E. [mailto:[EMAIL PROTECTED]

SFTP task

2007-02-27 Thread Dick, Brian E.
I have the FTP task all over my build files, and now I need to use SFTP. I don't see an SFTP task. I only see sftp as a parameter for the SCP task, but SCP has a completely different syntax from FTP and would require a lot of re-coding. What's the easiest way to get from FTP to SFTP? Later, BEDic

RE: Problem with script task and properties

2006-05-19 Thread Dick, Brian E.
e:/C:/apache-ant-1.6.2/lib/ant-contrib.jar!/net/sf/antcontrib/ >> antlib.xml >> with URI = >> jar:file:/C:/apache-ant-1.6.2/lib/ant-contrib.jar!/net/sf/antcontrib/ >> antlib.xml >> Build sequence for target `test' is [test] >> Complete build sequence i

RE: Problem with script task and properties

2006-05-18 Thread Dick, Brian E.
#x27;s what it takes, so be it. Thanks for your help. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 10:25 AM To: Ant Users List Subject: Re: Problem with script task and properties Dick, Brian E. wrote: > This is a simplified script

RE: Problem with script task and properties

2006-05-18 Thread Dick, Brian E.
NS ip address change on twenty remote hosts (window and unix). Solution: -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 8:57 AM To: Ant Users List Subject: Re: Problem with script task and properties Dick, Br

Problem with script task and properties

2006-05-18 Thread Dick, Brian E.
I need to pass values from a script into a target, but the immutability of properties is getting in the way. I can't use the antcall task in my script, because I eventually need to return a value from the target to the script too. Here's a simplified test script.

RE: Parallel vs Sequential

2006-04-06 Thread Dick, Brian E.
I have used to speed up a bunch of database server operations. The work was really being done remotely and the client was just waiting for status. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 9:37 AM To: Ant Users List Subject: Re:

RE: Parallel vs Sequential

2006-04-05 Thread Dick, Brian E.
Does you machine have multiple CPU's and disks? Parallel tasks on a single CPU/disk machine can only improve performance if there is significant CPU/IO overlap. A compiler is CPU and disk intensive with little CPU/IO overlap. If you don't have parallel hardware, parallel software won't improve perf

RE: AW: ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.

2006-04-03 Thread Dick, Brian E.
Use the following command to determine which ant.bat you are executing. for /f %i in ("ant.bat") do echo %~$PATH:i -Original Message- From: Joe Moore [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 8:24 AM To: Ant Users List Subject: Re: AW: ANT_HOME is set incorrectly or ant coul

RE: Antwort: Re: Displaying the value in a Java class?

2006-02-10 Thread Dick, Brian E.
You could also use the script task to load the class and print the value. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 11:11 AM To: Ant Users List Subject: Antwort: Re: Displaying the value in a Java class? Hello, i think, what yo

RE: Problems with exec task

2006-01-31 Thread Dick, Brian E.
I use WSH mainly for WMI scripting. It's the best way to get info from remote Windows machines. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 12:17 PM To: Ant Users List Subject: Re: Problems with exec task Dick, Brian E.

RE: Problems with exec task

2006-01-31 Thread Dick, Brian E.
-- hello there.vbs strArg = "" strDelim = "" for each objItem in WScript.Arguments strArg = strArg & strDelim & objItem strDelim = " " next WScript.echo "hello there, " & strArg -- cscript.xml -- example run C:\temp\ant -f cscri

RE: echo with html

2006-01-31 Thread Dick, Brian E.
The concat task can do that now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 1:49 AM To: user@ant.apache.org Subject: AW: echo with html >> Does anybody have a task that will let you echo to a file while >> including html in the

RE: Problems with exec task

2006-01-30 Thread Dick, Brian E.
The exec task is always problematic because you are leaving the ant/java world and entering into an alien space. Not only are there variations between OSes, but individual commands on the same OS behave differently. No matter how many times I use it, I end up having to try different combinations of

RE: Problems with exec task

2006-01-30 Thread Dick, Brian E.
Actually, wscript.exe is usually associated with Windows scripting languages. I suggested cscript.exe because it is more appropriate for console usage. Wscript.exe displays debug and echo messages in dialog boxes. Cscript.exe displays messages as text. BTW, this is a Windows thing and doesn't have

RE: Problems with exec task

2006-01-30 Thread Dick, Brian E.
You could also try cscript.exe. That's the actual command processor for vbs and other Windows scripting languages. -Original Message- From: Clifton Craig [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 8:52 AM To: Ant Users List Subject: Re: Problems with exec task Rhino, Here

RE: Auto task need to take backup before deployemnt

2006-01-17 Thread Dick, Brian E.
For Windows I use rcmd.exe to remotely run Winzip. For Unix I use shexec to remotely run zip. -Original Message- From: Karthik [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 6:27 AM To: user@ant.apache.org Subject: Auto task need to take backup before deployemnt Hi form

RE: C preprocessor driven from ANT?

2005-12-13 Thread Dick, Brian E.
I once used gcc for this purpose. You can just run the pre-processor and save the output. I also have used m4. It's a bit more powerful than gcc and is language agnostic. I have since bagged both of those and use ant's filterchains. I use the ExpandProperties and ReplaceTokens filterchains instea

RE: ant not recognizing command line argument

2005-12-02 Thread Dick, Brian E.
No need for any utility. for /f %i in ("ant.bat") do @echo %~$path:i -Original Message- From: Bill Rich [mailto:[EMAIL PROTECTED] Sent: Thursday, December 01, 2005 7:24 PM To: 'Ant Users List' Subject: RE: ant not recognizing command line argument Attached is a little utility I have ha

Quiet shexec

2005-11-14 Thread Dick, Brian E.
I don't see it in the docs, but is there a way to have shexec do its thing quietly? I'm capturing configuration info from a bunch of remote machines, and I don't want to see the output spew to the console. Later, BEDick

RE: How to parse a directory path?

2005-11-07 Thread Dick, Brian E.
? -Original Message- From: Dan Finkelstein [mailto:[EMAIL PROTECTED] Sent: Sunday, November 06, 2005 2:06 AM To: user@ant.apache.org Subject: How to parse a directory path? Hi -- I have a number of directories on which I wish to run the same ant build file. I implemented something u

RE: Sshexec: Auth fail

2005-10-13 Thread Dick, Brian E.
package that implements the SSH tasks, and it has already been applied to Ant's HEAD. Thanks, Matt --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > The patch worked. Here's the URL to the patch. This > should be added to > the code base. > > http://marc.thea

RE: Sshexec: Auth fail

2005-10-11 Thread Dick, Brian E.
The patch worked. Here's the URL to the patch. This should be added to the code base. http://marc.theaimsgroup.com/?l=ant-dev&m=111959408515300&w=2 -Original Message----- From: Dick, Brian E. Sent: Tuesday, October 11, 2005 2:15 PM To: Ant Users List Subject: RE: Sshexec: A

RE: Sshexec: Auth fail

2005-10-11 Thread Dick, Brian E.
empting to connect via Ant. The error suggests you are using the wrong username or password. Perhaps the password expired? What happens on the command line in cygwin? -Rob A > -Original Message- > From: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 11, 2005 8:25

RE: Sshexec: Auth fail

2005-10-11 Thread Dick, Brian E.
Can I get some help for the problem below? -Original Message- From: Dick, Brian E. Sent: Friday, October 07, 2005 11:24 AM To: Ant Users List Subject: Sshexec: Auth fail Any hints on how to debug the sshexec task "auth fail"? It was working a couple of weeks ago, but it is n

Sshexec: Auth fail

2005-10-07 Thread Dick, Brian E.
Any hints on how to debug the sshexec task "auth fail"? It was working a couple of weeks ago, but it is now failing for some unknown reason. Of course, "nothing has changed" on my machine. I can connect using ssh from cygwin. Thanks Here's a short test project I'm using to debug. ---

RE: Executing DOS batch files

2005-09-28 Thread Dick, Brian E.
Run cmd.exe and pass the bat as an arg. -Original Message- From: Uri Zeituni [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 11:29 AM To: user@ant.apache.org Subject: Executing DOS batch files Hi All, Is there any ANT tasks for running DOS batch files, executing DOS comman

RE: Problem with Environment Variables on Win2000

2005-09-28 Thread Dick, Brian E.
It works on XP. --- rant.bat setlocal set foo=bar call ant echo on Endlocal --- build.xml env.foo is ${env.foo} --- output C:\Projects\My Tools>rant C:\Projects\My Tools>setlocal C:\Projects\My Tools>set foo=bar C:\Projects\My Tools>call ant Buildfile: build.xml [echo] env.fo

RE: problem with apply task

2005-09-26 Thread Dick, Brian E.
Sometimes the commandline arguments are a bit tricky. Try the following. -Original Message- From: Jakob Fix [mailto:[EMAIL PROTECTED] Sent: Monday, September 26, 2005 4:36 AM To: Ant Users List Subject: Re: problem with apply task Hello

RE: if then

2005-09-26 Thread Dick, Brian E.
Since ant properties are immutable, all you have to do is set BAR the value of FOO. mailto:[EMAIL PROTECTED] Sent: Monday, September 26, 2005 12:32 AM To: Ant Users List Subject: if then I want to do something quite simple, but with Ant it seems really difficult. I want to check a property BAR

RE: moving from windows to unix: found already some clues

2005-09-14 Thread Dick, Brian E.
Watch the lineseparator when copying text files between platforms. Some apps are sensitive to the lineseparator. -Original Message- From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 12:10 PM To: Ant Users List Subject: RE: moving from windows to unix: f

RE: [ANT 1.6.5] performance issue

2005-09-08 Thread Dick, Brian E.
Has this been reported in Bugzilla? -Original Message- From: BOUSQUET Jeremie [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 1:29 PM To: Ant Users List Subject: [ANT 1.6.5] performance issue Hello, I had some performance issues using task, and I found following post fr

RE: Multiple invocations

2005-08-31 Thread Dick, Brian E.
invocations Cool. Please vote for the bug also. Votes help commiters prioritize the bugs. -Rob A > -Original Message- > From: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 30, 2005 10:23 AM > To: Ant Users List > Subject: RE: Multiple invocations > > Than

RE: Multiple invocations

2005-08-30 Thread Dick, Brian E.
committed. If you are in need of this fix please go vote for the bug and add yourself to the CC: list. You can also download the patch attached to the bug and build and run the fixed code. -Rob A > -Original Message- > From: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Sent: Monda

RE: Multiple invocations

2005-08-29 Thread Dick, Brian E.
Has this bug fix been committed? I am experiencing the same problem. -Original Message- From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 12:21 PM To: Ant Users List Subject: RE: Multiple invocations The build file in the bug report is what I

Annoying message from exec task

2005-08-29 Thread Dick, Brian E.
When the return code of the exec task is non-zero it prints a message. [exec] Result: 1 In my case a return code of 1 is success, so I don't want to see a message. Is there a way tell the exec task to be quiet? Later, BEDick

Test

2005-08-25 Thread Dick, Brian E.
Sorry about this message, but I am having some kind of problem with posting messages to this listserv. I am getting messages posted by others, but I am not seeing my own messages being posted. Later, BEDick

Error from ftp chmod action

2005-08-24 Thread Dick, Brian E.
I am trying to change the mode of some of my deployment files to executable by using the ftp task. It's not working. I checked Google, the ant doc and the commons-net api doc without finding much about chmod. What am I doing wrong? Here is my ftp task. Here is the output. [ftp]

RE: Pattern matching the value of a property

2005-08-16 Thread Dick, Brian E.
Valid.bat setlocal set app_ver=%1 set app_ver=%app_ver:1=0% set app_ver=%app_ver:2=0% set app_ver=%app_ver:3=0% set app_ver=%app_ver:4=0% set app_ver=%app_ver:5=0% set app_ver=%app_ver:6=0% set app_ver=%app_ver:7=0% set app_ver=%app_ver:8=0% set app_ver=%app_ver:9=0% if "%app_ver%" == "0.0.0"

RE: Ant dependencies task

2005-08-15 Thread Dick, Brian E.
ndencies is now: That works perfectly. Thanks for the suggestion Brian, I appreciate very much, especially since I had never used macrodef before and I can't imagine I would have thought of it on my own :) Frank Dick, Brian E. wrote: > Another thing that may work is convertin

RE: Ant dependencies task

2005-08-15 Thread Dick, Brian E.
AILED The type doesn't support the nested "target" element. Using Ant 1.6.1 Frank Dick, Brian E. wrote: > You can recode > > depends="get_dependencies,compile,make_javadocs,checkstyle,cleanup" /> > > as > > > > >

RE: Open a shell and run a batchfile

2005-08-15 Thread Dick, Brian E.
I assume you tried the "spawn" and "vmlauncher" attributes of the "exec" task. -Original Message- From: Frank Schaare [mailto:[EMAIL PROTECTED] Sent: Sunday, August 14, 2005 5:21 PM To: Ant Users List Subject: Open a shell and run a batchfile Hi, i´d like to automate some tasks under W

RE: Ant dependencies task

2005-08-12 Thread Dick, Brian E.
Another thing that may work is converting your get_dependencies target to a macrodef. -Original Message- From: Dick, Brian E. Sent: Friday, August 12, 2005 3:19 PM To: Ant Users List Subject: RE: Ant dependencies task You can recode as

RE: Ant dependencies task

2005-08-12 Thread Dick, Brian E.
You can recode as -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Friday, August 12, 2005 2:54 PM To: user@ant.apache.org Subject: Ant dependencies task Does anyone have any experience with this add-on? http://

RE: More on antcall versus macrodef

2005-08-04 Thread Dick, Brian E.
I often use a single property file and propertysets with a glob mapper. Build.properties default.tomcat.home=/usr/local/tomcat default.tomcat.port=8080 life.tomcat.home=d:/tomcat5.0 life.tomcat.port=${default.tomcat.port} test.tomcat.home=${default.tomcat.home}-testing test.tomcat.port

RE: Have the performance issues been resolved?

2005-08-04 Thread Dick, Brian E.
Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 6:31 AM To: Ant Users List Subject: Re: Have the performance issues been resolved? Dick, Brian E. wrote: > I'm currently using the 12/1/4 nightly build of 1.7alpha. I tried the GA > buil

Have the performance issues been resolved?

2005-08-03 Thread Dick, Brian E.
I'm currently using the 12/1/4 nightly build of 1.7alpha. I tried the GA build of 1.6.3, but the performance was horrible. A full build of my application using 1.7alpha takes about 15 minutes. It took 1.6.3 over an hour to do the same build. Have these performance issues been resolved with the lat

RE: usage of exec

2005-07-20 Thread Dick, Brian E.
- . . . and things has started working out, but its in a very early stage so I will be posting the doubts frequently Thanks Pritesh -Original Message- From: Dick, Brian E. [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 6:31 PM To: Ant Users List

RE: usage of exec

2005-07-20 Thread Dick, Brian E.
To run batch files you need to specify the dos shell for the executable attribute and specify the batch file as an argument. Something like the following. Although, I prefer to re-implement batch files as a macrodefs and use pure ant tasks as much as possible. If your executables are av

RE: wild card in project.getProperty()

2005-07-05 Thread Dick, Brian E.
PropertySelector in ant-contrib -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 05, 2005 4:50 AM To: user@ant.apache.org; user@ant.apache.org Subject: wild card in project.getProperty() Hello gentle people; I was wondering if you can achieve the

RE: Subant - selecting projects to build

2005-06-16 Thread Dick, Brian E.
propFile); ... Just my ideas as pseudo code ... If you´ll get it to work, let us know. Jan >-----Ursprüngliche Nachricht- >Von: Dick, Brian E. [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 15. Juni 2005 18:03 >An: Ant Users List >Betreff: Subant - selecting projects t

RE: Oracle, SQL Task, and XML

2005-06-16 Thread Dick, Brian E.
Try SELECT XMLELEMENT("Document").getStringVal() FROM [EMAIL PROTECTED] where rownum<10; If your XML is larger than 4000 characters you may want to try SELECT XMLELEMENT("Document").getClobVal() FROM [EMAIL PROTECTED] where rownum<10; -Original Message- From: Renick, Garrel [mailto:[EM

Subant - selecting projects to build

2005-06-15 Thread Dick, Brian E.
I have my project directory structured similar to the last example in the subant doc. I have a root directory with a common build file and module directories with a simple build file that imports the common build file. Currently, my project consists of 50+ modules. I deploy these modules across 10

RE: Count number of files in fileset

2005-06-14 Thread Dick, Brian E.
Where is ${toString:} documented? Are there any other pseudo-properties? -Original Message- From: Peter Reilly [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 11:58 AM To: Ant Users List Subject: Re: Count number of files in fileset Matt Benson wrote: >1) Ant 1.7 will contain a

RE: sshexec error handling

2005-06-08 Thread Dick, Brian E.
I got it working with "if", but your version is shorter. Thanks. -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 3:52 PM To: Ant Users List Subject: Re: sshexec error handling Like in C: "cmd1 && cmd2&quo

sshexec error handling

2005-06-08 Thread Dick, Brian E.
I need to execute two commands with sshexec. How can I get sshexec to fail when the first command fails? Later, BEDick

RE: built-in property for the invoking target?

2005-06-06 Thread Dick, Brian E.
I get the following error when trying the code from your reference. BUILD FAILED C:\build.xml:77: ReferenceError: "self" is not defined. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 4:37 AM To: user@ant.apache.org Subject: AW: built-in

RE: Delete dir if empty

2005-06-01 Thread Dick, Brian E.
Works. Cool. Thanks. -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 11:11 AM To: Ant Users List Subject: RE: Delete dir if empty --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > Nope. That deletes files. I don't w

RE: Delete dir if empty

2005-06-01 Thread Dick, Brian E.
t include "includeemptydirs" in your delete task, like the following example? Jian On 6/1/05, Dick, Brian E. <[EMAIL PROTECTED]> wrote: > How can I delete a directory only when it is empty? I have tried many > combinations of include/exclude with the delete task, but cannot find >

Delete dir if empty

2005-06-01 Thread Dick, Brian E.
How can I delete a directory only when it is empty? I have tried many combinations of include/exclude with the delete task, but cannot find anything that works in all cases. Later, BEDick

RE: Problem with nested property sets

2005-05-18 Thread Dick, Brian E.
this today. -Matt --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > I have two property sets, one prefixed with "foo" > and one prefixed with > "bar". I want to union these two property sets and > change the "foo" > prefix to "

RE: Problem with nested property sets

2005-05-18 Thread Dick, Brian E.
oproperties] foobar.4=4 BUILD SUCCESSFUL Total time: 0 seconds and that's what you expected, I guess Success! Mylene On 5/18/05, Dick, Brian E. <[EMAIL PROTECTED]> wrote: > Here is the output from "ant -debug". > > Total time: 0 seconds > > -Orig

RE: Problem with nested property sets

2005-05-18 Thread Dick, Brian E.
nt Users List Subject: Re: Problem with nested property sets Try running in debug mode (-debug) and providing the stack trace. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis "Di

RE: ANT-CVS logs

2005-05-17 Thread Dick, Brian E.
Sorry if this is duplicate post. I'm getting an exception from the following build. The echoproperties task doesn't like the nested propertyset. What am I doing wrong?

Problem with nested property sets

2005-05-17 Thread Dick, Brian E.
I'm getting an exception from the following build. The echoproperties task doesn't like the nested propertyset. What am I doing wrong?

FilterSet vs FilterChains

2005-04-28 Thread Dick, Brian E.
There is a little overlap between FilterSet and FilterChain types, but otherwise the two types are quite different. For example the following two copy tasks are equivalent. The FilterSet type does token rep

Copy to remote machine

2005-04-12 Thread Dick, Brian E.
I need to copy a directory of files to a remote machine. I want to maintain the same relative directory structure on the remote machine as defined by the local machine. Only the top level directories are different between the two machines. The following works, but is it the best way to accomplish

RE: Handling Exec errorcodes

2005-03-15 Thread Dick, Brian E.
cript file. This is what im doing: -Oprindelig meddelelse- Fra: Dick, Brian E. [mailto:[EMAIL PROTECTED] Sendt: 15. marts 2005 14:49 Til: Ant Users List Emne: RE: Handling Exec errorcodes At the beginning of your sqlplus script you should add something similar to the following.

RE: Handling Exec errorcodes

2005-03-15 Thread Dick, Brian E.
At the beginning of your sqlplus script you should add something similar to the following. whenever oserror exit failure rollback whenever sqlerror exit failure rollback These lines will cause sqlplus to set the exit code. If you don't want to hardcode these lines in all of your sqlplus

RE: launching Ant from a perl script

2005-03-11 Thread Dick, Brian E.
nstead of > CMD.EXE. If executed from outside a batch script, it > will quit CMD.EXE > > exitCodespecifies a numeric number. if /B is specified, sets > ERRORLEVEL that number. If quitting CMD.EXE, sets the >process > exit

RE: launching Ant from a perl script

2005-03-11 Thread Dick, Brian E.
ecified, sets ERRORLEVEL that number. If quitting CMD.EXE, sets the process exit code with that number. Sten Rosendahl > -Original Message----- > From: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Sent: Friday, March 11, 2005 4:35 PM > To: Ant Users List >

RE: launching Ant from a perl script

2005-03-11 Thread Dick, Brian E.
The "exit" command terminates the command shell and not the bat file. You exit a bat file by "goto :eof". -Original Message- From: John Cortell [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 9:34 AM To: Ant Users List Subject: RE: launching Ant from a perl script I had tried tha

RE: VSS Project/Solution to Ant build tool

2005-03-07 Thread Dick, Brian E.
I believe the Nant project has a utility to do something like that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 9:35 AM To: user@ant.apache.org Subject: VSS Project/Solution to Ant build tool Does anyone know of a tool for converting

RE: Parsing file. It works but...

2005-02-14 Thread Dick, Brian E.
bject: RE: Parsing file. It works but... --- Matt Benson <[EMAIL PROTECTED]> wrote: > --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > > > That's a bit better. > > > > Is there a better way to iterate the lines in the > > file? The task

RE: Parsing file. It works but...

2005-02-14 Thread Dick, Brian E.
Was the message supposed to have an attachment? -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 5:17 PM To: Ant Users List Subject: RE: Parsing file. It works but... --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: >

RE: Parsing file. It works but...

2005-02-11 Thread Dick, Brian E.
4:09 PM To: Ant Users List Subject: Re: Parsing file. It works but... --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: [SNIP] > I need to parse the file and send the two values in > each line to another > program. When there is only one value on the line, I > have to s

Parsing file. It works but...

2005-02-11 Thread Dick, Brian E.
...there has to be a better way to do this. I have a file that contains lines like the following. src1 trg1 src2 src3 trg3 I need to parse the file and send the two values in each line to another program. When there is only one value on the line, I have to send the value twice. Here's the target

RE: Remove extension from a file name

2005-01-19 Thread Dick, Brian E.
do it with a regexpmapper. HTH, Matt --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > With which task? I already have the file name with > extension in a property. I need the file name sans > extension in a new property. > > BTW, I found the propertyregex task in a

RE: Remove extension from a file name

2005-01-19 Thread Dick, Brian E.
PROTECTED] Sent: Wednesday, January 19, 2005 10:43 AM To: user@ant.apache.org Subject: AW: Remove extension from a file name using regexps (.*)\..* --> \1 Jan > -Ursprüngliche Nachricht- > Von: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 19. Januar 200

Remove extension from a file name

2005-01-19 Thread Dick, Brian E.
I need to remove the extension from a file name. The basename task almost works when specifying the suffix attribute. However, I don't know the value of the suffix. Does anyone know how I can remove the extension (suffix) from a file name? Later, BEDick --

RE: Stopping an ant target

2005-01-19 Thread Dick, Brian E.
it stops Jan > -Ursprüngliche Nachricht- > Von: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 19. Januar 2005 14:18 > An: Ant Users List > Betreff: Stopping an ant target > > This is more of a java question, but I would appreciate your help. > > I hav

Stopping an ant target

2005-01-19 Thread Dick, Brian E.
This is more of a java question, but I would appreciate your help. I have a java application that I start from ant. This program continuously monitors our database for cpu utilization, connection attempts, and other general health statistics. Currently, when I want to stop the application for mai

RE: Cleaning a text file with tons of extra CRLF's

2005-01-13 Thread Dick, Brian E.
If you use OS pipes, you will appreciate filterchains. -Original Message- From: Nat Gross [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 4:41 PM To: Ant Users List Subject: Re: Cleaning a text file with tons of extra CRLF's filterchains? I will need to catch up on that topic

RE: Want to build under multiple JDKs

2005-01-07 Thread Dick, Brian E.
Sorry, misinterpreted your post. -Original Message- From: Scott Simpson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 7:21 PM To: user@ant.apache.org Subject: Re: Want to build under multiple JDKs Dick, Brian E. wrote: > There is a java.version property. Maybe you can

RE: Want to build under multiple JDKs

2005-01-06 Thread Dick, Brian E.
There is a java.version property. Maybe you can use that instead of checking the PATH. -Original Message- From: Scott Simpson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 6:42 PM To: user@ant.apache.org Subject: Want to build under multiple JDKs We have some Java code that

RE: Ant should have an ext directory

2005-01-05 Thread Dick, Brian E.
ry 05, 2005 10:56 AM To: Ant Users List Subject: RE: Ant should have an ext directory --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > Windows has dll hell. Java has jar war. > > If you press ctrl-c while running ant, the > antrc_post.bat file does not run. In this cas

RE: Ant should have an ext directory

2005-01-05 Thread Dick, Brian E.
Windows has dll hell. Java has jar war. If you press ctrl-c while running ant, the antrc_post.bat file does not run. In this case, any environment changes made by antrc_pre.bat will not be undone. Yuk. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: Ant should have an ext directory

2005-01-04 Thread Dick, Brian E.
m > and we also have our ClearCase views mounted on a reserved drive letter > so pointing scripts to the correct place(s) was easy. > > <= Alex => > > >-Original Message- > >From: Dick, Brian E. [mailto:[EMAIL PROTECTED] > >Sent: Monday, January 03, 2005

RE: Ant should have an ext directory

2005-01-04 Thread Dick, Brian E.
ve our ClearCase views mounted on a reserved drive letter so pointing scripts to the correct place(s) was easy. <= Alex => >-Original Message- >From: Dick, Brian E. [mailto:[EMAIL PROTECTED] >Sent: Monday, January 03, 2005 7:42 PM >To: Ant Users List >Subject: RE: Ant

RE: Ant should have an ext directory

2005-01-04 Thread Dick, Brian E.
n ext directory in a central location, then use a build process to merge it with a base ANT install; then copy the results out to everyone in your department. Not as nice as if ANT supported this directly, but it might help. [EMAIL PROTECTED] wrote: > "Dick, Brian E." <[EMAIL P

RE: Ant should have an ext directory

2005-01-04 Thread Dick, Brian E.
s out to everyone in your department. Not as nice as if ANT supported this directly, but it might help. [EMAIL PROTECTED] wrote: > "Dick, Brian E." <[EMAIL PROTECTED]> writes: > > > Understood, but I want to create a department-wide ant distribution that >

RE: Ant should have an ext directory

2005-01-03 Thread Dick, Brian E.
Jan 2005, Dick, Brian E. wrote: > Understood, but I want to create a department-wide ant distribution that > is augmented with common extension libraries. None of the options you > list make this particularly clean and easy to manage. You could use Ant to set it up. ;-) In other wor

RE: Ant should have an ext directory

2005-01-03 Thread Dick, Brian E.
, 2005 12:33 PM To: Ant Users List Subject: Re: Ant should have an ext directory Dick, --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > Does anyone else get an icky feeling when copying > extension libraries > into the lib directory? Isn't that why the java > runtim

  1   2   >