Re: Handling Circular Dependency

2006-04-24 Thread Stefan Bodewig
On Mon, 24 Apr 2006, Hwa N. Shen <[EMAIL PROTECTED]> wrote: > How do you handle circular dependency in Ant? In general you don't compile files one by one in ant, but all at once - so circular dependencies don't cause a problem: Where this doesn't work as good as having a target per source

Handling Circular Dependency

2006-04-24 Thread Hwa . N . Shen
How do you handle circular dependency in Ant? The following is a build.xml snippet: Doing DocUpdate Doing HTTPfileDownload HTTPfileDownload uses a static method in DocUpdate. Any pointer would be appreciated! Hwa

Re: Exception in Style

2006-04-24 Thread Ron Jeffries
On Monday, April 24, 2006, at 5:51:54 AM, Steve Loughran wrote: >> A better man would take the hour or two it would require to do all >> that. My learning, teaching, and proselytizing go in other >> directions, and I think that's where my energy needs to be put. >> Right now, I think I'll stop whe

Re: Script task not found

2006-04-24 Thread Steve Loughran
Paul Donaldson wrote: Antoine/Peter - thank you for your replies. I'm using Ant version 1.5.1. I realise that is reasonably old. I've also noted that, with that version of Ant, I should be using IBM's BSF rather than Apache's. However, I cannot find an INM version of bsf.jar anywhere. Any links

RE: Script task not found

2006-04-24 Thread Paul Donaldson
Antoine/Peter - thank you for your replies. I'm using Ant version 1.5.1. I realise that is reasonably old. I've also noted that, with that version of Ant, I should be using IBM's BSF rather than Apache's. However, I cannot find an INM version of bsf.jar anywhere. Any links I have found, that repo

Re: Script task not found

2006-04-24 Thread Peter Reilly
Ant 1.5 is quite old. You should be using ant 1.6.5 Between ant 1.5 and ant 1.6, the provider of bsf moved from IBM to apache, and this meant that the package names changed. Thus, you are using an incorrect version of bsf for ant 1.5. The current correct combination is: *ant 1.6.5 *bsf *(Note*

Deploying a composite feature

2006-04-24 Thread eagerbeaver
I am a novice Ant user. I want my automated scripts to deploy a composite feature that can be used to install all my plugin features. Please could somebody tell me what changes I have to make to customTargets.xml and any other changes that may be necessary to achieve this. At the moment, for eac

Re: Script task not found

2006-04-24 Thread Antoine Levy-Lambert
Which version of ant are you using ? optional.jar existed in ant up to ant 1.5.x. in ant 1.6.x, there is a file ant-apache-bsf.jar which contains the implementation on the ant side of scripting tasks and functionality. Also you normally do not need to taskdef script in ant 1.6.x and ant 1.5.x

Script task not found

2006-04-24 Thread Paul Donaldson
Hello, I need to perform some simple arithmetic on the contents of a string. I have read that the Script task is suitable for this purpose. I define my task as: But I keep getting the message: file:build.xml:5: taskdef class org.apache.tools.ant.taskdefs.optional.Script cannot be found I can s

Re: Setting a system property

2006-04-24 Thread ankur1 . a
try using antelope, here u can c and edit all properties. cheers!! Ankur Agarwal Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Felix Seeger <[EMAIL PROTECTED]> 04/24/2006 03:31 PM Please respond to "Ant Users List" To "Ant List" cc Subject Settin

Re: X10 Task

2006-04-24 Thread Daniel Lindner
Roman Gavrilov wrote: What's the task for controlling X10 devices (via Fire Cracker)? Regards, Roman Cruisecontrol uses a X10 API to access the X10 network via a fire cracker module. Have a look at http://cruisecontrol.sourceforge.net/main/configxml.html#x10 If you download cruisecontrol,

Setting a system property

2006-04-24 Thread Felix Seeger
Hi all, is it possible to set a propery in the current running vm ? I like to make sure that a target is only executed once per ant run. Thanks a lot Felix - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Exception in Style

2006-04-24 Thread Steve Loughran
Ron Jeffries wrote: On Sunday, April 23, 2006, at 1:12:07 PM, Steve Loughran wrote: yeah. thats the sun deriviative of Xalan. you need a real one :) There /is/ a jar named ant-xalan1.jar under ANT_HOME, and I had the impression that Ant uses its own shipped XSL transformer, though it is a ve

Re: File URLs for different plaforms

2006-04-24 Thread Steve Loughran
Tim Gordon wrote: Hi Not a pure ANT question, but it's relevant to building configurations for remote systems, possibly of another OS... Is there a simple way to generate file URLs that are guaranteed to work on another platform? For example, something like: config.url=file://${file.system.p

File URLs for different plaforms

2006-04-24 Thread Tim Gordon
Hi Not a pure ANT question, but it's relevant to building configurations for remote systems, possibly of another OS... Is there a simple way to generate file URLs that are guaranteed to work on another platform? For example, something like: config.url=file://${file.system.path} doesn't work f