Re: Question about the task life cycle (one shot or not)

2018-02-19 Thread Stefan Bodewig
On 2018-02-19, Al Le wrote: > I have a question about how many times a task is instantiated during a > build. I've read the description at > https://ant.apache.org/manual/develop.html but still a question > remains. > [BTW, there is a typo on that page: "addCondifgired"] will be fixed soon, than

Re: Question about my ant

2015-08-16 Thread sfloess
Sergio, You can do string manipulation either with a scripting language or Ant Contrib (http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html) Not sure this answers your question? Flossy "Casillas Bayo wrote: > Hello, > > I'm using an ant file and I have a question. ¿It is p

Re: Question about Copy task with empty PatternSet

2014-05-16 Thread Roger Whitcomb
Well, that basically worked. But I had to put the "exclude" not in the PatternSet itself, but in the FileSet that referenced the PatternSet, like this: Not totally ideal, maybe, but it does work. I think what you said would work with the incomplete example I gave, but I also was using

Re: Question about Copy task with empty PatternSet

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

Re: Question about Copy task with empty PatternSet

2014-05-14 Thread KM
Not really giving any specifics - but use the support.abc property when checking the copy as well, e.g. make a target/task or if the copy would support the check use it there.  I'd have to look up the syntax etc. Or make the whole pattern set and copy a target/task and check for the property.

Re: Question for a new Apache Ant release

2012-01-12 Thread Stefan Bodewig
On 2012-01-12, Perrier, Nathan wrote: > Is there a documented process for what the release plan needs to > include? There is a rather crude description of the release process itself in svn. It did make sense to the people who have managed the last few releases. https://svn.apache.org/repos/asf/

Re: Question for a new Apache Ant release

2012-01-12 Thread Stefan Bodewig
On 2012-01-12, Perrier, Nathan wrote: > Who typically proposes the release plan? Anyone on this list? Usually any Ant committer (and on the dev list, not this list). > Is there a documented process for what the release plan needs to > include? Basically "I'm willing to act as release manager b

RE: Question for a new Apache Ant release

2012-01-12 Thread Perrier, Nathan
Who typically proposes the release plan? Anyone on this list? Is there a documented process for what the release plan needs to include? -Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Thursday, January 12, 2012 10:11 AM To: user@ant.apache.org Subject: Re

Re: Question for a new Apache Ant release

2012-01-12 Thread Stefan Bodewig
On 2012-01-11, Felix Mayerhuber wrote: > The reason is that we use Apache Ant in a course in university where we > use Ant to compile and launch programs. Since version 1.8.2, Ant > swallows the commands written to Stdin, so we advise the students to > install Ant version 1.8.1. But it would be ni

Re: Question about using Tar with Hadoop files

