Force all location properties to be resolved in Unix Style

2012-06-11 Thread Raja Nagendra Kumar
paths should use separator / rather than os specific one.. Is that possible through some global property Regards, Raja Nagendra Kumar C.T.O www.tejasoft.com -- View this message in context: http://ant.1045680.n5.nabble.com/Force-all-location-properties-to-be-resolved-in-Unix-Style-tp5713314

Re: JavaDoc and API matching issue

2010-06-04 Thread Raja Nagendra Kumar
Thank you. -- View this message in context: http://old.nabble.com/JavaDoc-and-API-matching-issue-tp28778760p28780688.html Sent from the Ant - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@an

JavaDoc and API matching issue

2010-06-04 Thread Raja Nagendra Kumar
I am looking for setId() method to use it in my custom ant task. The api I am using is in package org.apache.tools.ant.types.FileList; Could any one help where is the gap pl. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/JavaDoc-an

Refactoring of ant scripts

2010-04-19 Thread Raja Nagendra Kumar
ce to capture much more such needs of writing refactoring friendly needs from others and give a big push to ant tasks design. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -The Java Code Audit Experts 'We Report, You Decide' -- View this message in context: http://old.nabble.com/Ref

Iteration of ant properties in the same natural order

2010-04-18 Thread Raja Nagendra Kumar
Hi, Does ant api has any class, which read ant/java properties files and allows the iteration in the same order they were present in the original file. e.g if the properties a=k b=c d=10 etc exists..My iterator for the properties should give me the keys in the order of a,b,d.. I was looking a

refactoring

2010-04-18 Thread Raja Nagendra Kumar
There are 4 references to the encoding string "ISO-8859-1" in ant source code.. may be it is good to introduce a constant.. 1 in org.apache.tools.ant.filters.ClassConstants 3 in org.apache.tools.ant.util.LayoutPreservingProperties Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com

Re: [VOTE] name for target-group

2010-01-04 Thread Raja Nagendra Kumar
and It is good not have '-' is not a general convention in ant tasks. regarding the alternate syntax of may have impact in future, if in future one may have macrogroup or other groups etc.. better way for the same with future proof would be Regards, Raja Nagendra Ku

Re: Naming of target-group

2009-12-19 Thread Raja Nagendra Kumar
How about some thing like or -- View this message in context: http://old.nabble.com/Naming-of-target-group-tp26844828p26854047.html Sent from the Ant - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Ant properties access based Object notation rather than script based

2009-12-09 Thread Raja Nagendra Kumar
true, project.setProperty() does allow overides and setNewProperty() is read only/set only once method. Regards, Nagendra -- View this message in context: http://old.nabble.com/Ant-properties-access-based-Object-notation-rather-than-script-based-tp26688713p26722475.html Sent from the Ant - Dev

Re: Ant properties access based Object notation rather than script based

2009-12-09 Thread Raja Nagendra Kumar
Tried to use this feature of nightly build of ant 1.8 and understand that still there is a issue in custom tasks. Is there a replacement for Variable task of ant contrib as Variable task is not adopted to ant 1.8 Property helpers and hence the interface methods are not called yet. Regards, Nage

Re: Ant properties access based Object notation rather than script based

2009-12-07 Thread Raja Nagendra Kumar
Wow.. good to know about adding of Custom property definition and resolution features in the 1.8.x.. Stefan, are there any time line for 1.8.. I see many people asking the same thing but no clear answer we see. Regards, Nagendra -- View this message in context: http://old.nabble.com/Ant-proper

Ant properties access based Object notation rather than script based

2009-12-07 Thread Raja Nagendra Kumar
Hi, My thoughts are still vague.. thought to share this with ant dev and making it better based on all your reply.. Currently I see the toughest thing in managing the huge ant scripts is remembering property names and referencing to them. The issues I see are 1. properties can be declared thou

Re: Feature Request - Executor setting though the script

