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
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
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
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
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
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-
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
--
recursively ALL files under the
basedir directory to my tar file.
What am I doing wrong?
(I'm running 1.6.5)
Yves
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]
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,
--
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
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
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
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]
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]
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
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
Any tips for a better solution?
Thanks in advance
Yves
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
and syntax:
If anyone has an idea, you are more than welcome.
Yves
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]
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
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
>
>
Thank you in advance.
Regards
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
'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: [
Regards,
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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'
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
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]
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
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
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
--
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
,
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
--
that way. 'wscomiple.sh' seems strange to me.
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
: 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
- 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
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
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
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
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,
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
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]
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
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
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
improved.
Regards
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
erate messages and check they
were managed correctly.
Regards
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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]
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
ce"
files from different directories:
Regards,
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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
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
-
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
'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
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
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
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
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
67 matches
Mail list logo