Re: Ant does not return after calling org.glassfish.tyrus.client.ClientManager.connectToServer()

2015-05-17 Thread Antoine Levy Lambert
”. This starts another java process and ant’s execution thread goes further immediately after spawning thisi process. Regards, Antoine On May 9, 2015, at 5:45 AM, Dilini Asanga wrote: > - To unsubscribe, e-mail: user-unsub

Re: Parse jar:file prefix to Resource

2014-12-21 Thread Antoine Levy Lambert
written and piggyback on that. Hope this helps, Antoine > > > __ > > > >> Date: Wed, 17 Dec 2014 23:18:21 -0500 >> Subject: Parse jar:file prefix to Resource >> From: viper2...@gmail.com >> To: user@ant.apac

Re: New user (liferay), getting all the time BUILD FAILED message

2014-12-21 Thread Antoine Levy Lambert
, Antoine On Dec 20, 2014, at 9:05 PM, Tanguy Thomas wrote: > Hello, > > I am not familiar anymore to Java, trying hard to self learn from a > Microsoft development background. I installed Apache Ant, following the > "Liferay in Action" manual. Everything worked fine up

Re: kicking my butt with something very simple

2014-12-07 Thread Antoine Levy Lambert
As Dominique mentioned, you can use a nested redirector element with a nested outputfilterchain something like see http://ant.apache.org/manual/Types/redirector.html and http://ant.apache.org/manual/Types/filterchain.html Regards, Antoine On Dec 5

Re: Question about Copy task with empty PatternSet

2014-05-15 Thread Antoine Levy Lambert
Hi, you can try this (untested): > >

[ANNOUNCE] Apache Ant 1.9.4 released

2014-05-05 Thread Antoine Levy Lambert
file available at the above location when downloading the release. For complete information on Ant, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Ant website: http://ant.apache.org/index.html Antoine Levy-Lambert, on behalf of the Apach

RE: Silent errors

2014-04-24 Thread Antoine Levy-Lambert
someproperty is not set then the task sees literally ${someproperty}. What you can do to mitigate this risk is to add the following to your build file I hope this helps, Antoine Le 24 avr. 2014 09:43, "Miller, Gerald" a écrit : > > Sorry for the incomplete sentences.  It's

Re: Have junitreport load styles from JAR

2014-04-19 Thread Antoine Levy Lambert
Hello Marcel, you are unfortunately right, there is no way you can use directly stylesheets from a jar file. What you can do is have ant extract the stylesheets from the jar file for you and use them afterwards. Not particularly elegant but will work. Regards, Antoine On Apr 19, 2014, at 5

Re: Ant build from source instructions incorrect?

2014-03-31 Thread Antoine Levy Lambert
Hello Michael, I have fixed this problem in svn, the next release of Ant will include the Junit jars in the source distribution. Regards, Antoine On Jan 22, 2014, at 3:22 PM, Michael Durket wrote: > I get what seems to be a clean build and tests if I include the jars > contained in t

Re: Ant on Mac OS X

2014-03-09 Thread Antoine Levy Lambert
The code to create an Ant installer for Mac OS X has been added to Ant 1.9.3, but the Ant project for now does not distribute this Ant installer. There is a target pkg_distribution in the build.xml of Ant which can be used to build the OS X installer from source. Regards, Antoine On Mar 9

Re: junit skipNotTests zipfileset including inner classes that are not tests

2014-02-11 Thread Antoine Levy Lambert
Hello, No idea why the inner classes are being tested. as a workaround you could try (untested) : > > > > > > Regards, Antoine On Feb 10, 2014, at 7:17 PM, Marc Benstein wrote: > I am using ant 1.9.3 with junit 4.11 with b

Re: Ant build from source instructions incorrect?

2014-01-21 Thread Antoine Levy Lambert
some clues. Regards, Antoine On Jan 21, 2014, at 6:50 PM, Carlos Araya wrote: > Is that the only error you're getting? What does the build log say? > > Sent from my iPad > >> On Jan 21, 2014, at 2:52 PM, Michael Durket >> wrote: >> >> I'm

[ANN] Apache Ant 1.9.3 Released