2009-11-05 Thread Raja Nagendra Kumar
class' instead of 'ant.executor' .. Not sure why such difference.. Stefan, is this approach works with all other ANT_ARGS, such as -listener etc.. if yes, could you let me know how to find the respective id name. Trying to get to know org.apache.tools.ant.Main better. Regards, Raja N

doFileOperations() and doResourceOperations in Copy task impl.

2009-10-17 Thread Raja Nagendra Kumar
case the file has reference to ant properties. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/doFileOperations%28%29-and-doResourceOperations-in-Copy-task-impl.-tp25940536p25940536.html Sent from the Ant - Dev mailing list archive at

Javac or a New Task (ClassSourceCopy) with Source Files Copy option

2009-10-02 Thread Raja Nagendra Kumar
vac.exe of sun does this. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/Javac-or-a-New-Task--%28ClassSourceCopy%29-with-Source-Files-Copy-option-tp25712826p25712826.html Sent from the Ant - Dev mailing list archive at

Re: project.replaceProperties()

2009-09-30 Thread Raja Nagendra Kumar
Nice to know that good changes happening in the next release of ant. Thank you Stefan. Regards, Nagendra -- View this message in context: http://www.nabble.com/project.replaceProperties%28%29-tp25631397p25677980.html Sent from the Ant - Dev mailing list archive at Nabble.com. --

Re: project.replaceProperties()

2009-09-30 Thread Raja Nagendra Kumar
ant code. Pl. observe that there is misbehavior of replace properties.. i.e 2nd one gets replaced but not the first one.. May be it would be nice for properties and replaceProperties to support such multi level property resolutions. We are seeing such need to define the properties based

project.replaceProperties()

2009-09-27 Thread Raja Nagendra Kumar
In a custom task, when using replaceProperties() method is replacing the all the properties, including those does exist. For properties which does not exist, it replace them with null. Would it be possible to control not to touch upon those properties which does not exist. Regards, Raja Nagendra

Expression lanauge for ant

2009-09-26 Thread Raja Nagendra Kumar
plain java, custom ant and other web applications (I am aware of jsp el for web applications). We are looking for somthing unversal at base and all others are built on this unversal one.. as extensions and it should be easy to learn and well supported opensource. Regards, Nagendra Raja Nagendra

Performance of Ant Move

2009-09-25 Thread Raja Nagendra Kumar
Hi, We are observing ant move is way too much time for directory renaming with contents more than 100mb. How efficient is move for rename of directory names with the same parent. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com

Re: SubAnt performance

2009-09-25 Thread Raja Nagendra Kumar
>Then I'd think subant is the wrong task in that context. I don't > understand why you'd be calling subant "on yourself" anyway. we have a target like 'clean' which deletes current directories 'build' folder and calls all the sub directories clean target. The sub directories build build file cal

Re: SubAnt performance

2009-09-24 Thread Raja Nagendra Kumar
>isolation between the calling and thecalled project. stefan, it is true of inherit* properties, however here are some scenarios 1. The developers may want to call clean, startTomcat... etc and some other targets from root to all the sub directories. However module developers are more intereste

SubAnt performance

2009-09-24 Thread Raja Nagendra Kumar
Hi, Currently I see is launching new ant even if the build file is same as the current one being executed. Would it not be more fast to excute the target in the current ant process it self, provided build file and directory are same. Regards, Nagendra -- View this message in context: http://

Re: OS Independent file strings in resourcecollections

2009-09-17 Thread Raja Nagendra Kumar
Hi Stefan as suggested I have filed the issue and the same is found at https://issues.apache.org/bugzilla/show_bug.cgi?id=47858 Regards, Nagendra -- View this message in context: http://www.nabble.com/OS-Independent-file-strings-in-resourcecollections-tp25486284p25489409.html Sent from the Ant

OS Independent file strings in resourcecollections