2011-12-22 Thread Stefan Bodewig
On 2011-12-22, Stefan Bodewig wrote: > On 2011-12-19, Frank Astier wrote: > Later versions of tar support workarounds (namely ustar later used by > GNU tar and BSD tar aswell) and even later the newer POSIX standard > added PAX extension headers to address this (and other things like file > names

Re: Question about using Tar with Hadoop files

2011-12-22 Thread Stefan Bodewig
On 2011-12-19, Frank Astier wrote: > I’m trying to use the Apache Tar package (1.8.2) for a Java program > that tars large files in Hadoop. I am currently failing on a file > that’s 17 GB long. First of all, do yourself a favor and use Commons Compress rather than Ant's tar package. Traditional

Re: Question about using Tar with Hadoop files

2011-12-20 Thread Andy Stevens
You didn't mention what version of Ant was involved... Andy. On 20 Dec 2011 05:31, "Frank Astier" wrote: > Hi - > > I’m trying to use the Apache Tar package (1.8.2) for a Java program that > tars large files in Hadoop. I am currently failing on a file that’s 17 GB > long. Note that this code wor

Re: Question re Javadoc task

2011-10-31 Thread Michael Ludwig
Rhino schrieb am 30.10.2011 um 13:14 (-0400): > > How do I tell the javadoc task which doctype I want for my > generated Javadocs? It is generating HTML 4.01 but I want it to > generate XHTML1.0. Isn't javadoc always that rusty-trusty HTML 4.01? Take a look at the source of this page, HTML 4.01,

Re: Question re Javadoc task

2011-10-30 Thread Rhino
I've solved this problem for myself. My objective was to be able to display accented letters correctly in my Javadocs, such as the French "e acute", and I managed to accomplish that by adding these options to the Javadoc command: encoding="UTF-8" docencoding="UTF-8" charset="UTF

Re: Question about excludes

2011-07-27 Thread Tim Brown
I think you can use Override to force the transitive dependency to the higher version. http://ant.apache.org/ivy/history/2.0.0/ivyfile/override.html ~Sent from my mobile device. Please pardon any oddities :-) On Jul 27, 2011, at 4:18 AM, David Sills wrote: > All: > > I have a project that has

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
Ahhh, did some digging and figured it out! Apple OSX's java interpreter's default charset is MacRoman I modified bin/ant to add -Dfile.encoding=UTF-8 as an argument for the java interpreter, and it works fine now: hitman@bigdog ~/t/t/apache-ant-1.8.2$ bin/ant foo2 Buildfile: /Users/hitman/t/t/ap

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
> The ? implies to me that your shell might be trying to display the UTF-8 > properly, but can't, so it shows the question mark. > > Instead of looking at the file with cat: > - Does the file have one byte for that mark, (that would be the question > mark) or 3? - You should be able to count ho

RE: Question regarding UTF-8 and property files

2011-05-27 Thread Echlin, Robert
o: Ant Users List > Subject: Re: Question regarding UTF-8 and property files > > Works for me: > > > > > encoding="iso-8859-1"/> > > > > > > > > foo: > [echo] [Test ế] > >

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
On Fri, 27 May 2011, Scot P. Floess wrote: > Works for me: > > > > > > > > > > Hmm. Yup. I actually just went to a linux system and ran the exact same example using the exact same ant version and it works fine over there. The linux box is using the Sun

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Alexandre Priou
no work for you !!! sorry i d'ont want this shit sorry , it s clear ? On Fri, May 27, 2011 at 8:11 PM, Scot P. Floess wrote: > Works for me: > > > > > > > > > > > > > foo: > [echo] [Test ế] > > > > On Fri, 27 May 2011, Rob J wrote: > > This is on a Unix b

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Scot P. Floess
Works for me: foo: [echo] [Test ế] On Fri, 27 May 2011, Rob J wrote: This is on a Unix box, there is no BOM in foo.properties. I just added the BOM to the file: hitman@bigdog ~/t$ file foo.properties foo.properties: UTF-8 Unicode (with BOM) t

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Alexandre Priou
me too On Fri, May 27, 2011 at 8:05 PM, Rob J wrote: > On Fri, 27 May 2011, Alexandre Priou wrote: > > > no test it's the game > > Sorry, not following you there...? What do you mean? > > thanks, > rob > > - > To unsubscribe, e

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
On Fri, 27 May 2011, Alexandre Priou wrote: > no test it's the game Sorry, not following you there...? What do you mean? thanks, rob - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: us

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Alexandre Priou
no test it's the game On Fri, May 27, 2011 at 7:56 PM, Rob J wrote: > On Fri, 27 May 2011, Scot P. Floess wrote: > > > Try ISO-8859-1 as your encoding... Someone I work with was > > attempting to use property files with a similar issue (but directly > > within Java). He used the ISO-8859-1 enc

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
On Fri, 27 May 2011, Scot P. Floess wrote: > Try ISO-8859-1 as your encoding... Someone I work with was > attempting to use property files with a similar issue (but directly > within Java). He used the ISO-8859-1 encoding and it fixed his > problem... No dice. I tried changing both the encodin

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
This is on a Unix box, there is no BOM in foo.properties. I just added the BOM to the file: hitman@bigdog ~/t$ file foo.properties foo.properties: UTF-8 Unicode (with BOM) text hitman@bigdog ~/t$ ant foo Buildfile: /Users/hitman/t/build.xml foo: BUILD SUCCESSFUL Total time: 0 seconds hitman@bi

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Scot P. Floess
Try ISO-8859-1 as your encoding... Someone I work with was attempting to use property files with a similar issue (but directly within Java). He used the ISO-8859-1 encoding and it fixed his problem... On Fri, 27 May 2011, Rob J wrote: So I'm having an issue with UTF-8 and property files.

RE: Question regarding UTF-8 and property files

2011-05-27 Thread Echlin, Robert
Hi Rob, Maybe you need to start the file with the Byte Order Mark? This is apparently more likely if you are on Windows. http://en.wikipedia.org/wiki/UTF-8#Byte_order_mark Rob > -Original Message- > From: Rob J [mailto:r...@dcsportbikes.net] > Sent: Friday, May 27, 2011 12:03 PM > To:

RE: Question on Clearcase task - ccupdate

2011-03-26 Thread Martin Gainty
nipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 24 Mar 2011 20:12:42 +0100 > From: gil...@maksimo.de > To: user@ant.apache.org > Subject: Re: Question on Clearcase task - ccupdate > > Original Message > Subject: Re: Qu

Re: Question on Clearcase task - ccupdate

2011-03-24 Thread Gilbert Rebhan
Original Message Subject: Re: Question on Clearcase task - ccupdate From: Gilbert Rebhan To: Ant Users List Date: Thu Mar 24 2011 20:12:42 GMT+0100 (CET) > Original Message > Subject: Re: Question on Clearcase task - ccupdate > From: Savoy, Meli

RE: Question on Clearcase task - ccupdate

2011-03-24 Thread Savoy, Melinda
Thanks Gilbert. The additional info is very helpful. I've got an IBM rep on the phone and hopefully he'll be able to help. -Original Message- From: Gilbert Rebhan [mailto:gil...@maksimo.de] Sent: Thursday, March 24, 2011 2:13 PM To: Ant Users List Subject: Re: Question on

Re: Question on Clearcase task - ccupdate

2011-03-24 Thread Gilbert Rebhan
Original Message Subject: Re: Question on Clearcase task - ccupdate From: Savoy, Melinda To: 'Ant Users List' Date: Thu Mar 24 2011 17:47:01 GMT+0100 (CET) > Thanks Dominique. I have posted on the CC forum however, I'm assuming not > too many will resp

RE: Question on Clearcase task - ccupdate

2011-03-24 Thread Savoy, Melinda
ienne [mailto:ddevie...@gmail.com] Sent: Thursday, March 24, 2011 11:35 AM To: Ant Users List Subject: Re: Question on Clearcase task - ccupdate On Thu, Mar 24, 2011 at 11:20 AM, Savoy, Melinda wrote: > I have an ANT script that is being used to update the CLEARCASE view that was > created by a form

Re: Question on Clearcase task - ccupdate

2011-03-24 Thread Dominique Devienne
On Thu, Mar 24, 2011 at 11:20 AM, Savoy, Melinda wrote: > I have an ANT script that is being used to update the CLEARCASE view that was > created by a former employee. > The ANT script that I am using has been working for years. > Yesterday I executed the BUILD.XML ANT script and I got a PERMISSI

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

2010-12-30 Thread Antoine Levy-Lambert
On 12/30/2010 1:23 PM, Jeff Spence wrote: Thanks, I got rid of the Java part, but now it seems like ant can't find my build.xml file. error: Buildfile: build.xml does not exist! Build failed You need to create a build.xml in the current directory from which you are running ant, or specify the

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

2010-12-30 Thread Jeff Spence
On 12/30/2010 12:45 PM, Michael Ludwig wrote: Jeff Spence schrieb am 30.12.2010 um 12:31 (-0500): "ant compile" and I get the error: Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar Buildfile: build.xml does not exist! Build failed That's

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

2010-12-30 Thread Michael Ludwig
Jeff Spence schrieb am 30.12.2010 um 12:31 (-0500): > "ant compile" and I get the error: > > Unable to locate tools.jar. Expected to find it in C:\Program > Files\Java\jre6\lib\tools.jar > Buildfile: build.xml does not exist! > Build failed That's not a JDK, just the JRE: it has no develo

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

2010-12-30 Thread Nate Stoddard
You should be setting JAVA_HOME to your jdk installation directory. > Hello, >I'm studying J2EE with the Java Tutorial, and have run into some > trouble in my first attempt to compile using the following: > "ant compile" and I get the error: > >Unable to locate tools.jar. Expected to fi

Re: Question about the Include task

2010-10-11 Thread Michael Shea
If I understand your issue, you have a build.xml file in a common-build dir, and you want to load properties from files in the common-build directory, and also from the directory of the build that is referencing your common build? I do this in my builds: build.xml for a given project: ---

Re: Question about the Include task

2010-10-11 Thread Michael Shea
If I understand your issue, you have a build.xml file in a common-build dir, and you want to load properties from files in the common-build directory, and also from the directory of the build that is referencing your common build? I do this in my builds: build.xml for a given project: ---

Re: Question about simple nested text elements

2010-02-05 Thread scabbage
Sorry, the code i posted above has some typos. Here's the correct one: import java.util.ArrayList; import java.util.List; import org.apache.tools.ant.Project; import org.apache.tools.ant.Task; import org.apache.tools.ant.types.DataType; public class MyTask extends Task { private List thing

Re: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-17 Thread Tamer Demirel
Thx for the suggest, but don't you think I've even look at there and still dont know how its gonna work? I have no clue of ant. And it would be very nice to have a short example about the four commands, just i need. Its easier for me instead of reading the manual and try try try till its worked.

Re: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-16 Thread Antoine Levy-Lambert
Hello Tamer, I suggest you open the ant manual that you can find online, and you look at the tasks mkdir, unzip, xslt. Regards, Antoine Tamer Demirel wrote: > Hello, > > i like to automatise my transformations xslt and . So i don't want to > build class files. > Can somebody give me a short exa

Re: question about built project(war file)

2009-01-18 Thread xiadanhua
nt Users List" Sent: Monday, January 19, 2009 1:01 PM Subject: Re: question about built project(war file) Just to confirm again, I guess you have added the junit.jar file into the generated war file's WEB-INF/lib folder. If so, can you try as fol

Re: question about built project(war file)

2009-01-18 Thread Kamal Chandana Mettananda
..@gmail.com> > To: "Ant Users List" > Sent: Monday, January 19, 2009 12:28 PM > Subject: Re: question about built project(war file) > > > > Have you added the junit.jar file into the lib folder of the war file? > > > Kamal > ---

Re: question about built project(war file)

2009-01-18 Thread xiadanhua
Yes, I have. Below is part of my build.xml's content. Please check it. classpath="${classpath.lib}" debug="on" /> - Original Message - From: "Kamal Chandana Mettananda" To: "Ant Users List" Sent: Monday, January 19, 2009 12:28 PM Su

Re: question about built project(war file)

2009-01-18 Thread Kamal Chandana Mettananda
Have you added the junit.jar file into the lib folder of the war file? Kamal --- http://lkamal.blogspot.com On Mon, Jan 19, 2009 at 8:51 AM, xiadanhua wrote: > I have a question about built project(war file). > > > > At first time, I used ant's build.xml t

RE: question about clearcase api

2008-12-04 Thread Redmond, Nicole
Setting project fixes it. Thank you so much. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 7:52 AM To: user@ant.apache.org Subject: AW: question about clearcase api >I am trying to use the clearcase >org.apache.tools.ant.taskdefs.

RE: question about calling a java program

2008-08-28 Thread Duhra, Sarab Singh
Thanks Jan. -Sarab -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2008 9:48 PM To: user@ant.apache.org Subject: AW: question about calling a java program You could write a which takes the arguments and implements the "standard" rest. Wi

Re: Question about scp

2008-07-15 Thread Reinhardt Christiansen
to participate. Some would even call it fun :) -Rob Anderson -Original Message- From: Reinhardt Christiansen [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2008 6:37 AM To: Ant Users List Subject: Re: Question about scp I see. Well, it's nice to know that it wasn't a case

RE: Question about scp

2008-07-15 Thread Anderson, Rob (Global Trade)
:) -Rob Anderson -Original Message- From: Reinhardt Christiansen [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2008 6:37 AM To: Ant Users List Subject: Re: Question about scp I see. Well, it's nice to know that it wasn't a case of me being stupid. It's a shame that it

Re: Question about scp

2008-07-15 Thread Reinhardt Christiansen
I see. Well, it's nice to know that it wasn't a case of me being stupid. It's a shame that it has to be that complicated to copy a tree from the remote Linux machine to my PC but that's life, I suppose. Thanks for the information. -- Rhino Anderson, Rob (Global Trade) wrote: You need to use

RE: Question about scp

2008-07-14 Thread Anderson, Rob (Global Trade)
You need to use a nested fileset in your scp task. In order to do this you would need to run ant on the host where the files reside. You cannot use a nested fileset as a source for the copy when they are on a remote host. I would setup cygwin sshd on the windows box and run ant on the linux box.

Re: Question about scp

2008-07-13 Thread Atsuhiko Yamanaka
Hi, 2008/7/12, Reinhardt Christiansen <[EMAIL PROTECTED]>: > Is it possible to recurse through subdirectories when copying from a > directory on a local machine to a remote machine? If it is, could someone > please tell me what I'd need to write to copy c:\backups\abc\text and all of > its subdire

Re: Question about resolution error

2008-02-12 Thread Xavier Hanin
legacy reason, feel free to open an issue to request something better. Xavier > > > But thank you for the advice, it works. > > -Original Message- > From: Xavier Hanin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 12, 2008 10:54 AM > To: [EMAIL PROTECTED] &g

RE: Question about resolution error

2008-02-12 Thread Brown, Carlton
] Sent: Tuesday, February 12, 2008 10:54 AM To: [EMAIL PROTECTED] Subject: Re: Question about resolution error HTTP Authentication configuration is done in the settings task: http://ant.apache.org/ivy/history/latest-milestone/use/settings.html Xavier On Feb 12, 2008 4:46 PM, Brown, Carlton <[EM