2013-12-28 Thread Antoine Levy Lambert
suggestions for improvement, see the Apache Ant website: http://ant.apache.org/index.html Antoine Levy-Lambert, on behalf of the Apache Ant community

Re: 1.9.3 Release plan?

2013-12-16 Thread Antoine Levy Lambert
Hello Laurent, Thanks for nagging to get this performance issue fixed. Until now there was no plan to release Ant 1.9.3. This is also a question for the dev list. Let's see what the other contributors would like to see in 1.9.3. Regards, Antoine On Dec 16, 2013, at 3:03 PM, lauren

Re: New conditional attributes on use of macrodef?

2013-12-14 Thread Antoine Levy Lambert
I have fixed it too in svn head, if you want you can build ant from source and confirm that the problem is fixed. Regards, Antoine On Dec 14, 2013, at 5:39 PM, Antoine Levy Lambert wrote: > Hello Richard, > > this is a bug. I have entered it in bugzilla id 55885. > > Regard

Re: New conditional attributes on use of macrodef?

2013-12-14 Thread Antoine Levy Lambert
Hello Richard, this is a bug. I have entered it in bugzilla id 55885. Regards, Antoine On Dec 9, 2013, at 9:22 AM, Steele, Richard wrote: > I can't seem to get the new if: and unless: attributes working on uses of > macrodef. For example: > > xmlns:u

Re: Unexpected mkdir and id behaviour

2013-11-24 Thread Antoine Levy Lambert
Hello Tom, the id attribute in ant is generally used to reference types, for instance yo need to define properties to do what you want like : Regards, Antoine On Nov 22, 2013, at 5:45 AM, Tom Cleghorn wrote: > Hi, > > I tried to use the following

Re: Duplicate formatters of the same type in junit test corrupting output file

2013-11-24 Thread Antoine Levy Lambert
Hello Bernhard, this looks like a bug. You might want to report it in bugzilla. Regards, Antoine On Oct 9, 2013, at 7:21 AM, Bernhard Voelker wrote: > Hi *, > > we had a Junit task with an XML formatter defined both on the > and the level: > >fork=&qu

Re: ANT Custom tasks - difference between using getProject() and "new Project()"

2013-05-27 Thread Antoine Levy Lambert
related to Ant, you would create a new Project instance. Regards, Antoine On May 26, 2013, at 10:41 AM, WebServices Development wrote: > I am trying to create a custom ant task to copy files to a specified location > based on some criteria provided to the task. > > I am usin

[ANNOUNCE] Apache Ant 1.9.1 Released

2013-05-21 Thread Antoine Levy Lambert
information on Ant, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Ant website: http://ant.apache.org/index.html Antoine Levy-Lambert, on behalf of the Apache Ant community

Re: How to run a single junit test method with ant