2009-09-17 Thread Raja Nagendra Kumar
Hi, I am using ResourceCollections such as Union etc. However when ever I iterate, I am seeing the file names be as per the OS conventions. e.g if the file on windows matches to the collections and it is located in f:\work\nag\test.txt the the union iterator gives it as f:\work\nag\test.txt a

Re: AW: Peformance Task usage from custom task

2009-09-03 Thread Raja Nagendra Kumar
AntPerformanceListener or BuildListener towards TaskPerfListener level rather than entire build level.. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/Peformance-Task-usage-from-custom-task-tp25260860p25271781.html Sent from the

Re: AW: how to call a predefined target or macroin build.xml from Custom Ant task

2009-09-03 Thread Raja Nagendra Kumar
many times). Regards, Raja Nagendra Kumar TejaSoft -- View this message in context: http://www.nabble.com/how-to-call-a-predefined-target-or-macroin-build.xml-from-Custom-Ant-task-tp25260761p25271525.html Sent from the Ant - Dev mailing list archive at Nabble.com

Re: Peformance Task usage from custom task

2009-09-02 Thread Raja Nagendra Kumar
Hi Dale, Thank you for the pointer. Tried this in custom ant askgetProject().addBuildListener(new net.sf.antcontrib.perf.AntPerformanceListener()); this at the end of the build give the below exception.. java.lang.NullPointerException at net.sf.antcontrib.perf.AntPerformanceLis

Re: how to call a predefined target or macroin build.xml from Custom Ant task

2009-09-02 Thread Raja Nagendra Kumar
Hi, I see there is a way to execut target using getProject().executeTarget().. but don't find a way to execute the macro. Any pointers pl. Regards, Nagendra -- View this message in context: http://www.nabble.com/how-to-call-a-predefined-target-or-macroin-build.xml-from-Custom-Ant-task-tp252

Peformance Task usage from custom task

2009-09-02 Thread Raja Nagendra Kumar
it once that is executed. Also, I am not interested to change the ant launch time parameters as this would impact entire build completion and not ideal for our needs. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/Peformance-Task

how to call a predefined target or macroin build.xml from Custom Ant task

2009-09-02 Thread Raja Nagendra Kumar
calling one target from other either by depends. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/how-to-call-a-predefined-target-or-macroin-build.xml-from-Custom-Ant-task-tp25260761p25260761.html Sent from the Ant - Dev mailing list

Re: Fetch properties with name matching to a regular expression

2009-09-01 Thread Raja Nagendra Kumar
Thank You Jeffrey.. this is exactly what I am looking far.. -- View this message in context: http://www.nabble.com/Fetch-properties-with-name-matching-to-a-regular-expression-tp25250557p25252566.html Sent from the Ant - Dev mailing list archive at Nabble.com. --

Fetch properties with name matching to a regular expression

2009-09-01 Thread Raja Nagendra Kumar
exists.. considering to use that. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -Offshore Java Product Services Excellence -- View this message in context: http://www.nabble.com/Fetch-properties-with-name-matching-to-a-regular-expression-tp25250557p25250557.html Sent from the Ant - Dev

Ant XML Files precompilation

2009-08-06 Thread Raja Nagendra Kumar
e and use the class files rest of the time etc.. Some thing in lines to pre-compilation of jsp is there any thing for ant xml files pre-compilation. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -Offshore Mobile Applications Excellence -- View this message in context: http://www.nabble.co

target call info, even when the if condition not met

2009-08-01 Thread Raja Nagendra Kumar
the console skipping the target call copyPrepocessingFiles etc. Pl. see if such change makes sense for the next release Regards, Raja Nagendra Kumar, www.tejasoft.com -- View this message in context: http://www.nabble.com/target-call-info%2C-even-when-the-if-condition-not-met-tp24769843p24769843

Re: Ant IDE Integration API to ease IDE plugin or any generic plugin development

