Re: Ant devs need help from users with "exotic" OSes

2010-06-09 Thread Gilles Scokart
ame: Java HotSpot(TM) 64-Bit Server VM Both methods returned the same environment information Gilles Scokart On 9 June 2010 14:43, Stefan Bodewig wrote: > Hi all, > > we are considering to change the code that reads environment variables > inside of Ant from the current "fork

Re: DirectoryScanner cache to boost performance

2009-09-14 Thread Gilles Scokart
anged. Gilles Scokart 2009/9/13 Raja Nagendra Kumar > > Hi, > > We have a custom tasks which use DirectoryScanner to eliminate the need for > developers trying to reference things by its relative path. > > However, DirectoryScanner is so main tries with different exclude and &

Re: s unless/if: strangeness in default behaviour (imho) (ant 1.6.5)

2009-08-31 Thread Gilles Scokart
You can write ... Gilles Scokart 2009/8/31 Francis GALIEGUE > On Mon, Aug 31, 2009 at 12:59, Gilles Scokart wrote: > > This is indeed as designed, and it is pretty usefull because you can set > the > > property p in t1 or t2. This pattern i

Re: s unless/if: strangeness in default behaviour (imho) (ant 1.6.5)

2009-08-31 Thread Gilles Scokart
This is indeed as designed, and it is pretty usefull because you can set the property p in t1 or t2. This pattern is quiet often used. Gilles Scokart 2009/8/31 Francis GALIEGUE > Hello everyone, > > I have noticed something strange in the if="" and unless="&

Re: How to reference Shared Libraries in Ant

2009-06-06 Thread Gilles Scokart
Did you tried providing a manifest file in your war that contains the classpath you need? Gilles Scokart 2009/6/3 Sarva > > The User Library in WTP allows external JARs to be loaded in the project at > runtime, this allows reducing the overall WAR files, and reuse the common > li

Re: ANT fop task

2009-04-02 Thread Gilles Scokart
s the java invocation. Gilles Scokart 2009/4/2 Martin Gainty > > has Anyone been able to get fop ant task to work Here are 2 classes from > fop.jar 2211KB 09/15/2008 > I have > classpathref="run-classpath"/> > where Fop class doesnt have main() method > > cla

[ANN] Control your dependency with Deco-0.1

2008-12-08 Thread Gilles Scokart
facing dependency control and you want to join the project, your contribution is welcome! [1] http://deco-project.sourceforge.net/index.html -- Gilles Scokart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Proxy setting

2008-11-24 Thread Gilles Scokart
; > I want even proxy authentication in my ant script.Could anybody help me with > this > > > Thanks, > Pra > -- Gilles Scokart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Use Ivy or Maven Ant tasks for dependencies?

2008-11-13 Thread Gilles Scokart
gure different conflict manager. Note, that maven is enhancing with the use of Mercury (a new library that do dependency managment). But AFAIK, it is not yet ready. > From the Ant-ers point of view, are there any other advantages o

Re: How to create if condition task from maven

2008-10-16 Thread Gilles Scokart
cess: >> > resource="net/sf/antcontrib/antlib.xml" >> classpath="path/to/ant-contrib.jar"/> >> >> >> Miro. >> >> >> >> Miroslav Nachev wrote: >>> >>> How and where to put this ta

Re: How to create if condition task from maven

2008-10-15 Thread Gilles Scokart
1.0b2 > > > > What is wrong and is there another way to do some condition check? > > > Regards, > Miro. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Gilles Scokart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Clarification on buildnumber task

2008-10-15 Thread Gilles Scokart
or action based on > the contents of this message is prohibited. In such > case please notify us and destroy and delete all > copies of this transmission. Thank you. > -- Gilles Scokart

Reinforce dependency control