2013-05-12 Thread Antoine Levy Lambert
Regards, Antoine On May 11, 2013, at 2:15 PM, 肖谋 wrote: > Thanks for your reply. Perhaps I did not express my problem clearly, or may > not understand your solution. > My problem is : I have junit test class: > class TestService { > @Test > void test1() {} > @Test > void

Re: How to apply mapper to filelist to get other fileset or filelist?

2013-05-07 Thread Antoine Levy Lambert
Hello Lev, Ant has a concept of mapped resources. Read this : http://ant.apache.org/manual/Types/resources.html#mappedresources Best regards, Antoine On May 6, 2013, at 10:14 AM, Lev Serebryakov wrote: > Hello, User. > > Is it possible to apply mapper to to get other > or,

Re: Anomalous package-info.java

2013-04-27 Thread Antoine Levy Lambert
Hello Morten, I am not aware of this problem. How do you think that the behavior of ant's javac task should be changed ? Should it have an option to exclude the package-info.java files ? or exclude them by default ? Regards, Antoine On Apr 22, 2013, at 2:05 PM, Morten Sabroe Mort

Re: Need your help

2013-04-27 Thread Antoine Levy Lambert
need to change it. > vmlauncher="false"> > > > Regards, Antoine On Apr 27, 2013, at 2:02 AM, xiaomin wrote: > First,I express my sincere gratitude for your help,as you said,I remove the > braces {},and decompress ant again,t

[ANNOUNCE] Apache Ant 1.9.0 Released

2013-03-10 Thread Antoine Levy Lambert
how to submit bug reports, patches, or suggestions for improvement, see the Apache Ant website: http://ant.apache.org/index.html Antoine Levy-Lambert, on behalf of the Apache Ant community - To unsubscribe, e-mail: user-unsubscr

Re: Problem with GPG plugin from Ant task

2013-01-31 Thread Antoine Levy Lambert
Hello Martin, there is already an ant task in this codebase [1]: Antoine [1] http://svn.apache.org/repos/asf/commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java On Jan 31, 2013, at 3:49 PM, Martin Gainty wrote: > > Antoine > > can

Re: Problem with GPG plugin from Ant task

2013-01-30 Thread Antoine Levy Lambert
Hello Lewis, there is a project in the commons sandbox at Apache with which you can PGP sign artifacts in an Ant build The source code is there [1] There is an example of usage of this here [2] We use that when producing releases of Ant. Maybe this can help you ? Regards, Antoine [1

Re: ZipFileSet and Selectors

2013-01-24 Thread Antoine Levy Lambert
atches are welcome too :-) For the time being, it looks like you have to unzip your zip file to a temporary directory, then copy with the selector and delete the temporary directory. Regards, Antoine On Jan 24, 2013, at 7:32 AM, Gilles Querret wrote: > Good morning, > > -- > So

Re: How to debug ant source inside RAD / Eclipse

2013-01-21 Thread Antoine Levy Lambert
like VM connected on port 8000 you will be able to debug the code of Ant. Eclipse can also debug Ant build files since Eclipse 3.1 according to this document [3]. Which links also to this one [4] titled "Make Ant easy with Eclipse" Regards, Antoine [1] http://www.ibm.com/developer

Re: ant task ftp

2013-01-09 Thread Antoine Levy Lambert
to understand why the ftp does not work with commons-3.2.jar. Does the build hang ? Is there an extra dependency which is missing ? Patches are welcome :-) Regards, Antoine On Dec 26, 2012, at 12:38 AM, Joe Black wrote: > Hi, > > > I am using ant to download the files from the se

Re: ModelAnt project

2013-01-09 Thread Antoine Levy Lambert
Hello Rusi, your patch has been added, sorry for the long wait, happy 2013. Regards, Antoine On Nov 24, 2012, at 5:10 PM, MDA Tools wrote: > Dear colleagues, > > Please add ModelAnt project to the Ant Related Projects, by applying the > attached patch on projects.xml > >

Re: [ANN] File Manager, Ant Commander 3.0 released

2013-01-08 Thread Antoine Levy Lambert
Hello Anthony, I have added Ant Commander. Regards, Antoine On Dec 13, 2012, at 9:49 AM, Anthony Goubard wrote: > Hi All, > > I've just released Ant Commander 3.0. > Ant Commander is a free file manager. File operations are executed by > Apache Ant and it manages

Re: Enhancement: allow a in an filter

2011-04-05 Thread Antoine Levy-Lambert
#x27;m hoping that doesn't mean it's unresolvable... Just refer to 9481 in your new enhancement request. Hopefully we will deal with this one faster. Rich Regards, Antoine - To unsubscribe, e-mail: user-unsubscr...@

Re: How to reference a custom type via refid?

2011-03-17 Thread Antoine Levy-Lambert
id(r); } > I read the docs but I didn't recognize anything that explains this. > > Thanks in advance, > > Carlton > Regards, Antoine - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Problems with apache.

2011-03-14 Thread Antoine Levy-Lambert
path may not be absolutely necessary but setting ANT_HOME certainly. Regards, Antoine On 3/14/2011 10:12 AM, Tiago Veloso wrote: An error with the subject, it should read "Problems with apache ant" On Mar 14, 2011, at 14:08 , Tiago Veloso wrote: Hi everyone, I am running Mac

Re: compare files from 2 directories