2009-04-10 Thread Raja Nagendra Kumar
Few Other Query needs are 1. Is certain property is set if yes, what is its value 2. What are the error areas on the script.. so that IDE could highlight 3. Where is the property xyz defined -- View this message in context: http://www.nabble.com/Ant-IDE-Integration-API-to-ease-IDE-plugin-or-a

Re: AW: ant -p does not list all the targets

2009-04-10 Thread Raja Nagendra Kumar
-v does give more info including Other targets. But it has lot of unwanted debug kind of into too. Like the proposed -pa do we have any thing to get the list of macros, if no could you consider. -- View this message in context: http://www.nabble.com/ant--p-does-not-list-all-the-targets-tp22861

Ant IDE Integration API to ease IDE plugin or any generic plugin development

2009-04-10 Thread Raja Nagendra Kumar
changes each ide's had to do lot of job. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/Ant-IDE-Integration-API-to-ease-IDE-plugin-or-any-generic-plugin-development-tp22986009p22986009.html Sent from the Ant - Dev mailing list ar

support programatic resolving of properties files

2009-04-10 Thread Raja Nagendra Kumar
there is a way to custom resolve the properties, pl. guide.. we wish to resolve them with business logic or naming conventions related to our work. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com f...@tejasoft.com -- View this message in context: http://www.nabble.com/support-programatic

Re: IDE's integration with Ant any clues

2009-04-04 Thread Raja Nagendra Kumar
osure to ease IDE integration support. Jesse, I did not understand - (Calling into Ant code merely for browsing would be pose security and reliability issues.) , could pl. explain. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/ID

IDE's integration with Ant any clues

2009-04-03 Thread Raja Nagendra Kumar
e e.g setting the ant out redirection, query the ant api to get the list of targets etc. In case no, I assume that each IDE vendor must be writing their own xml parser to get these details etc. If no, are there any plans to extend ant api for IDE plugin developers in future. Regards, Raja Nagendra

ant -p does not list all the targets

2009-04-02 Thread Raja Nagendra Kumar
Ant -p lists only the targests which has a description attribute value set. Is there any other command to simply see the list of targets even if the description tag is not set. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/ant

Project Specific Classpath to customise ant

2009-04-02 Thread Raja Nagendra Kumar
a way to tell ant the path it should look for Some think like the way we define the jars for taskdef. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/Project-Specific-Classpath-to-customise-ant-tp22849190p22849190

Re: Ant arguments handling (Virtual Ant Targets handling using custom code)

2009-04-02 Thread Raja Nagendra Kumar
Hi, Jan, we are trying to set our own executor, however we are phasing the following issues * it looks like we need to place the custom executor calss in ant lib folder - Is there a way to tell the ant to look for my project libraries to find this custom executor * What is the default Execut

Re: AW: Ant arguments handling

2009-04-01 Thread Raja Nagendra Kumar
Thank You Jan, This details of yours and Ant support to meet such needs is simple and helps us to designg a powerver target handling system for our Mobile Development/Porting Product Development Platform. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context

Ant arguments handling

2009-04-01 Thread Raja Nagendra Kumar
w the right place to get more info on this. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/Ant-arguments-handling-tp22827023p22827023.html Sent from the Ant - Dev mailing list a

Re: FileSet with copy fails with NPE..

2008-12-15 Thread Raja Nagendra Kumar
Ok Jeff. I take the documentation of the base and close this.. Though I would personally loved this to be resolved differently by way of parent and child approach or by some global defaults automatically initialized in this context. Regards, Nagendra Jeffrey E Care wrote: > > Raja Na

Re: FileSet with copy fails with NPE..

2008-12-15 Thread Raja Nagendra Kumar
execution etc.. Regards, Nagendra Stefan Bodewig wrote: > > On 2008-12-12, Raja Nagendra Kumar wrote: > >> However Stefan, not able to convince on why this can't be done >> automatically, as it is so obvious that new Copy Object is created while >> wring the cutom ta

