PVCS Task

2006-08-03 Thread Bob Corcoran
Hello, I'm getting the following error when trying to get files from PVCS via the PVCS Ant task: getsource: [echo] Getting ProjectRules source from \\x371-yy3002\folder3\zim\PVCSD\ProjectRules/lib for Promotion Group: Dev [exec] PVCS Version Manager (PCLI) v6.8.00 (Build 128.03) for Wi

Re: error from multiple antcalls, how to fail after all antcalls run?

2006-08-03 Thread Scot P. Floess
Why don't you macrodef the check-resource-test and perform a internal to it? You could make the url and value as attributes for the macrodef... Then you could do something like (assuming you name the macrodef check-resource-test): glenn opdycke-hansen wrote: the antcall is needed to test

Re: error from multiple antcalls, how to fail after all antcalls run?

2006-08-03 Thread glenn opdycke-hansen
How do you create a resource? On 8/3/06, Mathew Delong <[EMAIL PROTECTED]> wrote: I've done this in the past by making all of my tests create a resource if they fail, and after all the tests are completed, check if that resource exists. I am sure there are better ways to do this, though.

Re: error from multiple antcalls, how to fail after all antcalls run?

2006-08-03 Thread glenn opdycke-hansen
the antcall is needed to test different urls. But I suspect it prevents the called target from updating a common property. I did use concat to create an errors.log file. If that file exists then the script fails. It tested ok, but is a bit awkward. On 8/3/06, Scot P. Floess <[EMAIL PROTECTED]

Re: error from multiple antcalls, how to fail after all antcalls run?

2006-08-03 Thread Scot P. Floess
Sorry, maybe I am misunderstanding... Do you want it to fail immediately or run to completion then fail if an error arose? Scot P. Floess wrote: How about instead of using antcall, have a target that has a depends on them all? So replace the ant-calls with a depends="xxx yyy xxx" Mathew Del

Re: How to send a data from ant to JUnit class?

2006-08-03 Thread Vishal Vishnoi
Use sysproperty nested element in http://ant.apache.org/manual/OptionalTasks/junit.html. In Java access them using System.getProperty --Vishal ahehheh wrote: Hi, i am now working with ant to test several Junit classes. One of Junit classes is Log In command, and this uses a specific id and p

How to send a data from ant to JUnit class?

2006-08-03 Thread ahehheh
Hi, i am now working with ant to test several Junit classes. One of Junit classes is Log In command, and this uses a specific id and password to connect to database. (Basically i am testing the connection function) But my manager wants me to put these id and password values into a properties file.

Re: error from multiple antcalls, how to fail after all antcalls run?

2006-08-03 Thread Scot P. Floess
How about instead of using antcall, have a target that has a depends on them all? So replace the ant-calls with a depends="xxx yyy xxx" Mathew Delong wrote: I've done this in the past by making all of my tests create a resource if they fail, and after all the tests are completed, check if that

RE: error from multiple antcalls, how to fail after all antcalls run?

2006-08-03 Thread Mathew Delong
I've done this in the past by making all of my tests create a resource if they fail, and after all the tests are completed, check if that resource exists. I am sure there are better ways to do this, though. -Original Message- From: glenn opdycke-hansen [mailto:[EMAIL PROTECTED] Sent: Thur

Re: using symlink on filesets

2006-08-03 Thread Nathan Franzen
On 8/3/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: > And as far as I know, there is no reasonable iterator or foreach way > to wrap up a single symlink task within the fileset. There is. Ant-Contrib's excellent task. But in your case, since is forking's the OS's ln command anyway, I'd us

error from multiple antcalls, how to fail after all antcalls run?

2006-08-03 Thread glenn opdycke-hansen
I have a question about how to code a script to multiple tests are run and fail at the end of the script. I have a script that calls multiple targets via antcalls: I want to execute all of the antcall targets. If any of the antcall targets get an er

Re: using symlink on filesets

2006-08-03 Thread Dominique Devienne
And as far as I know, there is no reasonable iterator or foreach way to wrap up a single symlink task within the fileset. There is. Ant-Contrib's excellent task. But in your case, since is forking's the OS's ln command anyway, I'd use , which is an implicit for-loop, works with fileset, and sh

using symlink on filesets

2006-08-03 Thread Nathan Franzen
I'd like to use "symlink" as part of a deploy task on unix machines. I have a set of files which are most easily specified as a fileset, and I'd like to create symbolic links in a particular destination directory to all of the sources. I could just copy them, as but I'd rea

Re: How to filter out all exceptions from the JUnit task's test failures

2006-08-03 Thread Steve Loughran
Burgess, Benjamin wrote: I know it is a hack, not a good design, etc, etc, but Couldn't the logger put some placeholder in for those attributes and after the run is complete, go back and modify the log to place the actual values overtop of the placeholders? Ben what, like write the file

RE: properties handling problem

2006-08-03 Thread Rebhan, Gilbert
Hi, the task is working with antcontrib 1.0b2 as i use it all the time :-) but you have to import the tasks the new way (since ant 1.6) the for task is commented out in net\sf\antcontrib\antcontrib.properties as you see below ... antserver=net.sf.antcontrib.antserver.server.ServerTask r

RE: properties handling problem

2006-08-03 Thread heisch
Hi, both tasks, and only works with ant-contrib 0.6 - i suppose... 1.0b2 is without the for-task... wahtever.. no its running with 0.6 I soluted it with a foreach, for and a macrodef... For each person who are interested - here's the code: [sorry for bad format - i use the horde-webmailer -

user@ant.apache.org

2006-08-03 Thread heisch
Hi, why isn't this code able to work: minimal - but right... i suppose greetz Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]