Re: Task writing: generic type support

2005-09-15 Thread Yves Martin
I copy tasks and types from one Ant project to another ? It is simple to do that with properties. I suppose it is not impossible to do that with tasks/types. I just ask for help to avoid to "waste" time into Ant internals hacking... but I will do it in case of non response. T

Re: Task writing: generic type support

2005-09-12 Thread Yves Martin
Like taskdef and typedef... The plugin project has been "forked" from the main Ant project. How can I (programmatically speaking) transfer taskdef/typedef from the plugin project to the main project ? Regards, -- Yves Martin ---

Re: Task writing: generic type support

2005-09-06 Thread Yves Martin
ay to propagate typedef/taskdef/antlib from a project to another project ? Of course, I have access to ClassLoader and anything I want... Regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Task writing: generic type support

2005-09-05 Thread Yves Martin
Or such a method is not supported ? Thank you in advance for your help -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Subversion migration?

2005-08-30 Thread Yves Martin
install a post-commit hook in subversion to keep cvs up-to-date even with read-only access: http://sam.zoy.org/writings/programming/svn2cvs.html Regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is it possible to get the CPU usage and memory usage from JAVA?

2005-08-25 Thread Yves Martin
your command line - the command line by itself does not consume CPU or memory) On which operating system do you want to monitor processes ? -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: How to "propagate" task definition

2005-03-23 Thread Yves Martin
Yves Martin <[EMAIL PROTECTED]> writes: >Hello, > > I have a issue in the following context: > >A project 'A' call my task 'plugin' that creates a sub-project 'B' 'B' can >see task definitions from 'A

How to "propagate" task definition

2005-03-23 Thread Yves Martin
with project location ??? - read DataTypeDefinitions from child component helper to add them in 'A'. But I do not find 'antlib:mydomain:mytask' in my log ??? What's the best way to implement such a mechanism ? Thank you in advance for your help Regards -- Yves Martin ---

Re: Launching Ant again

2005-03-02 Thread Yves Martin
out-of-date > 2. imports build-targets.xml That's an option. I will try. But I think '-projecthelp' command will have difficulty to report all available targets if the default build.xml is used. Thank you for your idea -- Yves Martin ---

Launching Ant again

2005-03-01 Thread Yves Martin
asible. But how can I get the current process command line to invoke a new Ant ? Is there another way to do the complete process or only one step ? Thank you in advance for your help Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ant result

2005-03-01 Thread Yves Martin
: 0 if successful 1 if BuildException n if ExitStatusException was caught Details are available in org.apache.tools.ant.Main.startAnt Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: loop with ant

2005-03-01 Thread Yves Martin
UserProperty' as a work-around. Maybe the use of Ant Contrib loop/for task may help you. Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Bug 32745: include patch and close.

2005-02-21 Thread Yves Martin
Hello, I have proposed a patch for that issue (in fact detected with a @bug comment in junit-frames.xsl). Has anyone 10 minutes to review the patch and include it ? Thank you in advance. Regards, -- Yves Martin - To

Re: Patch proposal for 1.6.3: parse a Ant project from a resource

2005-02-02 Thread Yves Martin
Nicola Ken Barozzi <[EMAIL PROTECTED]> writes: > Yves Martin wrote: >> "Jose Alberto Fernandez" <[EMAIL PROTECTED]> writes: > ... >>>Of course, if such a place needs to exists for you to >>>store the other files in your project, then the que

How to scan files in a jar file ?

2005-02-01 Thread Yves Martin
Hello, I would like to create the list of resources stored in a jar file which match patterns - like FileSet and DirectoryScanner does but directly on a jar without unpacking it of course. Thank you in avdance for your help -- Yves Martin

Re: Patch proposal for 1.6.3: parse a Ant project from a resource

2005-02-01 Thread Yves Martin
e now. If my patch proposal is not accepted when 1.6.3 comes out, I will have to copy/paste the ProjectHelper2 in my core classes to disable that exception throwing. Thanks for your help -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Patch proposal for 1.6.3: parse a Ant project from a resource

2005-01-27 Thread Yves Martin
that never occurs finally (as far as import url is not implemented as your said) ! Many thanks in advance -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Patch proposal for 1.6.3: parse a Ant project from a resource

2005-01-27 Thread Yves Martin
Yves Martin <[EMAIL PROTECTED]> writes: >Hello, > > I'm writing a task which aim is to parse a Ant Project with 'helper.parse(p, > myURL)' > > It works well when myURL is a File on disk - but it failed with "Source not > supported by this

How to parse a Ant project from a resource ?

2005-01-27 Thread Yves Martin
r2 designed to load a URL resource. What is the simplest way to get the equivalent of 'helper.parse(p, myFile)' but in my case with 'helper.parse(p, myURL)' ? I would like to avoid to inherit from ProjectHelper2 to work-around the check that failed. Ma

Proposal: improve 'whichresource' features

2005-01-07 Thread Yves Martin
ecification is not enough: it has to understand some protocols to be able to remove "!..." part in case of "jar:" protocol for instance. What do you think about that idea ? I'm ready to work on it if ok. Or else I will have to create my own task. Thank you in advan

Re: JUnitTask is too complex

2004-12-15 Thread Yves Martin
ty is an extremely important asset around Ant. You're right and I'm aware of it. But why not create a junit2 and made junit deprecated ? Wasn't it done for javadoc long time ago ? I think another way to convince you may be to find many bugs in the current implement

Bug in JUnitReport: multiple reports of the same testcase

2004-12-15 Thread Yves Martin
into 'junitreport' to find a work-around or a clean correction. In my opinion, the per test case HTML file should keep the original report file name to avoid such conflicts. What do you think about it ? Is it already known ? Is it planned to correct it ? Thank you in advance Regards,

JUnitTask is too complex

2004-12-15 Thread Yves Martin
from a test case set to another... But I find it a good think ! What is your opinion ? Is it worth to create a simpler 'junit' task ? Regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Internal AntCall and references

2004-12-15 Thread Yves Martin
Stefan Bodewig <[EMAIL PROTECTED]> writes: > On Mon, 13 Dec 2004, Yves Martin <[EMAIL PROTECTED]> wrote: > >> To clean it, I decided to use project references but it does not >> work with 'antcall': > > This is because you set the reference in a dif

Internal AntCall and references

2004-12-14 Thread Yves Martin
antcall B MyTask{getReference X} target B MyTask{setReference X} Is there a better way to implement a global storage ? Thank you in advance. Regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Common code in JavaTask and JUnitTask

2004-12-14 Thread Yves Martin
s far as JUnitTask does not inherit from JavaTask (what I expected intuitively). Is there any reason not make JUnitTask inherit from JavaTask ? If none, is it possible that I do the job and submit here ? Regards -- Yves Martin

How can I get the ClassLoader that loaded a URI ?

2004-11-25 Thread Yves Martin
I lookup for a URI ClassLoader ? Thanks in advance. 'myclass' and 'bclass' are not tasks but simple POJO. If they were tasks, it is "easy" to execute them from its respective URI. I'm looking for a way to keep them POJO. Best regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]