Re: FileSet with copy fails with NPE..

2008-12-12 Thread Raja Nagendra Kumar
issue was.. that if I am able to convey to respective ant developers, I think I am done. Regards, Nagendra Jeffrey E Care wrote: > > Raja Nagendra Kumar wrote on 12/12/2008 > 09:00:57 AM: > >> Still not clear, why should the custom task developer know these, whe

Re: FileSet with copy fails with NPE..

2008-12-12 Thread Raja Nagendra Kumar
Steve Loughran wrote: > > Raja Nagendra Kumar wrote: >> Pl. find the fix for the same in ProjectComponent >> >> We are defining a GOBAL_DEFAULT_PROJECT which would be same as the first >> non >> null setProject call parameter. >> >> get

Re: FileSet with copy fails with NPE..

2008-12-11 Thread Raja Nagendra Kumar
t and it gets invoked though custom xml tags only in build file only. I understand of explicit initialisation, if used as libarary in normal java applications. Regards, Nagendra Stefan Bodewig wrote: > > On 2008-12-11, Raja Nagendra Kumar wrote: > >> Based on lifecycle lin

Re: FileSet with copy fails with NPE..

2008-12-11 Thread Raja Nagendra Kumar
I understand initialisation is very impl. however if this could come free from parent.. then it is better..so trying to make the fix in those lines.. -- View this message in context: http://www.nabble.com/FileSet-with-copy-fails-with-NPE..-tp20935877p20951392.html Sent from the Ant - Dev mailing

Re: FileSet with copy fails with NPE..

2008-12-11 Thread Raja Nagendra Kumar
rovide me details on the classes to look for this, I shall try providing fix based on that understanding. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com Stefan Bodewig wrote: > > On 2008-12-11, Raja Nagendra Kumar <[EMAIL PROTECTED]> wrote: > >> Pl. find the fix fo

Re: FileSet with copy fails with NPE..

2008-12-10 Thread Raja Nagendra Kumar
point me to the location of where custome tags creating is junit tested in the ant sources pl. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -A Competent Java Product Development Team -- View this message in context: http://www.nabble.com/FileSet-with-copy-fails-with-NPE..-tp20935

Re: FileSet with copy fails with NPE..

2008-12-10 Thread Raja Nagendra Kumar
rameter passed to it. Not sure, why the project is passed as parameter..(may be I don't understand the need due to my currrent limited understanding) Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -A Competent Java Specialized Product Development Team. -- View this

FileSet with copy fails with NPE..

2008-12-10 Thread Raja Nagendra Kumar
Hi, We are writing ant task, which needs to copy files based on fileset defination like this.. Copy c = createCopyTask(); FileSet fs = new FileSet(); fs.setProject(getProject()); fs.setDir(new File("."));

import ask to support path structures

2008-03-29 Thread Raja Nagendra Kumar
It may be a good value, if import supports fileset or any path structures to disover list of files it needs to import. e.g Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http

instert or append a new line using replace task

2005-05-25 Thread Raja Nagendra Kumar
Hi All, I am looking for a solution on how to add a new line to existing file as a fall back approach I want to use replace as below to add the new line Enable-Cheat-Codes: true But \n in the new replaced string is not interpreted as new line. Any help please.. or

Re: Ant Jar doubt

2005-04-12 Thread Raja Nagendra Kumar
Hi, Thanks for the reply. My reply in-line - Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, April 12, 2005 4:41 PM Subject: Re: Ant Jar doubt > Raja Nagendra Kumar wrote:

Ant Jar doubt

2005-04-12 Thread Raja Nagendra Kumar
Hi, When ever we jar I see in the manifest 'Ant-Version: Apache Ant 1.6.2' this line. Could any one tell me how to avoid this. And also I want to put few properties of mine in a way the squence of these properties are maintinated in manifest. My observation here is sqence is altered. Thank you in