global and customization of Default attribute values

2011-12-07 Thread Raja Nagendra Kumar
7;true'.. similarly.. should be able to define project specific task attribute defaults. Such feature exists.. if no.. how to enhance ant Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -The Build Engineering Experts -- View this message in context: http://ant.1045680.n5.nabble.com/gl

live view of the file contents

2012-01-04 Thread Raja Nagendra Kumar
.. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://ant.1045680.n5.nabble.com/live-view-of-the-file-contents-tp5119163p5119163.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: live view of the file contents

2012-01-04 Thread Raja Nagendra Kumar
minimize exec usage as far as possible and invent pure java ways.. It may be good for ant to think of some task like tail etc.. Thank you for your inputs and looking forward to more thoughts.. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com On 1/4/2012 10:02 PM, Bruce Atherton wrote: On 04

Ant Command Line args to be passed to all the Java Tasks

2013-03-25 Thread Raja Nagendra Kumar
Hi, I would like to invoke java applications using the ant task , however all the -D options used to invoke ant should be available to (Win32FileSystem.java:40) [java] at java.io.WinNTFileSystem.(WinNTFileSystem.java:37) [java] at java.io.FileSystem.getFileSystem(Native Method)

Re: Access jar files in a library directory in the jar file

2013-06-17 Thread Raja Nagendra Kumar
r.jar Regards, Nagendra Raja Nagendra Kumar Founder & C.T.O Mobile: +91-9

Annotations Stripping or Transformation at Build time

2013-08-23 Thread Raja Nagendra Kumar
Simple xml parser for Android while on server side we can used jaxb. We need to do this, without deplicating the same code at 3 places but with one single source code but with build time manipulations. Regards, Nagendra Raja Nagendra

Re: Annotations Stripping or Transformation at Build time

2013-08-24 Thread Raja Nagendra Kumar
points with IDE's. Any ant task which does source code transformation by eliminating all the annotations and gives the rest of source code is what am looking to. Regards, Nagendra Raja Nagendra Kumar Fo

Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Raja Nagendra Kumar
Hi Does copy task have any option to rename to be copie file as existing_file_1.xx etc.. just like windows does rename the existing files.. Regards, Nagendra -- View this message in context: http://ant.1045680.n5.nabble.com/Copy-task-not-to-overwrite-but-rename-the-file-as-1-2-etc-tp5714507.h

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Raja Nagendra Kumar
the functionality provided by filename mappers. Matt On Oct 7, 2013 4:20 AM, "Raja Nagendra Kumar" wrote: Hi Does copy task have any option to rename to be copie file as existing_file_1.xx etc.. just like windows does rename the existing files.. Regards, Nagendra -- View this

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Raja Nagendra Kumar
, Nagendra Raja Nagendra Kumar Founder & C.T.O Mobile: +91-9886723872 E

Ant Copy Task Overwrite ignore listener

2013-10-08 Thread Raja Nagendra Kumar
Nagendra Kumar Founder & C.T.O Mobile: +91-9886723872 Email: nagendra.r...@tejasoft.com IM: nagendra.

How to append to target file name in apply with mapper.

2008-02-20 Thread Raja Nagendra Kumar
. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/How-to-append-to-target-file-name-in-apply-with-mapper.-tp15585812p15585812.html Sent from the Ant - Users mailing list archive at Nabble.com

JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
were compiled by javac task. if this feature does not exist, it may be good candidate to provide the same in new version of ant :) Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/JavaC-and-sourcepath-tp16181099p16181099.html Sent from th

Re: JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
I see javac task attribute listfiles.. however not sure how to use this in the context of copying them to a new location. Regards, Nagendra -- View this message in context: http://www.nabble.com/JavaC-and-sourcepath-tp16181099p16181104.html Sent from the Ant - Users mailing list archive at Nabb

Re: JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
ass, searching for the respective java file in source and src paths etc.. Regards, Raja Nagendra Kumar. -- View this message in context: http://www.nabble.com/JavaC-and-sourcepath-tp16181099p16184205.html Sent from the Ant - Users mailing list archive at Nabble.

Re: JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
re we wanted to what is the exact sources in our common libarary the customers application depend on so that we just copy those from common library code. Hope this makes our point more clear. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/

Re: JavaC and sourcepath

