repo for reusable tasks

2012-02-21 Thread Mansour Al Akeel
Hello all, Currently I and AFAIK other rely on copy paste for reusing tasks. Antlib make reusing tasks and macros easier. However I don't see wide reuse for this. Now that ivy is become more popular, would it possible to create a project of ant for maintaining a repo of reusable tasks ? For examp

Re: Create custom datatype programmatically

2012-02-05 Thread Mansour Al Akeel
I use the name space "current" as in the example I read. However adding the namespace to the argument of createDataType, worked as expected. Thank you Stefan. On Sun, Feb 5, 2012 at 12:17 AM, Stefan Bodewig wrote: > On 2012-02-04, Mansour Al Akeel wrote: >

Nested type as an Integer

2012-01-10 Thread Mansour Al Akeel
In a custom task, I need to use a nested element to set the port number. The nested element looks like this: 9090 myApplication The problem I am getting is: build.xml:76: class java.lang.String doesn't support nested text data ("myApplication"). at org.apache.tools.ant.IntrospectionHelper.add

Re: command line arguments

2008-02-09 Thread Mansour
I am looking for something like this, but without modifying the source code. I am wondering if it can be done through the build.xml file only. Dominique Devienne wrote: On Feb 8, 2008 3:53 PM, Mansour <[EMAIL PROTECTED]> wrote: Is there a way to pass command line arguments to ant

command line arguments

2008-02-08 Thread Mansour
Is there a way to pass command line arguments to ant build file without using the jvm paramets (ie. without -Dsome.option=some.value). I need something like: ant target option. Thank you. - To unsubscribe, e-mail: [EMAIL PROTE