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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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.
--
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
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
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
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
>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
>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
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://
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
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
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
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
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
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
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
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
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.
--
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
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
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
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
-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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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("."));
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
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
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:
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
60 matches
Mail list logo