Re: Question about resolution error

2008-02-12 Thread Xavier Hanin
HTTP Authentication configuration is done in the settings task: http://ant.apache.org/ivy/history/latest-milestone/use/settings.html Xavier On Feb 12, 2008 4:46 PM, Brown, Carlton <[EMAIL PROTECTED]> wrote: > A bit more information... looks like it's a 401 error (authentication). > The repositor

RE: Question about resolution error

2008-02-12 Thread Brown, Carlton
A bit more information... looks like it's a 401 error (authentication). The repository is challenging the client for a username/password. Does the URL resolver have attributes to specify a valid username/password? [ivy:resolve] m2-cached-http: no latest strategy defined: using default [ivy:resolv

Re: Question to cvs task

2007-12-28 Thread David Weintraub
Are you on Windows? On cvsnt, the password is stored inside the Registry. The cvs task can't get to it. I've put the password into the CVSROOT. Since we don't check anything back into CVS from Ant, it's really just a read-only CVSROOT. Take a look at the task in the Ant manual, and you'll see the

Re: Question to cvs task

2007-12-28 Thread Michał Letyński
Thanks for your advice. I wrote separate task which extend AbstractCvsTask. I got one more question about cvs. One thing which is magic for me is how cvs connect to cvs server. Im making only diff but i dont put a server host, login and pass. I assume that this cvs is taking login and server fro

