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
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
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.
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]
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
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
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.
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
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
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
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
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
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
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
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
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 -
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]
17 matches
Mail list logo