Unknown task [EMAIL PROTECTED] What does it mean?

2007-02-28 Thread lists
Hello Ant Users, I'm getting a strange error when running a custom task from cruise control. I don't get the error if I run the same command from the command line. First of all I would like to understand the error: Unknown task [EMAIL PROTECTED] not in [EMAIL PROTECTED]:antcall, [EMAIL PROTECTE

numerical comparison of properties.

2006-09-18 Thread lists
Hello, I would like to have a target compare two properties and set a third property with the value of the greater of the two. I have looked in at ant contrib's tasks but haven't found it. The problem seems to trivial to write my own task. thanks for help. Jacques -

AW: command line args on win with quotes / whitespaces

2006-05-17 Thread lists
Thanks Jan, I have split the 3 args into 6 using the following syntax for the problem arg: (the location-attribute does not exist.) Thank you very much. I appreciate it. Jochen On May 17, 2006, at 2:32 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Shou

command line args on win with quotes / whitespaces

2006-05-17 Thread lists
Hello List, I have a problem I need to spawn a process with exec and need to pass it arguments that contain whitespaces Finally I want my exec to spaw a process that behaves exactly like running the following command in the command shell from D:\depot\InstallerDeliveries\Win\My Product\3.0.0

Re: AW: p4 submit problems

2005-12-12 Thread lists
Great, thanks. Jacques - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: p4 submit problems

2005-12-09 Thread lists
Hello Antoine, sorry for the late reply. I have solved my problem. :) It wasn't CC's Ant. But i upgraded to eclipse 3.1 which includes Ant1.6.5. The P4 Tasks require jakarta-oro. Documentation says that any 2.0.x will do, but I have found out that 2.0.3 does not support a method split(collecti

AW: p4 submit problems

2005-12-07 Thread lists
fyi: I'm using Ant 1.6.5 > >Hi everybody, > >I have a problem with p4submit-tasks that occasionally don't terminate on >WinXP. In that case i have the actual submit is fully processed by the server, >but the p4-client "p4.exe" never returns as if it was waiting for some Input >from the server.

p4 submit problems

2005-12-07 Thread lists
Hi everybody, I have a problem with p4submit-tasks that occasionally don't terminate on WinXP. In that case i have the actual submit is fully processed by the server, but the p4-client "p4.exe" never returns as if it was waiting for some Input from the server. This problem coincides with somer

p4 submit problems

2005-12-07 Thread lists
Hi everybody, I have a problem with p4submit-tasks that occasionally don't terminate on WinXP. In that case i have the actual submit is fully processed by the server, but the p4-client "p4.exe" never returns as if it was waiting for some Input from the server. This problem coincides with somer

p4 submit problems

2005-12-07 Thread lists
Hi everybody, I have a problem with p4submit-tasks that occasionally don't terminate on WinXP. In that case i have the actual submit is fully processed by the server, but the p4-client "p4.exe" never returns as if it was waiting for some Input from the server. This problem coincides with somer

AW: Re: zip- task on osx breaks permissions

2005-08-09 Thread lists
Thx. jacques >At the top of the zip task definition, it says this: > >"Note that file permissions will not be stored in the resulting >zipfile." > >If you need to store permissions, try tar or exec to use "zip". > > >On Aug 9, 2005, at 9:40 AM, [EMAIL PROTECTED] wrote: > >> Hello all, >> >> I ne

zip- task on osx breaks permissions

2005-08-09 Thread lists
Hello all, I need to zip a the contents of a folder on Mac OSX (10.[3|4]) Unfortunatly permissions are broken (executables are no longer executable) after I unpack my zipped components and empty directories are gone. This breaks my deliverables. If I call zip on the command line I have no such

AW: Re: replacing a token in a property value

2005-07-22 Thread lists
Thanks. jacques > >antcontrib has a task to do regex replacements on property values: >href="http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html";>http:/ >/ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html > >-- >Jeffrey E. Care ([EMAIL PROTECTED]) >WebSphere v7 Release E

replacing a token in a property value

2005-07-22 Thread lists
Hi Ant Experts, I want to do something simple. I have a property with a given value, i.e. "23/65" and I want to replace the "/" with a string, i.e. "slash". I expected to find a task that would define my a new property with the result of the replacement: i.e. -> so I can use the value "23sla

Re: [genuine] RE: RemoteAnt / AntServer

2005-06-13 Thread lists
Here are some snippets, I hope this will help you to get it to work. The documentation for AntServer is quite poor, I agree. The example doesn't work because the runant-node is closed with a runtarget node. Never theless here is the code that works for me. I'll write few words to explain how to

Re: [genuine] RE: RemoteAnt / AntServer

2005-06-13 Thread lists
Here are some snippets, I hope this will help you to get it to work. The documentation for AntServer is quite poor, I agree. The example doesn't work because the runant-node is closed with a runtarget node. Never theless here is the code that works for me. I'll write few words to explain how to

RemoteAnt / AntServer

2005-06-10 Thread lists
Hi Group, I'm very pleased to find the AntServer / RemoteAnt implementation in the cobtrib package and I think it's impressively easy to use. One question: Why does it always shut down the server after a single remoteAnt-task has been run? I would like to run multiple remoteAnt-tasks. Moreover

remoteAnt vs. rant

2005-06-09 Thread lists
Hello Robert, What is the difference between RemoteAnt provided in com.rjmpsmith.ant compared to ant-contrib's rant? I need to make a decision what to use for my distributed build-system that synchronously builds C++ on Mac and WIn and a large java project also on mac and win. Thanks for help

manually and externally defined fileset

2004-12-20 Thread lists
Hi all, My buildsystem needs to copy a manually defined set of files (compiler-output, I'm building C++ wit VisualStudio .net) from the compiler's target dir to my output dir where binary releases are submitted to my depot. Currently I have lots of single copy-tasks in a release-target but I wou

AW: use fileinfo in ant

2004-12-07 Thread lists
Jan, Thank you for your help. I was able to solve my problem :) A question remains: My solution seems more complicated than I would epect it to be. For instance I want to delete some directories if they are older than 7 days. My solution looks as follows: I first need to delete all the files in

use fileinfo in ant

2004-12-07 Thread lists
Hello all, I would like to process (i.e. delete) files depending on their creation or modification date or size (testing if the file is empty). Doe Ant provide tools for that? Do I need to write my own java-task? The problem seems to be so simple that I have the impression many people might h

Re: AW: name of running target

2004-11-18 Thread lists
Thank you. I cannot find any entries for scriptdef- or script-task. It seems to be missing that information. However, I have helped myself by writing myself a task in Java that uses project.getOwningTarget() to set a user property: project.setUserProperty("currenttarget", this.getOwningTarget().t

AW: name of running target

2004-11-18 Thread lists
Thank you Jan, That looks very cool. But I have a problem running it: Some jars are missing in my path and I don't know which. Do you know whicch external jars the scriptdef-task depends on? thanks, jacques ___ >Would that be ok? > > > > > > > > > > > > > >

name of running target

2004-11-18 Thread lists
Hello everybody, Is there a dynamic property for the name of the current target? I would like to notify another process of the state my build is in. So What I'm looking for is something like: ... ... If possible I want to avoid to introduce a static string in every target that need to

getUserProperty and getProperty

2004-11-11 Thread lists
Peter, Thank you very much. This helps me a lot. Will properties I set with project.setNewProperty() persist, for the liftime of the build? So I can set my property in one target and derefereence it in another? -jacques = User properties are those specified on the command line. They a

getUserProperty and getProperty

2004-11-11 Thread lists
Hi folks, What is the exact difference between the API-calls getUserProperty and getProperty. And: What is the exact difference between the API-calls setUserProperty and setProperty. When ist advised to use which? I'm a bit confused. I am writing my own tasks and I have started to use getUse