Re: Question to cvs task

2007-12-27 Thread David Weintraub
As you're finding out, that's the way "cvs" outputs that command, and all the CVS ant task does is do a system call to the "cvs" executable. Whatever CVS outputs, Ant does too. There maybe a way of filtering the output of one task with the input of another. I think there is something about resourc

Re: Question about "depends" attribute in the target element

2007-11-14 Thread Matt Benson
--- Steve Loughran <[EMAIL PROTECTED]> wrote: > David Weintraub wrote: > > If you invoke multiple targets on the command > line, each target will > > execute, and dependencies will execute > independently. There is no way > > of Ant to know if one of the targets you put on > the command line migh

Re: Question about "depends" attribute in the target element

2007-11-14 Thread Steve Loughran
David Weintraub wrote: If you invoke multiple targets on the command line, each target will execute, and dependencies will execute independently. There is no way of Ant to know if one of the targets you put on the command line might affect a later target. For example: $ ant first clean_first sec

Re: Question about "depends" attribute in the target element

2007-11-12 Thread David Weintraub
If you invoke multiple targets on the command line, each target will execute, and dependencies will execute independently. There is no way of Ant to know if one of the targets you put on the command line might affect a later target. For example: $ ant first clean_first second If Ant kept track of

Re: Question about "depends" attribute in the target element