2011-02-25 Thread Antoine Levy-Lambert
If you want to compare two directories using ant, you can do this by using the present and the different selectors. these files are only in bar : ${toString:onlyinbar} these files are different in bar compared to foo : ${toString:differentbarfoo} Regards, Antoine [1

Re: compare files from 2 directories

2011-02-25 Thread Antoine Levy-Lambert
Maybe you have a program running which is writing a log file under C:\Program Files. You should try on a tiny set of files which you know are not going to change. Regards, Antoine On 2/25/2011 11:32 AM, ritchie wrote: I used the below checksum task and i passed the same directory twice

Re: Installing Ant, BAD KEY error

2011-02-16 Thread Antoine Levy-Lambert
from "Antoine Levy-Lambert (CODE SIGNING KEY) " gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 0BAD E59B 0EC2 4E68 C03C A481 5EFA D9FE 82A7 FBCD Antoine On 2/16

Re: FTP task incredibly slow when listing files

2011-02-10 Thread Antoine Levy-Lambert
Hello Jesse, I did some changes long time ago to the ftp task but do not remember much about it. I would have to open the source code. What happens if you do not nest a fileset when doing your invocation ? Regards, Antoine On 2/9/11 6:52 PM, Jesse Campbell wrote: > Apologies if I¹m in

Re: How to switch from Derby to MySQL environment

2011-02-10 Thread Antoine Levy-Lambert
Hello Jack, you probably need to start a MySQL server on port 152 ? Antoine 47. BUILD FAILED 48. C:\ProJPA2\config\common.xml:144: java.sql.SQLNonTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 152 On 2/10/2011 7:29 AM, Jack Bush

Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-04 Thread Antoine Levy-Lambert
UL Total time: 0 seconds Can you test the same on your Mac ? If it behaves the same as what I am showing, it would mean that the ssh command line client does not support user name argument when it is splitted by spaces. Regards, Antoine On 2/2/2011 3:44 AM, Stein Inge Morisbak wrote: That

Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-01 Thread Antoine Levy-Lambert
Hi, in theory, this should work : when you use I am trying to call ssh using the ant exec task from maven. My problem is that I can't figure out how to escape spaces in usernames. I have tried: - To unsubscribe,

Re: Ant + Spring = classpath purgatory

2011-02-01 Thread Antoine Levy-Lambert
I think it is log4j which wants to look for config files on the thread context loader. Regards, Antoine On 1/29/2011 1:27 PM, Mitch Gitman wrote: Here's the solution that finally worked for me, and that includes locating the log4j class. This is all in my Ant

Re: exec (and apply) tasks cut off the output

2011-01-20 Thread Antoine Levy-Lambert
Hi, in fact there has been a bug reported concerning lines of output which get mixed up. https://issues.apache.org/bugzilla/show_bug.cgi?id=50507 We should fix it. Regards, Antoine On 1/19/11 3:03 PM, Gilbert Rebhan wrote: > Original Message > Subject: exec (and

Re: Execution classpath question for taskdef

2011-01-20 Thread Antoine Levy-Lambert
sspath="${selenium-lib}:${selenium.j > ar.path}"> > You should probably choose between the classpath attribute or the classpath nested element. Make sure that the classpath that you use contains all the jars that you need you can add a line selenium-classpath-ref=${to

Re: Mail task with mail.jar & activation.jar out of lib folder

2011-01-19 Thread Antoine Levy-Lambert
checksums. Do they cause problems > for additional classloaders defined in Ant? The checksums can cause problems if there are other instances of mail.jar in other classloaders. > Name: javax/mail/search/SearchTerm.class > SHA1-Digest: JveDH0FF1JcVa7wJL7

Re: Execution classpath question for taskdef

2011-01-19 Thread Antoine Levy-Lambert
et/ant-classloadertask/ Regards, Antoine - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Mail task with mail.jar & activation.jar out of lib folder

2011-01-19 Thread Antoine Levy-Lambert
startup. In a similar fashion, if you are using the task, you have to either put your JDBC driver in the directories from which ant loads all the jars at startup or add the JDBC driver using the classloader task. Regards, Antoine On 1/19/11 3:36 PM, Peter Reilly wrote: > url of: >

Re: Execution classpath question for taskdef

2011-01-19 Thread Antoine Levy-Lambert
and your taskdef like that : Regards, Antoine - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Terminate an Ant target

2011-01-19 Thread Antoine Levy-Lambert
usr/ucb/ps -auxww . Not sure other UNIXes. Regards, Antoine On 1/19/2011 4:17 AM, Jan C. wrote: Hello, I use ant to run some JUnit test. My JUnit test need a http server so I also start one in my test: ... ... The prob

Re: Mail task with mail.jar & activation.jar out of lib folder

2011-01-19 Thread Antoine Levy-Lambert
to redefine the mail task but put artificially activation.jar and mail.jar on the thread class loader. Regards, Antoine On 1/19/2011 4:31 AM, Patrick Martin wrote: Hello, Is it possible to use the task without having activation.jar and mail.jar in the ant lib folder? I tried to re

Re: Add dynaTrace ant task to the list of external Plugins

2011-01-14 Thread Antoine Levy-Lambert
Hello Guido, the change is committed in svn and will be visible on the web site soon. Regards, Antoine On 1/14/2011 7:12 AM, Guido Deinhammer wrote: Ok - I understand that. Below is the modified version - I still changed the text a bit since the terms "Application Performance Management

Re: Add dynaTrace ant task to the list of external Plugins

2011-01-13 Thread Antoine Levy-Lambert
change the URL. It is probably not very nice to point to a URL which requires registration in case someone wants to just glance at what you are offering. Regards, Antoine On 1/13/2011 1:58 PM, Guido Deinhammer wrote: Get a full performance analysis of your automated tests and instant

Re: launch Ant from Java code

2011-01-13 Thread Antoine Levy-Lambert
On 1/13/2011 2:57 AM, Patrick Martin wrote: Thank you Antoine, I do have a follow-up question on this though. Will this be thread safe? Is it possible to run two targets in parallel from Java code, without any interactions (different projects, property sets and so on)? Ant has a parallel task

Re: SplitClassLoader cast error

2011-01-12 Thread Antoine Levy Lambert
Hello David, I am not sure whether SplitClassLoader extends URLClassLoader. In my IDE I see this class hierarchy SplitClassLoader ---> AntClassLoader --> ClassLoader --> Object So maybe the source code of your unit test is doing something wrong. Regards, Antoine On 1/12/11 10:21

Re: launch Ant from Java code

2011-01-12 Thread Antoine Levy Lambert
System.out); antDefaultLogger.setMessageOutputLevel(Project.MSG_INFO); antProject.addBuildListener(antDefaultLogger); antProject.executeTarget("targetName"); } } Regards, Antoine On 1/12/11 8:08 AM, Patrick Martin wrote: Hello and happy new year to you all, What is the

