Hello,
Can you post the relevant parts of your build script
mainly the part with task?
Regards
Ivan
--- Dave Rathnow <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I've searched the archives and Googled this error
> but I can't find the
> solution.
>
>
>
> I'm using Ant 1.6.5, Java 1.4.1 and
AFIK there is none in Ant or AC - maybe there is an external task.
But you could use scripting for that. I modified an old example for getting the
filesize:
date of buildfile is ${buildfile.date}
Jan
>-Ursprüngliche Nachricht-
>Von:
hi ,
can anyone tell me how can i get the timestamp of a file in a property..i
am not getting the task for it.
Ankur Agarwal
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Notice: The information contained in this e-mail message and/or attachments to
The if & unless attrs. on targets
only care about property existence - the value doesn't matter.
Jeffrey E. (Jeff) Care
[EMAIL PROTECTED]
IBM WebSphere Application
Server Development
WAS Pyxis L
As per Dominiques's suggestion, I have used
setNewProperty("isLabelFrozen", String.valueOf(isLabelFrozen)) and I got
the correct value of the property inside the checkout task, but having
issues with if/unless attributes.
I have tried if/unless in or in task (which is inside
checkout) and got t
Hi,
I've searched the archives and Googled this error but I can't find the
solution.
I'm using Ant 1.6.5, Java 1.4.1 and Xalan 2.7.0 and have xercesImpl.jar,
xml-apis.jar, and serializer.jar all in the $ANT_HOME/lib directory.
When I try to run the junitreport task, I'm getting the followin
Perfect. Thanks!
On 5/3/06, Robert Clark <[EMAIL PROTECTED]> wrote:
On Wednesday May 3, 2006 15:31, "Trent Ohannessian" <[EMAIL PROTECTED]>
wrote:
>
>
> BUILD FAILED
> D:\Open Source Projects\Canoo Web Test\my_tests\webtest.xml:3:
> Missing environment parameter.
>
> Here is en
On 5/3/06, Trent Ohannessian <[EMAIL PROTECTED]> wrote:
Thank you all for your replies. This Ant script is actually running Canoo
WebTest. It's testing the small GUI portion of our application. The entire
application uses several properties files, but there is just one file per
subsystem and th
On Wednesday May 3, 2006 15:31, "Trent Ohannessian" <[EMAIL PROTECTED]>
wrote:
>
>
> BUILD FAILED
> D:\Open Source Projects\Canoo Web Test\my_tests\webtest.xml:3:
> Missing environment parameter.
>
> Here is env: dev
>
> Usage:
> webtest -buildfile webtest.xm
Hey all,
I'm trying to error the build if a command line parameter isn't passed in.
This seems simple enough but it's not working as I anticipated and I still
don't get why this isn't working after reading through several docs. Here
is the command line call:
webtest -Denv=dev -buildfile webtest
Thank you all for your replies. This Ant script is actually running Canoo
WebTest. It's testing the small GUI portion of our application. The entire
application uses several properties files, but there is just one file per
subsystem and the server designations are made by adding a
localhost.what
this.getProject().setProperty(outputproperty, isLabelFrozen);
Please prefer setNewProperty. If I remember right, setProperty is
deprecated, and would override any existing property value, if any,
which is clearly a violation of Ant's "properties are immutable" law,
and might be surprising to you
Here's what I do:
1) in your label task, add an attribute called 'outputproperty'.
2) in the label task's execute method, add this:
if (outputproperty != null) {
log("Setting output property to be: " +
isLabelFrozen);
this.getProj
>> As a simple example, when ant is
>> integrated in Groovy using the AntBuilder, we can seamlessly invoke
>> any Ant tasks and datatypes by using simple method call such as:
>>
>> ant.echo("Hello World")
>>
>>
>
>
>I dont know what we can do to make groovy's life easier.
Withou
14 matches
Mail list logo