2007-11-12 Thread Martin Gainty
Gating the 2nd target depending on the outputproperty of the first??? http://ant.apache.org/manual/CoreTasks/java.html M-- - Original Message - From: "Rick Genter" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, November 12, 2007 2:16 PM Subject: R

Re: Question about "depends" attribute in the target element

2007-11-12 Thread broken connection
t; > before > > it runs > > > > Any advice??? > > > > Thanks > > > > > > On 11/12/07, Rick Genter <[EMAIL PROTECTED]> wrote: > > > > > > > From: broken connection [mailto: [EMAIL PROTECTED] > > > > Sent: Mon

Re: Question about "depends" attribute in the target element

2007-11-12 Thread glenn opdycke-hansen
ilto:[EMAIL PROTECTED] > > > Sent: Monday, November 12, 2007 11:07 AM > > > To: Ant Users List > > > Subject: Re: Question about "depends" attribute in the target element > > > > > > Thanks Rick, > > > But like Glenn specified if

RE: Question about "depends" attribute in the target element

2007-11-12 Thread Rick Genter
> From: broken connection [mailto:[EMAIL PROTECTED] > Sent: Monday, November 12, 2007 11:11 AM > To: Ant Users List > Subject: Re: Question about "depends" attribute in the target element > > Yeah,I apologize for thatbut how can i resolve this guys??? > >

Re: Question about "depends" attribute in the target element

2007-11-12 Thread Scot P. Floess
... targetB always depends on targetA and should make sure targetA is ran before it runs Any advice??? Thanks On 11/12/07, Rick Genter <[EMAIL PROTECTED]> wrote: From: broken connection [mailto:[EMAIL PROTECTED] Sent: Monday, November 12, 2007 11:07 AM To: Ant Users List Subje

Re: Question about "depends" attribute in the target element

2007-11-12 Thread broken connection
/07, Rick Genter <[EMAIL PROTECTED]> wrote: > > > From: broken connection [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 12, 2007 11:07 AM > > To: Ant Users List > > Subject: Re: Question about "depends" attribute in the target element > > >

RE: Question about "depends" attribute in the target element

2007-11-12 Thread Rick Genter
> From: broken connection [mailto:[EMAIL PROTECTED] > Sent: Monday, November 12, 2007 11:07 AM > To: Ant Users List > Subject: Re: Question about "depends" attribute in the target element > > Thanks Rick, > But like Glenn specified if you add an extra target

Re: Question about "depends" attribute in the target element

2007-11-12 Thread broken connection
L PROTECTED]> wrote: > > > From: broken connection [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 12, 2007 11:01 AM > > To: Ant Users List > > Subject: Re: Question about "depends" attribute in the target element > > > > Thanks Glenn, > >

RE: Question about "depends" attribute in the target element

2007-11-12 Thread Rick Genter
> From: broken connection [mailto:[EMAIL PROTECTED] > Sent: Monday, November 12, 2007 11:01 AM > To: Ant Users List > Subject: Re: Question about "depends" attribute in the target element > > Thanks Glenn, > Here's a small test script that i wrote that simulat

Re: Question about "depends" attribute in the target element

2007-11-12 Thread broken connection
Thanks Glenn, Here's a small test script that i wrote that simulates my environment and proves my findings: build.xml: Output: C:\Documents and Settings\mick\Desktop\test>ant first second Buildfile: build.xml first: [echo] target First first: [

Re: Question about "depends" attribute in the target element

2007-11-12 Thread glenn opdycke-hansen
Could you post the complete Ant script? How are you invoking the script and the target(s)? I noticed if you invoke ant with both targetA and targetB, then targetA would be called multiple times. However if you invoke ant with targetC (below) then targetA is invoked once. in targetC --glenn O

RE: Question about war file and excluding folder

2007-08-30 Thread Alec Fernandez
; Ashish Kulkarni Subject: RE: Question about war file and excluding folder Try excludes="**/*.class, **/web.xml, **/Test*/*, **/Test*" Thanks -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: 29 August 2007 19:34 To: user@ant.apache.org Subject: Question

RE: Question about war file and excluding folder

2007-08-30 Thread Kalsi, Ramnish
Try excludes="**/*.class, **/web.xml, **/Test*/*, **/Test*" Thanks -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: 29 August 2007 19:34 To: user@ant.apache.org Subject: Question about war file and excluding folder Hi I have a file strutcure as below WEB-INF-

Re: Question about usage

2007-07-25 Thread Ninju Bohra
out using the deprecated sub-element of to mask/redirect/remove the .dtd reference? Thanx, Ninju - Original Message From: Brian Agnew <[EMAIL PROTECTED]> To: Ant Users List Sent: Wednesday, July 25, 2007 3:27:57 AM Subject: Re: Question about usage You really need the DTDs

Re: Question about usage

2007-07-25 Thread Brian Agnew
You really need the DTDs PUBLICID for xmlcatalog (see http://ant.apache.org/manual/CoreTypes/xmlcatalog.html) but you don't appear to have that in your DTD selection below. I'm not au fait with but I don't believe that it'll work with just a SYSTEM identifier. Brian On Wed, July 25, 2007 03:53,

Re: question for usage in

2007-05-16 Thread Jay Dickon Glanville
Thanks for the suggestion. I'll investigate ant-contrib. JDG On 5/16/07, Matt Benson <[EMAIL PROTECTED]> wrote: --- Jay Dickon Glanville <[EMAIL PROTECTED]> wrote: > A little more information ... > > I have a single XML Schema document (the source > file). I'm using > Castor on this schema

Re: question for usage in

2007-05-16 Thread Matt Benson
--- Jay Dickon Glanville <[EMAIL PROTECTED]> wrote: > A little more information ... > > I have a single XML Schema document (the source > file). I'm using > Castor on this schema to generate a set of java > files. (There are > multiple java files created - at least one for each > element in th

Re: question for usage in

2007-05-16 Thread Jay Dickon Glanville
A little more information ... I have a single XML Schema document (the source file). I'm using Castor on this schema to generate a set of java files. (There are multiple java files created - at least one for each element in the schema. This number is not known at castor-gen time. These java f

Re: question for usage in

2007-05-16 Thread Matt Benson
Jay, should be able to handle what you want to do, but we need a little more information regarding the derivation of your target files. In any event you'll probably end up using a composite mapper (if you're using the element it should magically behave as a composite mapper simply by nesting mul

Re: question for usage in

2007-05-16 Thread Jay Dickon Glanville
Any suggestions? Thanks On 5/14/07, Jay Dickon Glanville <[EMAIL PROTECTED]> wrote: Hello again, I have a situation where many java files are being created from a single xml file. I don't want this to be done if the java files are up to date. Therefore, I'm trying to use the task to generat

RE: Question using @ in exec/arg

2007-04-13 Thread Bret Kumler
n: Ant Users List; [EMAIL PROTECTED] >Betreff: RE: Question using @ in exec/arg > > >Hi, > > >-Original Message- >From: Bret Kumler [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 12, 2007 7:47 PM >To: Ant Users List >Subject: Question using @ in exec/arg &g

RE: Question using @ in exec/arg

2007-04-13 Thread Bret Kumler
Thank you. -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 11:05 PM To: Ant Users List; Bret Kumler Subject: RE: Question using @ in exec/arg Hi, -Original Message- From: Bret Kumler [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: Question using @ in exec/arg

2007-04-12 Thread Rebhan, Gilbert
Hi, -Original Message- From: Bret Kumler [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 7:47 PM To: Ant Users List Subject: Question using @ in exec/arg /* I'm going to use p4 sync @labelname and I was wondering if the @ sign will work in the following task. [ ... ] Do I ha

Re: Question about loop in Ant

2007-03-21 Thread Steve Loughran
Farid Izem wrote: Hi All, I have write a ant script which check the availibility of Oracle listener based on tcp reachibility (waitfor task) and jdbc connection (sql task). I'd like to make somehing like that : Is there something i can do easily or do i need to write my own ant task ?

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: Question about loop in Ant

2007-03-20 Thread cknell
http://www.cenqua.com/fisheye/demo/browse/~raw,r=1.4/ant/docs/manual/CoreTasks/sequential.html -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Farid Izem <[EMAIL PROTECTED]> Sent: Tue, 20 Mar 2007 22:32:12 +0100 To: user@ant.apache.org Subject: Questio

RE: Question about using different jvms with ant 1.6.5

2007-03-09 Thread Bret Kumler
51 AM To: Ant Users List; Bret Kumler Subject: Re: Question about using different jvms with ant 1.6.5 Good Morning Bret- 1)Can you specify the jvm attribute to point to your own customised java class? http://ant.apache.org/manual/OptionalTasks/junit.html 2)Also set clonevm to 'false' as y

Re: Question about using different jvms with ant 1.6.5

2007-03-09 Thread Martin Gainty
Good Morning Bret- 1)Can you specify the jvm attribute to point to your own customised java class? http://ant.apache.org/manual/OptionalTasks/junit.html 2)Also set clonevm to 'false' as you wont want to propagate from JavaVM running Ant to your particular task clonevm = false 3)set fork=true to se

Re: Question about debug output

2007-02-12 Thread Steve Loughran
Jon Rue wrote: Thanks but I know its not finding that class hence the error. I'm trying to figure out why there are differences in running Ant from within the IDE and running it from command line (which works flawlessly). Can someone answer my original question concerning the class loader? w

Re: Question about debug output

2007-02-09 Thread Jon Rue
Thanks but I know its not finding that class hence the error. I'm trying to figure out why there are differences in running Ant from within the IDE and running it from command line (which works flawlessly). Can someone answer my original question concerning the class loader? Thanks, Jon Rue B

Re: Question about debug output

2007-02-09 Thread Matt Benson
I find it a little "funny" that the script is set up to use the JDT (aka Eclipse) compiler, and it dies when running in NetBeans. Perhaps the compiler implementation class really isn't present? Note that you can download the Eclipse compiler as a standalone jar; Google for "ecj jar" or something

Re: Question about Classpath

2007-01-21 Thread Farid Izem
Thanks you Peter, it solved my problem. Next Time, i will read with more attention the documentation. Kind Regards, Farid. On 1/20/07, Peter Reilly <[EMAIL PROTECTED]> wrote: The task does not automaticylly use any classpath reference defined in the build file, you need to tell it about th

Re: Question about Classpath

2007-01-20 Thread Peter Reilly
The task does not automaticylly use any classpath reference defined in the build file, you need to tell it about the classpath using in this case the attribute classpathref Peter On 1/20/07, Farid Izem <[EMAIL PROTECTED]> wrote: Hi julying, My jdbc driver is in lib

Re: Question about Classpath

2007-01-20 Thread Farid Izem
Hi julying, My jdbc driver is in lib directory there is no problem. My main problem is the simple build.xml script doesn't work at all To specify the classpath : main project with many futures

Re: Question about Classpath

2007-01-19 Thread julying
make sure your mysql connector is the right version to your driver class! and you can use some ant debug tools to print the stracktrace of it's procession to make sure your lib is in ! -- julying 2007-01-20

RE: Question regarding -Xlint:unchecked

2006-12-15 Thread Chun Ji
hen it is explicitly specified . So the value ${src.dir} has different value for each build.xml file. Chun -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Sat 12/16/2006 4:12 AM To: Ant Users List Subject: Re: Question regarding -Xlint:unchecked He

  1   2   >