Re: Problems with

2011-01-11 Thread Antoine Levy-Lambert
using manifestclasspath and remove the nested classpath element on java. Maybe there is an issue in the combination of a nested classpath and of a classpath attribute in the manifest. Regards, Antoine On 1/11/2011 2:26 AM, Kevin Jackson wrote: Hi all, Not sure if this is user error (suspect

Re: apache-ant-1.8.2-bin.tar.bz2.asc signature not in http://www.apache.org/dist/ant/KEYS

2011-01-10 Thread Antoine Levy-Lambert
You are right, it looks like I did not update this file. Let me do this. Thanks for letting us know. Regards, Antoine On 1/10/2011 8:21 PM, Mark Lavi wrote: Hello everyone, I didn't see this issue in Bugzilla or in this mailing list archive. I could not find an up to date public key for

Re: [PATCH] complete-ant-cmd.pl

2011-01-07 Thread Antoine Levy-Lambert
Hello Ondra, thanks for the patch, committed in revision 1056313. I have learnt something, I am using ant and bash every day and did not know this script. Cool thing. Let me know if I entered the patch correctly if you can check out the updated version from svn. [1] Antoine [1] http

Re: Ant Eclipse integration

2011-01-05 Thread Antoine Levy-Lambert
On 1/5/2011 11:34 AM, Antoine Levy-Lambert wrote: Hi, the version of ant which currently ships with Eclipse is as far as I know 1.7.1 ( I think so because there is a directory called org.apache.ant_1.7.1.v20100518-1145 in my plugins folder). I have read that the platform-ant team of Eclipse

Ant Eclipse integration

2011-01-05 Thread Antoine Levy-Lambert
integration with some support for newer syntactic constructs of ant 1.8.x [1] This bug report [1] is inviting people to try out the new Eclipse Ant integration for ant 1.8.x. I have thought that some of us can be interested Regards, Antoine [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id

Re: fileset of cvs changed files

2010-12-31 Thread Antoine Levy-Lambert
es of file relative paths in order to be used as input for the includesfile attribute of a patternset. Something like that (untested) : Otherwise you can write your own ant task and make this task create either a patternset, a fileset, or a resource collection. Regards, Antoine

Re: Question with error: Unable to locate tools.jar

2010-12-30 Thread Antoine Levy-Lambert
Year there is little traffic on these lists. Thanks. Regards, Antoine - - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Release of Apache Ant (TM) 1.8.2

2010-12-27 Thread Antoine Levy-Lambert
is abolished * numerous bug fixes and improvements as documented in Bugzilla and in WHATSNEW Thanks to all our committers and contributors. Best wishes for 2011. Regards, Antoine - To unsubscribe, e-mail: user-unsubscr

Re: Add dynaTrace ant task to the list of external Plugins

2010-12-24 Thread Antoine Levy-Lambert
Hello Guido, this has been committed, Antoine On 12/23/10 3:13 AM, Guido Deinhammer wrote: > 910,936d909 > < > < > < dtAnt allows integrating dynaTrace Application Performance > Management > < into your ant builds.

Re: Add dynaTrace ant task to the list of external Plugins

2010-12-22 Thread Antoine Levy-Lambert
Hello Guido, your attachment did not go through. Write your patch inline in the mail it will be OK Regards, Antoine On 12/22/2010 11:31 AM, Guido Deinhammer wrote: Hi, I would like to add the dynaTrace ant task to the list of external tool and tasks. I have attached the patch file for the

Re: How to execute "Android.mk" file from Ant script?

2010-12-17 Thread Antoine Levy-Lambert
On 12/16/10 11:05 PM, Girish wrote: > > * Is there any way to execute "Android.mk" file from Ant script? > If Android.mk are processed by an executable called make or andromake or whatever, then you can do this using the

Re: Selectively delete files/folders on another server

2010-12-15 Thread Antoine Levy-Lambert
? Regards, Antoine On 12/15/2010 12:30 PM, Maureen Troendle wrote: I'm using Ant to deploy various components to different servers and I'm looking for a way to enumerate files/folders on a remote server and then selectively delete them. So I don't know everything that will be there

Re: Ant Log File Syntax Highlighting

2010-12-14 Thread Antoine Levy-Lambert
On 12/14/2010 11:42 AM, Perrier, Nathan wrote: I spend a lot of time digging through Ant logs in text editors, as I'm sure we all do. I'm wondering if there exists a syntax highlighting definition file that would, for instance, add style to the targets or tasks. I think it would make them muc

Re: ANT application.xml add runtime

2010-12-14 Thread Antoine Levy-Lambert
ear or not. Thanks and Regards, Ashokkumar B. Regards, Antoine - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: propertyfile task and escaping

2010-12-14 Thread Antoine Levy-Lambert
ou are generating on the fly. Thanks a lot Jo Antoine - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Ant script to edit a write protected file.

2010-11-22 Thread Antoine Levy-Lambert
You can use the attrib or the chmod task to make the file writable. Antoine On 11/21/2010 10:22 PM, ritchie wrote: I am trying to add new attributes to a xml file using classes available in com.oopsconsultancy.xmltask.ant.XmlTask classes but not able to write to the file because it is write

Re: xmlTask - Help

2010-11-22 Thread Antoine Levy-Lambert
icular use case, you can use xslt. You just need to write an xsl file doing the change that you would like. Regards, Antoine - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: java.lang.NullPointerException

2010-11-18 Thread Antoine Levy-Lambert
pass a required parameter to this task (or class). Check in your build file where you invoke Regards, Antoine On 11/18/10 2:53 PM, ritchie wrote: > verup is a macrodef... > > Apache Ant version 1.7.0 compiled on December 13 2006 > Buildfile: changes.xml > Detected Java version: 1.6

Re: java.lang.NullPointerException

2010-11-18 Thread Antoine Levy-Lambert
A full stack trace would be useful to figure out what is going on. Also, what is "verup" ? Is it a custom task ? a macrodef ? Regards, Antoine On 11/18/10 2:15 PM, ritchie wrote: > This is a part of my script. > > >failonerror="true

Re: how to build ant

2010-11-17 Thread Antoine Levy-Lambert
-f fetch.xml on Windows \bin\ant -Ddest=optional -f fetch.xml what this does is copy the jars which are used by the build process of ant into the directory lib/optional. Regards, Antoine On 11/17/10 12:00 AM, ramakanth varala wrote: > Thanks for the reply, > > in the first step i

Re: how to build ant

2010-11-16 Thread Antoine Levy-Lambert
ndency on JUnit. The |fetch.xml| build script will download JUnit automatically, but if you don't use this you must install it manually into |lib/optional| (download it from JUnit.org <http://junit.org/>) if you are using a source distribution of Ant." Regards, Antoine

Re: Search for properties file in parent directories

2010-11-11 Thread Antoine Levy-Lambert
which eithers extends the property task of ant or delegates to it. Regards, Antoine On 11/11/2010 5:33 AM, Ludwig, Michael wrote: On the command line, I can instruct ant to go searching for a build file by climbing up the directory tree: ant -h ... -find(s)earch for buildfile

Re: svnant - deploying from Subversion

2010-11-05 Thread Antoine Levy Lambert
On 11/4/10 4:44 PM, Michael Ludwig wrote: Hello Antoine, Thanks for your feedback. Our application is not Java, it's a script app. There's currently lots of stuff in Subversion including lots of static content, most of which never changes. A typical update means replacing ten to th

Re: How to script database upgrade using ANT script

2010-11-05 Thread Antoine Levy Lambert
On 11/5/10 6:48 AM, Java Jboss wrote: Hi, Thank you for the suggestions so far from Antoine and Michael. unfortunately I've been asked to use ANT only without using unix shell scripts. I have tried to tackle it as individual modules using ANT script running the 1st iteration of the

Re: antlib classloader issue

2010-11-04 Thread Antoine Levy Lambert
ant external jars after ant is started. Thanks, Venkatesh Regards, Antoine - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: svnant - deploying from Subversion

2010-11-04 Thread Antoine Levy Lambert
templates with the values contained in LDAP. Regards, Antoine On 11/4/10 11:45 AM, Ludwig, Michael wrote: Our web app source code is stored in Subversion. It's not Java, it's a script app. It needs to be deployed to various servers, and some configuration data needs to be taken in

Re: How to script database upgrade using ANT script

2010-11-04 Thread Antoine Levy Lambert
On 11/4/10 1:35 PM, Java Jboss wrote: Hi Antoine, Thank you for this update. I am using a linux server. I've been asked to do this in ANT only. Can you possibly provide me an example of how a similar process might be scripted using ANT? As I have never used ANT or any other si

Re: How to script database upgrade using ANT script

2010-11-04 Thread Antoine Levy Lambert
ORLEVEL on Windows or $? on UNIX). Regards, Antoine On 11/4/10 12:28 PM, Java Jboss wrote: Hi, I’m a complete newbie to ANT and I need to write an ant script which upgrades a database version from base level 1.00 to a given version number by running a series of mysql (ver 5.1.45) scripts.

Re: Proper way to translate list of jars from properties file into classpath

2010-10-19 Thread Antoine Levy-Lambert
orks. I wish I could specify a single list property and reference that directly, and have Ant figure it out. What you do normally in ant linguo is : you can then reference this construct like that A path can be used by any ant task which accepts paths, like . The task

Re: Slowdown in ant task execution in 1.8.1 (specifically chmod) on Unix

2010-06-03 Thread Antoine Levy-Lambert
Hi, this change - which I did in ant 1.8.1 is reverted in 1.8.2. Regards, Antoine Andy Wang wrote: > Hi all, > Just wondering if anyone has experienced a bug I just opened: > https://issues.apache.org/bugzilla/show_bug.cgi?id=49384 > > As the bug states, the fix for > https:/

Re: Web example does not work

2010-06-01 Thread Antoine Levy-Lambert
Hello Misha, this is interesting. I would have thought that this example would work, and I did not even remember that zipgroupfileset exists. I have now seen that zipgroupfileset is documented as a nested element element of the zip task. Which version of ant are you using ? Regards, Antoine

Re: Import projects into eclipse via ant task

2010-06-01 Thread Antoine Levy-Lambert
erest either eclipse itself or at least ant4eclipse or maybe both ? If someone can step it and code it. Automation could revolve around eclipse psf files (Project Sets), importing a whole set of projects from the file system, or importing a specific project. Regards, Antoine [1] http://publib.

Re: RE: Copy task fails on AIX & Suse Linux 9

2010-05-28 Thread Antoine Levy-Lambert
Stefan did recently fixes your issue also. Regards, Antoine Original-Nachricht > Datum: Thu, 27 May 2010 23:34:34 -0400 > Von: "St. Denis, David" > An: "user@ant.apache.org" > Betreff: RE: Copy task fails on AIX & Suse Linux 9 >

Re: New ANT task coding guideline

2010-05-26 Thread Antoine Levy-Lambert
ckward compatible. Maybe something like that could be done based on a magic property, which would be unset by default ? Regards, Antoine > --- > Shawn Castrianni > - To unsubscribe, e-mail: user-unsubscr...@a

Re: How to put all jars in a path variable (minus some exclusions) into WEB-INF/lib?

2010-05-24 Thread Antoine Levy-Lambert
specific jars from the copy, by nesting Hope this helps, Antoine Original-Nachricht > Datum: Thu, 20 May 2010 08:14:50 -0700 > Von: "KARR, DAVID (ATTSI)" > An: "Ant Users List" > Betreff: How to put all jar

Re: Ant telnet task fails to login to a few unix boxes

2010-05-19 Thread Antoine Levy-Lambert
I suggest using ssh instead of telnet. Regards, Antoine Original-Nachricht > Datum: Wed, 19 May 2010 04:56:32 -0700 (PDT) > Von: Nabble_fan > An: user@ant.apache.org > Betreff: Ant telnet task fails to login to a few unix boxes > > I am running a simp

Re: Java system property

2010-05-19 Thread Antoine Levy-Lambert
ave dreamt, I do not see it in the manual). A former colleauge actually created such a task in the custom ant tasks library of my day job - set the system property using Javascript and the script task for instance before invoking your task Regards, Antoine Original-Nachricht --