2008-10-08 Thread Gilles Scokart
Did you know a task that do that? Or did you know any tools that list the jars that are required by a sources (or a compiled jars) that I could adapt to make such a tasks? -- Gilles Scokart - To unsubscribe, e-mail: [EMAIL PROT

Re: Storing all libs in SCM?

2008-06-03 Thread Gilles Scokart
've wasted too much time trouncing through > the documentation. > > Thanks in advance for your help! > > -- > > In Christ, > > Timmy V. > > http://burningones.com/ > http://five.sentenc.es/ - Spend less time on e-mail > > -------

Re: How can I "conditionall chooise" a target implementation?

2008-05-29 Thread Gilles Scokart
olerate the : > > > > > ...but we can't use antcall because it re-reads the *entire* build > file. There's some fairly complicated init (that we don't have > control of) that doesn't tolerate being called multiple times. > > I'd appreciate any sugges

Re: how to change property value in config file ?

2008-03-30 Thread Gilles Scokart
> To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Gilles Scokart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-06 Thread Gilles Scokart
We came at work with a 29 February bug also. The bug was actually that we were parsing a date without specifying the year : "02/29". At some step of the parsing the jdk consider the date is be in the year 1970 (which is not a leap year), which crashed our application. Regards, Gilles > ---

Re: How to execute a target multiple times, with different parameters

2008-02-29 Thread Gilles Scokart
s message in context: > http://www.nabble.com/How-to-execute-a-target-multiple-times%2C-with-different-parameters-tp15756893p15756893.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Gilles Scokart

Re: Unexpected behavior regarding relative paths in - bug?

2008-02-12 Thread Gilles Scokart
=== > This message contains PRIVILEGED and CONFIDENTIAL > information that is intended only for use by the > named recipient. If you are not the named recipient, > any disclosure, dissemination, or action based on > the contents of this message is prohibited. In such > case please notify us and destroy and delete all > copies of this transmission. Thank you. > -- Gilles Scokart

RE: Contributing documentation

2008-02-12 Thread Gilles Scokart
It works for me. Try with http instead of https. Gilles > -Original Message- > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > Sent: mardi 12 février 2008 14:58 > To: [EMAIL PROTECTED] > Subject: Contributing documentation > > I tried to begin contributing to documentation by checking

Re: Anyone used Archiva as repository for Ivy?

2008-02-12 Thread Gilles Scokart
h > case please notify us and destroy and delete all > copies of this transmission. Thank you. > -- Gilles Scokart

RE: Redirecting compile errors

2008-01-17 Thread Gilles Scokart
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: jeudi 17 janvier 2008 12:24 > To: Ant Users List > Subject: Re: Redirecting compile errors > > Peter Reilly wrote: > > On Jan 17, 2008 9:52 AM, Peter Reilly <[EMAIL PROTECTED]> wrote: > >> On Jan 17, 2008 9:37

RE: AW: extended parallelism

2007-12-20 Thread Gilles Scokart
> -Original Message- > From: Robin Chaddock [mailto:[EMAIL PROTECTED] > Sent: mercredi 19 décembre 2007 15:42 > To: Ant Users List > Subject: Re: AW: extended parallelism > > The target "depends" attribute already gives all the information you need to > be able to determine > which targ

RE: AW: extended parallelism

2007-12-18 Thread Gilles Scokart
I think there is indeed plenty of build scripts that rely on the order of the target in the depends attribute (we can maybe even talk of pattern). So clearly a parallelisation it must be explicit. To make it explicit, I liked the use of '|' replacing the ',' as mentioned earlier. However, I'm

RE: Handling multiple subproject in J2EE app

2007-11-27 Thread Gilles Scokart
You can have a look to ivy as well. Every module can be published to a repository. Every module can pick up its dependencies from this repository and if required you can write a master build that build the submodules in the right order. Gilles > -Original Message- > From: Joe Schmetze

Re: How do I set a classpath for my custom task?

2007-11-22 Thread Gilles Scokart
reate - any pointers to code that does > demonstrates that would be appreciated as well! > > Todd > > On Nov 21, 2007 12:00 PM, Gilles Scokart <[EMAIL PROTECTED]> wrote: > > That depends on how you want to invoke the code of the user. > > If you are using only refle

Re: List/Download folder from http?

2007-11-21 Thread Gilles Scokart
------ > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Gilles Scokart

Re: How do I set a classpath for my custom task?

2007-11-21 Thread Gilles Scokart
t; > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Thank you > > Ramu S > > > > If A is success in life, then A equals x plus y plus z. Work is x; y is > > play; and z is keeping your mouth shut. > > - Albert Einstein > > > > > > -- > > > -- > The only "dumb question" is the one you were too afraid to ask. > > Check out RouteRuler - Free software for runners, cyclists, walkers, etc. > http://routeruler.sourceforge.net > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Gilles Scokart

RE: Specify non-top level target

2007-11-21 Thread Gilles Scokart
The problem with ~ is that it has a special meaning in unix command line. If you have a user having the name of the target, you will have to escape it. Unfortunately, there is no ascii characters after ~. Maybe starting the top level target by an uppercase and using _ might work. Gilles > --

RE: Specify non-top level target

2007-11-21 Thread Gilles Scokart
I also use target names starting with / for the targets that just set some properties modifying the behaviour of whatever is executed after (for example '/offline', '/notest'). This doesn't change anything to visibility (they are callable from command line), but regroup them logically, even when

Re: Build output

2007-11-07 Thread Gilles Scokart
tronic or hard copy format. Thank you. > Please refer to http://www.jpmorgan.com/pages/disclosures for > disclosures relating to UK legal entities. > -- Gilles SCOKART

Re: Change adornment?

2007-11-04 Thread Gilles Scokart
t > > automatically adds [java] in front of each log. I can use -e option to > > remove it. However, can I change it to [javac] or [myadornmnet]? > > > > - Sung > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Gilles SCOKART

Re: Memory and Ant

2007-10-23 Thread Gilles Scokart
or incomplete, or contain viruses. The sender > therefore does not accept liability for any errors or omissions in the > contents of this message which arise as a result of e-mail transmission. > If verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities > or related financial instruments. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Gilles SCOKART

Re: Building Dependent targets

2007-05-25 Thread Gilles Scokart
If you have multiple projects and you want to build them the right order, you can also use ivy (http://incubator.apache.org/ivy/). It's a dependency managment tool having ant tasks to order a list of subproject according to their respective dependencies (http://incubator.apache.org/ivy/doc/use/bu

Re: Multiple junit tasks

2007-04-23 Thread Gilles Scokart
, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Gilles SCOKART - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: with ibm jdk ?

2007-04-20 Thread Gilles Scokart
> > Do you have any facts that building with ibm jdk ain't necessary > or better than sun jdk 1.5 ? > No, I never compared the performance. Gilles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: with ibm jdk ?

2007-04-20 Thread Gilles Scokart
I tried once to do that by running ant in the ibm JRE (setting JAVA_HOME correctly). If I remember well, it worked. I'm curious, why do want to use specifically the ibm compiler? You can perfectly use the sun standard compiler and run your application on WAS 6.1. Gilles > -Original Messa

RE: I need to write a task for Tagging

2007-04-18 Thread Gilles Scokart
t; I am not a Subversion user but quick googling provided this library : > >> > > >> > http://subclipse.tigris.org/svnant.html > >> > > >> > Hope this helps > >> > -Prashant > >> > > >> > On Wed, 2007-04-18 at 0

RE: I need to write a task for Tagging

2007-04-18 Thread Gilles Scokart
What do you mean by tagging a file? Gilles > -Original Message- > From: alam [mailto:[EMAIL PROTECTED] > Sent: mercredi 18 avril 2007 13:45 > To: user@ant.apache.org > Subject: I need to write a task for Tagging > > > Hi i am new to ANT i need to write a task for tagging a file can anyo

RE: DataType life cycle

2007-03-26 Thread Gilles Scokart
class extends Task, is there a difference to declare it in the antlib xml as a task or as datatype ? Gilles > -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: lundi 26 mars 2007 14:37 > To: Ant Users List > Subject: Re: DataType life cycle > >

DataType life cycle

2007-03-25 Thread Gilles Scokart
pe is defined (actually, I want to add some properties in it). Currently, I validate the content only when the datatype is used by a task (and I can't report the location). And I have overwritten the setProject for the second point. Is it the best aproach? Thanks, -- Gill

RE: copy files

2007-03-22 Thread Gilles Scokart
Look at the example there : http://ant.apache.org/manual/CoreTasks/copy.html and there : http://ant.apache.org/manual/CoreTypes/fileset.html You should find something similar to what you try to do. Gilles > -Original Message- > From: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] > Sent: je

RE: unable to find a javac compiler when I invoke ant from cmd script

2007-03-21 Thread Gilles Scokart
Look at the script ant.bat, it does similar things (the classpath in your script is too short). Gilles > -Original Message- > From: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] > Sent: mercredi 21 mars 2007 9:59 > To: user@ant.apache.org > Subject: Ant: unable to find a javac compiler when

RE: Question about loop in Ant

2007-03-20 Thread Gilles Scokart
I'm not sure you will find exactly what you need, but look at the http://ant-contrib.sourceforge.net/tasks/tasks/ Gilles > -Original Message- > From: Farid Izem [mailto:[EMAIL PROTECTED] > Sent: mardi 20 mars 2007 22:32 > To: user@ant.apache.org > Subject: Question about loop in Ant > >

RE: Reinitializing static variables

2007-03-20 Thread Gilles Scokart
ll the task2 in the same project (the same > build > file), it is working, but I want call the task2 in calling project .. > > > > > > > so In this case, can I get the shared static data from, task1 to task2 ? > could you please tell me ? > &

RE: Reinitializing static variables

2007-03-20 Thread Gilles Scokart
Make sure your tasks are defined in the same loader (an option of the taskdef task). Gilles > -Original Message- > From: ravi p [mailto:[EMAIL PROTECTED] > Sent: mardi 20 mars 2007 7:54 > To: user@ant.apache.org > Subject: Reinitializing static variables > > hi , > > I have written two

RE: Conditional dependencies

2007-03-20 Thread Gilles Scokart
I tried once a similar approach, but it was also rather heavy. I conditioned every task with a .skip, and before every target, I placed conditions that were setting the dependencies .skip variable. Of curse, you have to place them in the correct order. I also tried to have 'stop_at' variables u

RE: Using XSLT2

2007-03-19 Thread Gilles Scokart
ce." > > And then checking with the more general JAR specification. > > http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Service%20Provider > > "Files in the META-INF/services directory are service provider > configuration files." > > Cheers,

Re: Using XSLT2

2007-03-19 Thread Gilles Scokart
/saxonb8-9j.zip contains a file "META-INF/service/javax.xml.transform.TransformerFactory" instead of the (service without s). I hacked the saxon jar in order to have the javax.xml.transform.TransformerFactory where ant expect it, and it worked. Which one is correct? ant or saxon? Gille

Using XSLT2

2007-03-19 Thread Gilles Scokart
be loaded from this jar). I use ant 1.7 with an IBM jvm 1.5. in cygwin. You can find the ant -diagnostic in attachment. Can anyone help me? Thanks, Gilles Scokart --- Ant diagnostics report --- Apache Ant version 1.7.0 compiled

"Building tool" community feedback

2006-10-16 Thread Gilles Scokart
ncement of the existing tools or with some new tools). Thanks, Gilles Scokart