2008-03-25 Thread Raja Nagendra Kumar
Thank you Stev for the pointers.. Let me create new taks with the code snippets from depends filesets etc.. Regards, Nagendra Steve Loughran wrote: > > Raja Nagendra Kumar wrote: >> We are using lot of opensource library code, which also gets complied >> from >> sourc

how to file path from fileset

2008-03-29 Thread Raja Nagendra Kumar
I would like to know exact location of file given a fileset way to find one Assuming that only one file in tejasoft.root would match the expression "**/${name}Common.xml. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View

Re: how to file path from fileset

2008-03-30 Thread Raja Nagendra Kumar
. Also, what is the way to access list of all the files which are selected using the script (groovy or so, based on the id). Regards, Nagendra Gilbert Rebhan wrote: > > Raja Nagendra Kumar wrote: >> I would like to know exact location of file given a fileset way to

read environment variables set by bat file, which is run by ant exec task

2008-04-30 Thread Raja Nagendra Kumar
Hi, Is it possible to read the properties which are set by bat file (this bat file is run with in ant using exec command. Basically teh bat file should run in the same process.. tried spam="false" in exec but does not work.. The above one should have all the properties as

Re: Replace string in file

2008-05-16 Thread Raja Nagendra Kumar
Use replace task Regards, Nagendra -- View this message in context: http://www.nabble.com/Replace-string-in-file-tp17187373p17281195.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsu

Decrare a property array

2008-05-16 Thread Raja Nagendra Kumar
property task would allow decraration of single name and value. However I would like to have a property which is like java hash map or String[][] double array. Is there a direct way to have such properties..(not looking to use groovey or some other script) Also, what is the way to have macro's de

Enforce order in copying so that my overiding works correctly

2008-07-23 Thread Raja Nagendra Kumar
Hi I am looking for files to copied to same directory from different locations as specified by fileset and its includes as below.

Re: Enforce order in copying so that my overiding works correctly

2008-07-24 Thread Raja Nagendra Kumar
Hi, Thank you for pointing to filelist. However filelist does not support selectors such as include and exclude. Are there ony future plans of supporting these patterns in filelist or else fileset to be orderset. Any ant developers pl. see if this could be a possible feature in future versions.

.properties inheritance

2008-07-24 Thread Raja Nagendra Kumar
Does properties files (either xml or .properties) files support some sort of inheritance. e.g if a.properties and b.properties exist, while loading b.properties, I would like to say in defination of b.properties to load a.properties too either before loading b or after loading b or while loading f

Way to unset perticular prefix properties

2008-07-24 Thread Raja Nagendra Kumar
Nagendra Kumar, C.T.O www.tejasoft.com - Experience Intellect. -- View this message in context: http://www.nabble.com/Way-to-unset-perticular-prefix-properties-tp18631235p18631235.html Sent from the Ant - Users mailing list archive at Nabble.com

RE: Way to unset perticular prefix properties

2008-07-24 Thread Raja Nagendra Kumar
, Nagendra Rebhan, Gilbert wrote: > > -Original Message- > From: Raja Nagendra Kumar [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 24, 2008 2:48 PM > To: user@ant.apache.org > Subject: Way to unset perticular prefix properties > > > /* > Hi, > Woul

${toString:lib.path.ref}

2008-09-04 Thread Raja Nagendra Kumar
. The 1.7.1 does not seem to understand the syntax ${toString:lib.path.ref}... Any leads to this regard would help. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -Offshore Product Development Experts -- View this message in context: http://www.nabble.com/%24%7BtoString%3Alib.path.ref%7D

Re: How to increase memory used by JVM in Ant

2009-03-03 Thread Raja Nagendra Kumar
Add this line in ant.bat first line.. set ANT_OPTS=-Xms256m -Xmx1024m -XX:MaxPermSize=120m Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/How-to-increase-memory-used-by-JVM-in-Ant-tp15499056p22308173.html Sent from the Ant - Users

antcontrib or antelope

2009-09-02 Thread Raja Nagendra Kumar
Hi, I see similar tasks from AntContrib and antelope. Which one is the right one and the latest one which is in having active development.. Some of the tasks in both seem to be different in signature too. Which one of these, this forum would suggest.. Regards, Raja Nagendra Kumar, C.T.O

Re: antcontrib or antelope

2009-09-03 Thread Raja Nagendra Kumar
ore. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/antcontrib-or-antelope-tp25269168p25271641.html Sent from the Ant - Users mailing list archive at Nabble.com. -

RE: RegEx support for include and exclude patterns

2009-09-03 Thread Raja Nagendra Kumar
Thank You Gilbert. -- View this message in context: http://www.nabble.com/RegEx-support-for-include-and-exclude-patterns-tp25277066p25277414.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscrib

RegEx support for include and exclude patterns

2009-09-03 Thread Raja Nagendra Kumar
Hi, Is there a feature in ant ... & tags of path like structures, filesets etc. Currently * and ** are supported which are simple enough for most cases, but for complex searches, we see the need for more powerful pattern matching. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft

how get ant implicit objects in groovy scripts

2009-09-05 Thread Raja Nagendra Kumar
final void printImplcitObject() { println(project); } This fails saying project undefined. Could any one tell me how to get these implicit objects with out having to pass them from build.xml files as method calling parameter. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this

ant target and -D options to ant task

2009-09-09 Thread Raja Nagendra Kumar
same args i.e -Dprop=10 clean deploy -debug is that possible. Regards Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/ant-target-and--D-options-to-ant-task-tp25368031p25368031.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: ant target and -D options to ant task

2009-09-13 Thread Raja Nagendra Kumar
I shall spilit the question into two: 1. is there a way to know what are the exact commands including system properties and targets and ant opts used to invoke the ant 2. is there a way to pass these value with in the ant task to invoke another build in the same way. -- View this message in

Re: how get ant implicit objects in groovy scripts

2009-09-13 Thread Raja Nagendra Kumar
Groovy experts.. pl. answer.. my scripts are becoming so bad that every method has one parameter project.. -- View this message in context: http://www.nabble.com/how-get-ant-implicit-objects-in-groovy-scripts-tp25311530p2542.html Sent from the Ant - Users mailing list archive at Nabble.com.

DirectoryScanner cache to boost performance

2009-09-13 Thread Raja Nagendra Kumar
search is avoided. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -Web 2.0 Excellence -- View this message in context: http://www.nabble.com/DirectoryScanner-cache-to-boost-performance-tp25422247p25422247.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: DirectoryScanner cache to boost performance

2009-09-15 Thread Raja Nagendra Kumar
. Some thing like DirectoryScanner.scan() and then call to getIncludedFiles() gives the files which are matching the criteria. Could pl. let me know how should I get the matched files from the Restrict. Regards, Raja Nagendra Kumar -- View this message in context: http://www.nabble.com

Re: DirectoryScanner cache to boost performance

2009-09-15 Thread Raja Nagendra Kumar
yep.. missed to discover this.. Also, Stefan, is there a way to use the include and exclude patterns as part of restrict.. just the name match is what we are looking far. e.g patterns we wish to use are similar to the one we use in FileSet include and excludes. Regards, Nagendra -- View th

Re: DirectoryScanner cache to boost performance

2009-09-26 Thread Raja Nagendra Kumar
Hi Stefan, Thank you very much for this suggestion. We thought over this approach and was able to replace the Directory Scanner with resource collection approach. This resulted in 50% savings in time.. one which use to take 2 min per device is now taking 1 min. Each of our build needs to run fo

Performance of Ant

2009-09-30 Thread Raja Nagendra Kumar
which does exactly this. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/Performance-of-Ant-%3Cantcall%3E-tp25676250p25676250.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: Performance of Ant

2009-09-30 Thread Raja Nagendra Kumar
, Raja Nagendra Kumar wrote: > >> On a professional product build scripts, we see the need for calling many >> times to call a particular target. However due to isolation >> level >> for this target calls.. there is a huge penalty on performance. > >> Is ther

properties echo with absolute values

2009-10-01 Thread Raja Nagendra Kumar
How to echo the absolution location of a property.. say should print the abosolute path of the key store file even if the value stored is ./build/tejasoft/keystore.ks etc. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com

Re: AW: properties echo with absolute values

2009-10-01 Thread Raja Nagendra Kumar
Hi Jan, In our context, we are using task to set this variable. Var does not seem to support location. Properties read only-set only once approach would not work with us, as this value would get chanced in each call to that target. I saw there are some thing like property hooks which supporting

Re: Performance of Ant

2009-10-01 Thread Raja Nagendra Kumar
) Regards, Nagendra Stefan Bodewig wrote: > > On 2009-09-30, Raja Nagendra Kumar wrote: > >> Yes, I could but I loose the flexibility of calling from command line. > > > > original-content-of-your-target > > > > > > > > &g

Re: Performance of Ant

2009-10-02 Thread Raja Nagendra Kumar
> Ant's goal is to be declarative in nature. O.k > I will note that the ant-contrib project provides a task to invoke a > target. O.k, thanks. Do I need to post this in ant-contrib forum. Regards, Nagendra -- View this message in context: http://www.nabble.com/Performance-of-Ant-%3Cantcall%

Re: Performance of Ant

2009-10-02 Thread Raja Nagendra Kumar
Hi Stefan I have put the summary of discussion and need for a new task as per this discussions in ant-contrib. The same is available at http://www.nabble.com/Need-for-a-new-task-to-call-the-target-without-isolation-to25714539.html Regards, Nagendra -- View this message in context: http://ww

Re: Performance of Ant

2009-10-02 Thread Raja Nagendra Kumar
Oops.. It is nice to know that ant-contrib already has it. -- View this message in context: http://www.nabble.com/Performance-of-Ant-%3Cantcall%3E-tp25676250p25716730.html Sent from the Ant - Users mailing list archive at Nabble.com.

Re: AW: AW: properties echo with absolute values

2009-10-05 Thread Raja Nagendra Kumar
ng.html#propertyHelper > > > Jan > >>-Ursprüngliche Nachricht- >>Von: Raja Nagendra Kumar [mailto:nagendra.r...@tejasoft.com] >>Gesendet: Freitag, 2. Oktober 2009 08:04 >>An: user@ant.apache.org >>Betreff: Re: AW: properties echo with absolute

Restrict to support includes and excludes like fileset

2009-10-06 Thread Raja Nagendra Kumar
Hi, As per the context of this thread.. http://www.nabble.com/forum/ViewPost.jtp?post=25438759&framed=y Looking for a similar way to filter the files based on the include and exclude patterns as we use for fileset. Looks like we neither don't understand the new api (and, nor, or) correctly or i

Not - design clarification

2009-10-06 Thread Raja Nagendra Kumar
fileset on restrict. Could any one help on the equivalent one. We have many includes and many excludes to be added to restrict. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/Not---design-clarification-tp25765938p25765938.html Sent from

org.apache.tools.ant.types.resources.Files

2009-10-06 Thread Raja Nagendra Kumar
, Raja Nagendra Kumar -- View this message in context: http://www.nabble.com/org.apache.tools.ant.types.resources.Files-tp25767900p25767900.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e

Patterns **/mem/**/** and **/mem/** are they not same

2009-10-06 Thread Raja Nagendra Kumar
say mem/abc/nag.gif etc. When we give the second pattern i.e **/mem/** it selects the files under mem directory. is **/*.* not mean zero or more directories it seems to behave like one or more directories. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context

Re: Patterns **/mem/**/** and **/mem/** are they not same

2009-10-06 Thread Raja Nagendra Kumar
Hi Stefan, O.k, may be there is a issue with restrict when the include pattern **/*.* it selects files which are at least one directory below. We shall try to provide you a test case. Regards, Nagendra Stefan Bodewig wrote: > > On 2009-10-06, Raja Nagendra Kumar wrote: > >>

Ant stype Pattern Matching api

2009-10-18 Thread Raja Nagendra Kumar
with index as 0 (the start index) I see SelectorUtils which does do exact match, but I am looking for indexOf kind of match. Any leads to such api pl if one exists. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/Ant-stype-Pattern

global setttings for fileset to be case insenstive

2009-10-22 Thread Raja Nagendra Kumar
Hi, Is it possible to make fileset casesenstive="no" by default. This should be globally true for all the fileset where ever it is used. Like the default excludes, does it have default cases senstive settings. Quick code look at fileset says no.. Regards, Nagendra www.tejasoft.com -- View thi

Re: global setttings for fileset to be case insenstive

2009-10-23 Thread Raja Nagendra Kumar
Thank you. This approach works only with the top level filesets only. Is not working with javac or copy etc. May be ant should have some unversal approach to allow the people to set the defaults to any ant task say in this context by setting the property default.fileset.casesensitive=true In

order of class search in path

2009-10-26 Thread Raja Nagendra Kumar
Hi, Does path task support retention of its elements order such as pathelement etc. If so, the order of finding the a class should be based on the order of jars,dir put inside path. Regards, Nagendra -- View this message in context: http://www.nabble.com/order-of-class-search-in-path-tp2607

Re: Ant style Pattern Matching api to find indexOf

2009-10-28 Thread Raja Nagendra Kumar
Any expert comments pl.. I want a api to know if say String "abc" exists as a sub string in the pattern "nag*bc" . Regards, Nagendra -- View this message in context: http://www.nabble.com/Ant-style-Pattern-Matching-api-to-find-indexOf-tp25947257p26092211.html Sent from the Ant - Users mailin

Re: Ant style Pattern Matching api to find indexOf

2009-10-28 Thread Raja Nagendra Kumar
Thank You Scot, I had a look at propertyregex, but this seems to support regex matching as per the regular expression standards. However, I am looking for ant style include, exclude pattern contains/indexof match. e.g in includes we could use * which is equivalent of saying [.]* or **/ to say any

Re: Ant style Pattern Matching api to find indexOf

2009-10-28 Thread Raja Nagendra Kumar
Hi Scot, True, I am looking for the same. i.e to know if a sub string abc exists in pattern "nag*bc" or "naga*" etc.. What I understand by looking at propertyregex is it can match and identify the patterns if nag*bc --> would have been nag .*bc, but nag*bc is ant fileset's include and exclud

Re: Ant style Pattern Matching api to find indexOf

2009-10-29 Thread Raja Nagendra Kumar
isCaseSensitive) I am looking if there is any method which says public static boolean containsString(String pattern, String aString2BeContained, boolean isCaseSensitive) Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http

macro scoping as private

2009-11-02 Thread Raja Nagendra Kumar
Hi, Is it possible to make a macro private.. meaning, the macro could be called by other ant script with in the same xml file.. and not be called by any other script defined else where and imported using task. I understand ant is close to C's functional approach..but not sure if there is a way

IDEA Project generation from ant

2009-11-03 Thread Raja Nagendra Kumar
Hi, Are there any ant tasks available to generate intellij and/or eclipse projects from ant target. I wish to provide the needed class and source paths. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/IDEA-Project-generation-from

Re: macro scoping as private

2009-11-03 Thread Raja Nagendra Kumar
O.k Thank you. >I haven't tested either whether macro definitions can be overriden (either within a task or within a file). I see macros can be overridden in the order they get loaded. Regards, Nagendra -- View this message in context: http://old.nabble.com/macro-scoping-as-private-tp2615667

Re: IDEA Project generation from ant

2009-11-03 Thread Raja Nagendra Kumar
> I generally only generate .classpath files Could you tell me how you archive this with ant >Try to keep it simple because most of the time you are just updating the dependencies of the project. This is perfect way.. could be archived by syncup with the existing ipr files. Yes, mostly clas

RE: IDEA Project generation from ant

2009-11-03 Thread Raja Nagendra Kumar
Hi Shawn, Thank you Shawn for sharing your macro. We shall start from here.. and see if we could write a good ant task based on this. Regards, Nagendra -- View this message in context: http://old.nabble.com/IDEA-Project-generation-from-ant-tp26160045p26191008.html Sent from the Ant - Users mai

Re: Class cast exception with executor - class loading issue

2009-11-09 Thread Raja Nagendra Kumar
Thank you both. Both your solutions are working. Regards, Nagendra -- View this message in context: http://old.nabble.com/Class-cast-exception-with-executor---class-loading-issue-tp26230483p26268142.html Sent from the Ant - Users mailing list archive at Nabble.com. --

How fail main ant (parent bulild.xml) to fail when custom task fails

2009-11-26 Thread Raja Nagendra Kumar
shows the error stack trace. Is there a way to propagate build failure of the child to parent though custom tasks. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/How-fail-main-ant-%28parent-bulild.xml%29-to-fail-when-custom-task-fails

Re: How fail main ant (parent bulild.xml) to fail when custom task fails

2009-12-03 Thread Raja Nagendra Kumar
Hi, Any info on this please.. I keep seeing some thing like this.. F:\tejasoft\work\foundation\common\tools\ant>ant Buildfile: build.xml [echo] File to Import: JSECommon.xml clean: doClean: [delete] Deleting directory F:\tejasoft\work\foundation\common\tools\ant\buil d src: [CFGProps

Build failure propogation

2009-12-06 Thread Raja Nagendra Kumar
child build file fails or custom task throws the exception) Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/Build-failure-propogation-tp2990p2990.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: Build failure propogation

2009-12-07 Thread Raja Nagendra Kumar
We use with in build file also in with custom task , we use ant class task as api. In this place it fails. new Ant() etc.. and calling execute() method. Regards, Nagendra -- View this message in context: http://old.nabble.com/Build-failure-propogation-tp2990p26675759.html Sent from the An

Re: Build failure propogation

2009-12-07 Thread Raja Nagendra Kumar
which uses to invoke next one.. Any other suggestions from others pl.. I think we need some help on error prorogation mechanism/design clues when mix of xml and custom tasks are used. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/Build

build.xml file scanning

2009-12-09 Thread Raja Nagendra Kumar
Hi, Looking to give the following user experience. We have directories in the following order A has sub dirs B which inrun has sub dir C. directory C has build.xml file. When the user runs ant from directory A or B (both these directories does not have build.xml) is it possible to say do you

How to know if a perticular macro is defined or not

2009-12-16 Thread Raja Nagendra Kumar
Hi, Which are the ant API we should use to know if a macro with name xyz is defined or not.. for knowing the existing of targets I can use project.getTargets() to check out is there a similar thing for macros. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in

How to know if a perticular macro is defined or not

2009-12-16 Thread Raja Nagendra Kumar
Hi, Which are the ant API we should use to know if a macro with name xyz is defined or not.. for knowing the existing of targets I can use project.getTargets() to check out is there a similar thing for macros. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in

Re: AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Raja Nagendra Kumar
Thank you jan. It may be good idea to have api to know the list of macros available too (it may be of help in few other contexts than this). Pl. consider this as a new requirement. Regards, Nagendra -- View this message in context: http://old.nabble.com/How-to-know-if-a-perticular-macro-is-de

Re: AW: AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Raja Nagendra Kumar
Thank you Jan. This solution is nice and straight. Regads, Nagendra -- View this message in context: http://old.nabble.com/How-to-know-if-a-perticular-macro-is-defined-or-not-tp26808155p26824142.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

should ant 'id' value be a static string

2009-12-18 Thread Raja Nagendra Kumar
I am doing any thing wrong here.. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/should-ant-%27id%27-value-be-a-static-string-tp26842763p26842763.html Sent from the Ant - Users mailing list archi

Re: AW: should ant 'id' value be a static string

2009-12-18 Thread Raja Nagendra Kumar
Nope.. that is surprising jan.. why such restriction.. I see the need for dynamic naming for id's, this approach could reduce passing of few parameters to macros specially which depend on class path and source path used to compile the java classes etc. Regards, Nagendra -- View this message i

RE: AW: should ant 'id' value be a static string

2009-12-18 Thread Raja Nagendra Kumar
Yep.. this approach works.. Thank you tom for this tip. As one kind of resolutions work and not other one.. for id's. Jan pl. let me know why such design.. Below is the example.. -- View this message in context: http://old.nabble.com/should-a

Re: should ant 'id' value be a static string

2009-12-21 Thread Raja Nagendra Kumar
Also, if one uses id as ${foo}, I am not sure if there a way to refer this.. as in all other places using ${foo} would get resolved to a value. Another point, not sure, if Bugs discovered at very late stages can be considered as BC in order to consider the fixes for the same. Pl. see if this co

Reading environment variables in ant script directly

2009-12-29 Thread Raja Nagendra Kumar
could avoid it. Also helps in managing few thing more smartly without this call each project. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/Reading-environment-variables-in-ant-script-directly-tp26964622p26964622.html Sent from the Ant

RE: Reading environment variables in ant script directly

2009-12-30 Thread Raja Nagendra Kumar
Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/Reading-environment-variables-in-ant-script-directly-tp26964622p26970528.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: Reading environment variables in ant script directly

2009-12-30 Thread Raja Nagendra Kumar
Sure joe, now I understand why we need to give a prefix. Joe, I was looking for why ant did not ant make all the environment variables available through some documented prefix notation rather by default rather than user adding this line in each build script. Regards, Nagendra -- View this mes

Re: Reading environment variables in ant script directly

2009-12-30 Thread Raja Nagendra Kumar
ay end up with other "boilerplate" declarations that you want in > all your build files. > > Regards, > > Antoine > > Raja Nagendra Kumar wrote: >> Sure joe, now I understand why we need to give a prefix. Joe, I was >> looking >> for why ant did not ant

Some thing seriously missing.. need help

2009-12-31 Thread Raja Nagendra Kumar
great help to us in the year 2009. Regards, Raja Nagendra Kumar, C.T.O www.tejsoft.com -- View this message in context: http://old.nabble.com/Some-thing-seriously-missing..-need-help-tp26977285p26977285.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: Some thing seriously missing.. need help

2010-01-01 Thread Raja Nagendra Kumar
Thank you supareno. True, it is working in the approach you mentioned.. however in my context it prints individual values correctly but not the double referenced one.. I am suspecting the following.. any experts could help in the exact context to reproduct 1. I am using Custom Executor 2. I am

Readonly ness of properties - Inconsistancy

2010-01-01 Thread Raja Nagendra Kumar
- looked at if this kind of inconsistency are o.k. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/Readonly-ness-of-properties---Inconsistancy-tp26990974p26990974.html Sent from the Ant - Users mailing list archive at Nabble.com

How to get reference of Fileset.defaultPatterns

2010-01-04 Thread Raja Nagendra Kumar
AbstractFileset. Is there any other ways to have the same info. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/How-to-get-reference-of-Fileset.defaultPatterns-tp27011895p27011895.html Sent from the Ant - Users mailing list archive at

enhancements

2010-01-17 Thread Raja Nagendra Kumar
one could point me to ant extensions which could do this job currently. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/%3Cimport%3E-enhancements-tp27197237p27197237.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: enhancements

2010-01-17 Thread Raja Nagendra Kumar
Nice to note 1.8 is on release path. Thank you Stephan. Regards, Nagendra -- View this message in context: http://old.nabble.com/%3Cimport%3E-enhancements-tp27197237p27197640.html Sent from the Ant - Users mailing list archive at Nabble.com. --

matching directory root

2010-01-25 Thread Raja Nagendra Kumar
Hi, I am looking to assign a value to a property which is the location of a directory. However, as the end intermediate location can change through users configuration.. I am looking to see if dirset has any way to help.. i.e < dirset dir="${search.dir.root}"> In this approach, assum

with refid to support further narrowing

2010-02-02 Thread Raja Nagendra Kumar
. Are there any good alternate approaches in this context. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/%3Cfileset%3E-with-refid-to-support-further-narrowing-tp27417405p27417405.html Sent from the Ant - Users mailing list archive at

Re: with refid to support further narrowing

2010-02-02 Thread Raja Nagendra Kumar
Stefan.. You are our ready reference of what ever I think ant could/should provide/be.. Thank you once again. Regards, Nagendra Stefan Bodewig wrote: > > On 2010-02-02, Raja Nagendra Kumar wrote: > >> >> > >> > >&

Re: with refid to support further narrowing

2010-02-03 Thread Raja Nagendra Kumar
Is it possible to convert the restricted files into new fileset with xyz id. We need fileset, because the task we are using supports only fileset as nested element. Regards, Nagendra Raja Nagendra Kumar wrote: > > Stefan.. You are our ready reference of what ever I think ant could/

Enums Support

2010-04-09 Thread Raja Nagendra Kumar
Hi, Is it possible to define a property which takes only X,Y, Z values.. and nothing more.. If any other thing is set for that property.. ant should give the error. Sort of Enums in Java.. so that any wrong setting would result in compiler error. Regards, Nagendra -- View this message in c

default directory for directory attribute tasks

2010-04-13 Thread Raja Nagendra Kumar
Hi, I am looking to see if all the tasks like filelist, fileset take the default directory as the directory of the ant file in which they are being refereed... e.g if I use instead I want to say Regards, Nagendra -- View this message in context: http:

filelist to support selections as per the fileset

2010-04-13 Thread Raja Nagendra Kumar
Hi, Any reason, why does not support include and excludes as in fileset. It would be very nice to have such support. Regards, Nagendra C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/filelist-to-support-selections-as-per-the-fileset-tp28228769p28228769.html Sent

  1   2   >