Re: uploading ant with ivy to nexus central repository

2010-05-19 Thread Antoine Levy-Lambert
Thanks Maarten, I will try this, Antoine Original-Nachricht > Datum: Tue, 18 May 2010 14:51:13 -0700 (PDT) > Von: Maarten Coene > An: ivy-u...@ant.apache.org > Betreff: Re: uploading ant with ivy to nexus central repository > First of all, I've never pu

[Fwd: [Travel Assistance] - Applications Open for ApacheCon NA 2010]

2010-05-16 Thread Antoine Levy-Lambert
Hi, The Apache Software Foundation is organizing an Apache Conference North America 2010 (ApacheCon NA 2010) [1]. I am forwarding the following message from our Travel Assistance Committee Antoine [1] http://na.apachecon.com/c/acna2010

[ANN] Release of Apache Ant 1.8.1

2010-05-07 Thread Antoine Levy-Lambert
documented in Bugzilla and in WHATSNEW Regards, Antoine Levy-Lambert - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Automating without foreach?

2010-05-04 Thread Antoine Levy Lambert
invoke it using Not especially beautiful but it works. Regards, Antoine Misha Koshelev wrote: Dear All: I was wondering if there might be a simple, ant-specific way to automate tasks like this: Specifically, I'd like to have a list of platforms, and be ab

Re: Calling CYGWIN from ANT via EXEC

2010-04-14 Thread Antoine Levy Lambert
that you could use the scp task of ant. Regards, Antoine - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Property File load issue

2010-04-14 Thread Antoine Levy Lambert
a looks up one's desktop directory from the registry, and assumes that the home directory is the parent directory of the desktop directory. If everything else fails, try to start ant with a -Duser.home="C:\Documents and Settings\JohnDoe" Regards, Antoine Barry Pape wrote:

Re: Two pass compile for instrumented code

2010-04-13 Thread Antoine Levy-Lambert
classes from bin into bin-clover ? When not generating reports, only to bin. > During the test phase, if we are generating a report, we need to run the > tests against bin-clover. When not generating reports, we need to run the >

  1   2   3   4   5   6   7   >