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
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
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
Hi,
you can try this (untested):
>
>
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.
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/
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
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
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
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
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
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
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,
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
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
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
> 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
o: Ant Users List
> Subject: Re: Question regarding UTF-8 and property files
>
> Works for me:
>
>
>
>
> encoding="iso-8859-1"/>
>
>
>
>
>
>
>
> foo:
> [echo] [Test ế]
>
>
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
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
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
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
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
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
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
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
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.
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:
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
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
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
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
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
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
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
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
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
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
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:
---
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:
---
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
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.
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
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
..@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
> ---
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
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
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.
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
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
:)
-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
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
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.
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
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
]
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
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
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
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
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
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
--- 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
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
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
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
t; > before
> > it runs
> >
> > Any advice???
> >
> > Thanks
> >
> >
> > On 11/12/07, Rick Genter <[EMAIL PROTECTED]> wrote:
> > >
> > > > From: broken connection [mailto: [EMAIL PROTECTED]
> > > > Sent: Mon
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
> 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???
>
>
...
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
/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
> >
>
> 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
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,
> >
> 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
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:
[
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
; 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
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-
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
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,
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
--- 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
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
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
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
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
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
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
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 ?
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
>
>
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
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
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
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
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
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
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
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
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
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
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 - 100 of 197 matches
Mail list logo