RE: Conditional dependencies

2007-03-20 Thread Yves Martin
a target to be executed according to "no.TARGET" properties for instance. For the moment, it really sounds like a ugly hack as far as a listener is not designed to prevent a target execution but it is a way. Regards -- Yves Martin --

Re: What does it mean

2006-03-10 Thread Yves Martin
s "response", so it has been translated into "aw", contraction of "antword". Regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Which command line parameter could get all targets' name in build.xml ?

2006-01-03 Thread Yves Martin
Wascally Wabbit <[EMAIL PROTECTED]> writes: > ant -projecthelp gives list of public targets for build.xml in current > directory. (Use -f to name alternative build script.) You may also use ant -v -projecthelp to get all targets (public and internal) Regards, --

Re: Support any type inclusion

2005-11-07 Thread Yves Martin
Yves Martin <[EMAIL PROTECTED]> writes: > Stefan Bodewig <[EMAIL PROTECTED]> writes: > >> On Fri, 04 Nov 2005, Yves Martin <[EMAIL PROTECTED]> wrote: >> >>> I have tried add(DataType) but it does not work (or I made a >>> mistake) with Ant 1

Re: Support any type inclusion

2005-11-07 Thread Yves Martin
Stefan Bodewig <[EMAIL PROTECTED]> writes: > On Fri, 04 Nov 2005, Yves Martin <[EMAIL PROTECTED]> wrote: > >> I have tried add(DataType) but it does not work (or I made a >> mistake) with Ant 1.6.5 > > What does "does not work" mean? Do you get

Support any type inclusion

2005-11-04 Thread Yves Martin
take) with Ant 1.6.5 Is it really possible ? Thank you in advance -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-02 Thread Yves Martin
and Ant tasks. http://sourceforge.net/projects/el4ant/ It is usable (since january) but I'm aware many improvements are possible. -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[HS] EL4Ant 0.9.2

2005-10-31 Thread Yves Martin
written quickly. Look at the 'demoplugin' in source package and read the developer's guide. Do not hesitate to publish on sourceforge forum to get more information Regards -- Yves Martin - To unsubscribe, e-ma

Re: wanted ideas for managing project build dependancies..

2005-09-07 Thread Yves Martin
Soon to come 'el4ant': http://sourceforge.net/projects/el4ant 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: Zip and empty directory

2005-03-30 Thread Yves Martin
s the file set is empty, the prefix is not stored at all in the zip as a directory entry. > -Original Message- > From: Yves Martin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 30, 2005 2:51 AM > To: user@ant.apache.org > Subject: Zip and empty directory > >

Zip and empty directory

2005-03-29 Thread Yves Martin
Thank you in advance. Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Configuring a custom task

2005-03-29 Thread Yves Martin
t once, e.g. set a property, and have the task always look > for a property of that name. Is there a convention here? I'm not sure to have well understand your idea but you may move your 'propery' task out of the target - so it is common to all targets. -- Yves Martin

Re: Tomcat start/stop tasks don't work for Tomcat 5.5

2005-03-29 Thread Yves Martin
'stop' tasks are designed to start or stop an application (referred by the context) in a running Tomcat... not to start or stop the Tomcat server itself. To be confirmed. -- Yves Martin - To unsubscribe, e-mail: [

Transparent access to files/resources

2005-03-17 Thread Yves Martin
Regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ant task to get port number

2005-03-16 Thread Yves Martin
t; Thanks in advance. The easiest way is to get it from server/default/conf/jboss-service.xml (I checked in JBoss 3.2 - but in fact jboss open many ports !!). A simple XSLT may be used... Regards, -- Yves Martin - To

Re: cvs task emailing on merge

2005-02-22 Thread Yves Martin
Yves Martin <[EMAIL PROTECTED]> writes: > blackwater dev <[EMAIL PROTECTED]> writes: > >> How can I have the cvs task email me about merges and not try to do them? > > You should use: > > > And then parse "file.txt" to look for merge or c

Re: cvs task emailing on merge

2005-02-22 Thread Yves Martin
blackwater dev <[EMAIL PROTECTED]> writes: > How can I have the cvs task email me about merges and not try to do them? You should use: And then parse "file.txt" to look for merge or conflict operations. If yes, send a mail, if no repeat the command with '-n'

Re: cvs checkout

2005-02-21 Thread Yves Martin
pollywog/A pollywog-C -d C pollywog/A Now the following command will work as you expects (I hope so): But of course, you have maintenance to do on CVSROOT/modules when a directory appears or goes out. I have no better solution t

Re: cvs checkout

2005-02-21 Thread Yves Martin
of the files under pollywog but not the actual > root folder of pollywog...can I specify this in the task? You should invoke cvs that way: Regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: When do I need to explicitly convert the ${...}'s

2005-02-16 Thread Yves Martin
needs), you have to work around the property replacement. You can define your API to ask a property like inputDate="TODAY" and do the job considering inputDate is a property name. Regards, -- Yves Martin - To uns

Re: extssh cvs connect

