Re: Can't get ant to install...

2013-04-02 Thread Yves S. Garret
Hi, thanks for your reply. I was able to install a different version of ant from yum. This issue is resolved. On Tue, Apr 2, 2013 at 8:11 PM, Martin Gainty wrote: > J2SE 7 = 51, > J2SE 6.0 = 50, > J2SE 5.0 = 49, > JDK 1.4 = 48, > JDK 1.3 = 47, > JDK 1.2 = 46, > JDK 1.1 = 45 > echo $JAVA_HOMEyo

Can't get ant to install...

2013-04-02 Thread Yves S. Garret
Hi all, I'm trying to install ant. After using sudo, I ran this command and this is the result that I got: $ sudo ./build.sh -Dant.install=/usr/bin [sudo] password for developer: Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/tools/ant/launch/Launcher : Unsupported

Re: Make copy task fail if any destination file already exists?

2009-01-27 Thread Yves Dessertine
en. > > -Charlie > > -Original Message- > From: Yves Dessertine [mailto:yvesd.pub...@gmail.com] > Sent: Tuesday, January 27, 2009 9:38 AM > To: Ant Users List > Subject: Re: Make copy task fail if any destination file already exists? > > I'll explain a bit mo

Re: Make copy task fail if any destination file already exists?

2009-01-27 Thread Yves Dessertine
les from sourceDir to targetDir, but throwing an error if any file to be copied already exists in targetDir Here, I need the copy task to fail because subdir/foo1.bmp already exists. It is possible to do such a thing w/ ant ? Regards, Yves Dessertine 2009/1/26 Yves Dessertine : > Thank you for

Re: Make copy task fail if any destination file already exists?

2009-01-26 Thread Yves Dessertine
Thank you for your answer. the task is interessting, but it isn't what I need. What I need is to copy a directory with subdirectories within another dir, with subdirs which might have the same name (to merge the contents of both), but while triggering an error if any file already exists in the tar

Fwd: Make copy task fail if any destination file already exists?

2009-01-26 Thread Yves Dessertine
othing relevant IMHO). I know it would be possible to check the existance of an entire folder, but this isn't suitable for my project. I'd appreciate any help. Thanks, Yves Dessertine - To unsubscribe, e-mail: user-

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 --

tar with tarfileset

2006-03-29 Thread Yves Willems
recursively ALL files under the basedir directory to my tar file. What am I doing wrong? (I'm running 1.6.5) Yves

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, --

ant and eclipse CDT

2005-11-09 Thread Yves Willems
Hi all, I try to get my ant build scripts run under eclipse CDT (C++) but without success. It seems like eclipse can't find the full path to ant, although the ant settings list all jar files required. If there is anyone who managed to get this going? Thanks already Yves

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: avoid subant on 'non-ant' directories

2005-10-24 Thread Yves Willems
not simply Jan >-Ursprüngliche Nachricht----- >Von: Yves Willems [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 24. Oktober 2005 17:24 >An: 'Ant Users List' >Betreff: avoid subant on 'non-ant' directories > >Hi all, > > > >I have s

avoid subant on 'non-ant' directories

2005-10-24 Thread Yves Willems
Any tips for a better solution? Thanks in advance Yves

RE: build successfull but apply did nothing

2005-10-19 Thread Yves Willems
he "[apply] foo.c added as foo.o doesn't exist." is a normal log meaning that foo.c is taken into account since there is no foo.o. As you stated in your reply it must have something to do with the apply conditions: for some reason ant thinks that nothing must be done. Yves -O

build successfull but apply did nothing

2005-10-18 Thread Yves Willems
and syntax: If anyone has an idea, you are more than welcome. Yves

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]

tar a directory with ant (precision)

2005-01-12 Thread Yves Leung-Tack
A precision (in CAPITAL LETTER) to the description I brought in the last post RED cannot go throught the list ! Hi, I'm using the tar task of ant but I come with a "problem" when untaring the tared files. I can make it work but not exaclty the way I want. After taring directory basedir, see

tar a directory with ant (precision)

2005-01-12 Thread Yves Leung-Tack
A precision (in *RED*) to the description I brought in the last post Hi, I'm using the tar task of ant but I come with a "problem" when untaring the tared files. I can make it work but not exaclty the way I want. After taring directory basedir, see above, I untar it but I want to keep the

tar directory with ant

2005-01-12 Thread Yves Leung-Tack
Hi, I'm using the tar task of ant but I come with a "problem" when untaring the tared files. I can make it work but not exaclty the way I want. After taring directory basedir, see above, I untar it but I want to keep the tar program to untar in the directory basedir. For example: based

'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: AW: help with propertyregexp of antcontrib

2005-01-06 Thread Yves Leung-Tack
Nachricht- Von: Yves Leung-Tack [mailto:[EMAIL PROTECTED] Gesendet am: Donnerstag, 6. Januar 2005 15:22 An: Ant Users List Betreff: help with propertyregexp of antcontrib Hi, I try to use the propertyregexp of ant-contrib But when I run the following simple example from their documentation,

help with propertyregexp of antcontrib

2005-01-06 Thread Yves Leung-Tack
Hi, I try to use the propertyregexp of ant-contrib But when I run the following simple example from their documentation, I got the error : D:\Work\Dev\testbuild.xml:16: No supported regular expression matcher found The example is : to run on your machine just change antcontrib property

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]

Parsing a file name and extract a substring with ant ?

2005-01-04 Thread Yves Leung-Tack
Hi, Is it possible for ant to get a filename , parsing it and get a substring of that filename for using it ?? What I want to do exactly in build.xml is: if a file with *QAE.tar.gz exists then parse the that filename to get the substring from index 4 to 9 use that substrin

Re: Macrodef in import file having same behaviour as targets?

2005-01-04 Thread Yves Leung-Tack
Hi, Is it possible for ant to get a filename , parsing it and get a substring of that filename for using it ?? What I want to do exactly in build.xml is: if a file with *QAE.tar.gz exists then parse the that filename to get the substring from index 4 to 9 use that substrin

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: AW: How to delete files from a zip/jar?

2004-12-07 Thread Yves
ip command. > > So I think you have to split that command in two. The magic xargs comes here for you !! jar tf compare.jar | grep \.class | xargs zip -d target.jar Enjoy shell -- Yves - To unsubscribe, e-mail: [EMAIL P

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