2005-02-16 Thread Yves Martin
blackwater dev <[EMAIL PROTECTED]> writes: > Hello, > > I am trying to connect to cvs via ant and am using this line in the cvs task: > cvsRoot=":extssh:[EMAIL PROTECTED]:/usr/local" > > But I get the error: > > [cvs] cvs checkout: Unknown method (`extssh') in CVSROOT. > and then bad cvsRoot

Re: Maven style project description delegating to Ant.

2005-02-14 Thread Yves Martin
asses, 5 Ant build files (1 bootstrap and 4 plugins) and 1 property file. I think it covers really common needs but "negotiation" is in progress to publish it as open source... I will let you know here when published. Regards -- Yves Martin --

A project for GUI input ?

2005-02-09 Thread Yves Martin
Hello, Somebody announced here a project that provides a kind of 'input' tasks but with graphical interface. Can you remember me the name and the URL of that project ? Thank you in advance. Regards -- Y

How to unzip files and set read-only mode ?

2005-02-02 Thread Yves Martin
, Win32, ...) - so the chmod does not suit my needs. Does unzip preserve stored access rights when unpacking ? Is it possible to set access rights in a zip with 'zip' task ? Thank you in advance Regards, -- Yves Martin --

Re: java.io.IOException: exectable not found

2005-01-20 Thread Yves Martin
that way. 'wscomiple.sh' seems strange to me. -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

'Java' fork information

2005-01-12 Thread Yves Martin
: when the limit is exceeded, the Runtime.exec method never returns: the JVM process sleeps for ever and no child comes up ?!? Hope this helps on day -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Want to build under multiple JDKs

2005-01-07 Thread Yves Martin
- do your own task to parse the PATH environment variable - and test if a 'javac' executable file is available in each directory, - query for its version and select the right one according to your criteria An interesting menu, isn't it ? Regards, -- Yves Martin

Re: How to get the jar file of a resource ?

2005-01-07 Thread Yves Martin
Yves Martin <[EMAIL PROTECTED]> writes: > > > > from="jar:file:*!/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.class" > to="*"/> > > > Have you got a way to work-around that issue with Windows ? Finally

Re: Ant custom task

2005-01-07 Thread Yves Martin
ib directory) will be loaded in a dedicated AntClassLoader by typedef. You will see the Ant JVM classpath, plus the classpath specified in typedef and that's all. If needed, your task should have a specific 'classpath' attribute to work with it. The method signature will

Re: How to get the jar file of a resource ?

2005-01-07 Thread Yves Martin
Stefan Bodewig <[EMAIL PROTECTED]> writes: > On Fri, 17 Dec 2004, Yves Martin <[EMAIL PROTECTED]> wrote: > >> My idea is too limit the ClassPath to the strict needed jars - so I >> do not want to use ${java.class.path} in the forked JVM ClassPath. > > has

Re: Typdef/taskdef behaviour and introspection

2005-01-05 Thread Yves Martin
sLoader and use directly the javax.xml.transform factory ! Warning: I do not test the code myself. I'm interested to know if you succeeded. Hope this helps Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to get the jar file of a resource ?

2004-12-17 Thread Yves Martin
ClassPath ? I would have expected an additionnal attribute in whichresource for instance ignoreref="true". Thank you in advance for your help -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: maven

2004-12-15 Thread Yves Martin
improved. Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven

2004-12-15 Thread Yves Martin
erate messages and check they were managed correctly. Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven

2004-12-15 Thread Yves Martin
evaluate is too long to process. I must see my boss to convince it to open-source it... I'm proud of it ;) Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: why doesn't work on ant 1.6.1

2004-12-15 Thread Yves Martin
callTarget.setProject(project); By CallTarget callTarget = (CallTarget) getProject().createTask("antcall"); and call 'execute' immediately after setting parameters (no 'init' so). Hope this helps Regards -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Internal AntCall and references

2004-12-13 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

Improve 'Uptodate' documentation

2004-12-13 Thread Yves Martin
ce" files from different directories: Regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Write Ant files for many modules

2004-12-13 Thread Yves Martin
7;Ant' name in it. If you have any idea for a name connected or not to the based concepts of that system: generated build.xml and plugins, I will be pleased to use it ;) Regards, -- Yves Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange behavior of 'zip'

2004-12-09 Thread Yves Martin
neous files that should be removed." ? Why not. But I may find useful in that case to be able to disable the timestamp checking (what update=false does not mean indeed) to force a new file to be created. Regards -- Yves Martin

Re: Strange behavior of 'zip'

2004-12-09 Thread Yves Martin
tly existing in the > archive, but not matched by the zip task. Maybe we only need to clarify this > point. In our case, it concerned the behavior when update="false" - which not clearly documented. -- Yves Martin -

Re: Strange behavior of 'zip'

2004-12-09 Thread Yves Martin
uot; - so to document - or a bug... But the result is strange: - if the zip does not exist yet, it only contains file1,file2 - if the zip already exists (maybe with too many files), its content is unchanged. In my case, it is really annoying: if you change excludes filters with an

Strange behavior of 'zip'

2004-12-09 Thread Yves Martin
'zip' seems to work in 'append' mode only. And there is no way to make it create a new empty zip file if the destfile already exists. OK, I will do a 'delete' first. It is a work-around. But I may find it useful to document this behavior and maybe to add

Re: Escaping ant property values

2004-12-09 Thread Yves Martin
Yves Martin <[EMAIL PROTECTED]> writes: > Jacob Kjome <[EMAIL PROTECTED]> writes: > >> Quoting Matt Benson <[EMAIL PROTECTED]>: >> >>> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property >>> >> >> This is not mentio

Re: Escaping ant property values

2004-12-09 Thread Yves Martin
quot;); I have my own Ant task to do the job I'm using everyday long. I called it "ExtendedProperty". That task works like AntContrib "var", I mean an existing property is replaced, and the value is interpreted with a stack. So it is not limited to two l

Re: Special character in file name

2004-12-07 Thread Yves Martin
cess: > > > > > What should I specify as includes value? Thx. You should look in documentation of "FileSet". Section "default excludes". The pattern "**/*~" is included in default excludes, that's why your fileset is empty. So you h