Once upon a time, ant-contrib was under fairly active development, and
I proposed to the ant-contrib admins to merge my Antelope tasks with
their project since there seemed to be a good fit between the two
projects. Not long after that, the focus of ant-contrib seemed to be
on the C compiler task
I ran into a similar problem just this morning with Java 1.5 and Java
1.6 incompatibility. In your javac task in your build file, you
should also set the bootclasspath, and point it to the rt.jar for Java
1.3. This will help you not introduce usage of Java 1.5 APIs into
your Java 1.3 build since
For if/else, try/catch, and changing the value of a property, all you
need is either antcontrib (ant-contrib.sourceforge.net) or antelope
(antelope.tigris.org) tasks.
Dale
On Thu, Jun 11, 2009 at 10:48 AM, Dean Schulze wrote:
>
> I anticipate using a simple build.xml with different targets to ki
You might want to check out the AntPerformanceListener in either Ant-Contrib
(http://ant-contrib.sourceforge.net/) or Antelope (
http://antelope.tigris.org/nonav/docs/manual/bk03ch27.html). This is a
listener that you add on the command line when you start Ant, and it will
give you a summary of wh
Giant is another:
http://giant.tigris.org/
On Thu, May 14, 2009 at 11:13 AM, Murray, Mike wrote:
> http://www.ggtools.net/grand/, which is linked from
> http://ant.apache.org/external.html, works well.
>
> -Original Message-
> From: raghu guru [mailto:raghure...@gmail.com]
> Sent: Thur
Does you build user have permission to read the file?
On Thu, Jan 22, 2009 at 9:51 AM, Faded-Maximus wrote:
>
> I have been trying to figure this out for the last few hours to no avail.
>
> The code works fine on my one linux account and after editing a few
> variables and using it on the build
Antelope has this too. See docs for the stopwatch task at:
http://antelope.tigris.org/nonav/docs/manual/bk03ch10.html
You might also be interested in the performance monitor, which can give
you a report on the time it takes for each target to run:
http://antelope.tigris.org/nonav/docs/manual
Antelope has this, see docs here:
http://antelope.tigris.org/nonav/docs/manual/bk03ch13.html
Dale
Guy Catz wrote:
Is it possible to make a string lowercase (or uppercase)?
Something like
${myVar} can be "Release", while after calling , ${newVar} will be set to
"release".
Does somethi
See
http://ant-contrib.sourceforge.net/cpptasks/index.html
and
http://ant-contrib.sourceforge.net/cpptasks/antdocs/CCTask.html
Kamran Hameed wrote:
can we compile c files (using gcc) on ant??? if yes then how
-
To uns
trianni wrote:
I am currently using svnant with javasvn and everything works great, it is just
very sloow. Much slower than command line svn or SmartSVN. I was thinking
about trying svnkit as a replacement for javasvn. Would it be any faster?
---
Shawn Castrianni
-Original Message--
Have you tried the svn ant task from subclipse?
http://subclipse.tigris.org/svnant.html
The documentation appears to be out of date since it doesn't mention
that the "info" command is supported, yet there is a command in the code
base for it. The documentation also doesn't say it can use svn
The ant-contrib version of antcallback has a bug that will cause the
build to fail with Ant 1.7 when it is called from an "import" build
file. I fixed it in the Antelope version of the task:
http://antelope.tigris.org/files/documents/1409/11489/AntelopeTasks_3.4.5.zip
I haven't updated the an
I don't have a suggestion, although I can tell you that I only created
the Post task to do a simple post. It is not a full http client, and
won't follow a redirect. It was really designed for posting build
results to a servlet. You might look at the newer http tasks in Ant
itself since they
You can use the Performance Monitor from either ant-contrib or
antelope. See docs at:
antelope:
http://antelope.tigris.org/nonav/docs/manual/bk03ch27.html
ant-contrib:
http://ant-contrib.sourceforge.net/tasks/tasks/index.html
Dale
Tom Henricksen wrote:
Is it possible for ant to give timing
The StringUtils task from the Antelope project will do it:
http://antelope.tigris.org/nonav/docs/manual/bk03ch13.html
Here's an example:
prop2 before = ${prop2}
prop2 after = ${prop2}
StringUtils will also do
See the FileUtils task in the Antelope project:
http://antelope.tigris.org/nonav/docs/manual/bk03ch12.html
Hope this helps,
Dale
Kruszewski Marek wrote:
How to set in an ant-task a property to the modification time of a file?
- Marek
---
What I did for the progress bar in Antelope is to count the number of
tasks to be executed, then created a build listener that increased the
bar on each task completion. The tricky part is counting the number of
tasks in advance. While this doesn't give a time estimate, it does give
a pretty
Another alternative is to use the FileUtils and StringUtils from
Antelope, http://antelope.tigris.org. Here's an example:
first 8 characters of file name = ${first_8}
This will show the first 8 characters of the first file in Ant's lib
directory
did worked. Also java version was same at all the places. SO
I am assuming that there is some problem in using this listner
I think Antelope could be a good option but the question is where I can
download ANTELOPE ? I couldn't find it on the web site you mentioned.
Please Help !
THanks
Another option for this is to use either the stopwatch task or the
performance listener from either antcontrib
(antcontribe.sourceforge.net) or antelope (antelope.tigris.org). The
performance listener is actually quite nice in that it gathers the
statistics as the build runs, then outputs the
What those mean is that there are other tasks or types with the same
name loaded via one of the numerous jars in your ant classpath. You can
make the messages go away by using namespaces, which then lets Ant
explicitly pick the right task or type. Try it like this and the
'trying to override'
Yet another option, use the math task from antelope
(http://antelope.tigris.org). Here's an example from the docs:
a random number between 0 and 100: ${result}
Dale
[EMAIL PROTECTED] wrote:
Hi Charles,
There seems to be an issue with the antelope.taskdef file for a few
tasks. Try using the antlib.xml instead. The example below works fine
for me using the current AntelopeTasks_3.4.2.jar from
http://antelope.tigris.org. I tested this on both Ant 1.6.5 and 1.7.0.
Hi Gilbert,
Your example looks just right. That should work with no problems.
Dale
Rebhan, Gilbert wrote:
Hi,
if you want/need to go a more ' Antlike ' way =
i forgot there's another possibility with the
task from Antelope
"...
lastmodified Get the "last modified" date/timestamp of a f
I assume everyone knows the alternative is Antelope? (antelope.tigris.org)
Dale
Jérôme Warnier wrote:
[EMAIL PROTECTED] wrote:
Antidote is retired since March 2005.
http://marc.info/?l=ant-dev&m=111208322503443&w=2
Where are these broken links?
All links in "Getting Involved" on
http://ant.
If you're not opposed to external tasks, either antcontrib
(antcontrib.sourceforge.net) or Antelope (antelope.tigris.org) provide
straight-up if/else tasks.
Dale
Evan J wrote:
Hi,
I read the documents on Condition and Available tasks and from what I
see, both tasks only set a certain proper
An alternate solution is the StringUtils task in Antelope. See
documentation here:
http://antelope.tigris.org/nonav/docs/manual/bk03ch13.html
And download here:
http://antelope.tigris.org/files/documents/1409/11489/AntelopeTasks_3.4.2.zip
This task is compatible with Ant 1.6.5.
Dale
[EMAI
Hi,
Sorry for the late response. Did you get an answer to this? The assert
task in antcontrib is based on the assert task from antelope. You might
try the antelope version, I've verified that you can nest an in
it. Here's a link to the jar with just the tasks:
http://antelope.tigris.org
Keep in mind, though, that in fact it's spelled "potato".
bill/wilandra wrote:
Try using " --
HTH Bill
-Original Message-
From: Brown, Carlton [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 11, 2007 3:49 PM
To: Ant Users List
Subject: Escaping double quotes in properties?
I'm trying
followed by should do it.
On Mon, 17 Apr 2006, Roman Gavrilov wrote:
Is there a task for printing an ASCII file to a console?
Regards,
Roman
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
If you're not opposed to more custom tasks, there is a FileUtil task in
Antelope (antelope.tigris.org) that will get the last modified time.
Dale
On Thu, 23 Mar 2006, Anderson, Rob (Global Trade) wrote:
I have a custom Ant task that I am using to extract documents from a
document management
It's my fault that Antelope and Ant-Contrib aren't in sync. I tend to add
things to Antelope, use it a while, then eventually get around to adding
it to ant-contrib. I'm way behind on updates to ant-contrib...
"Unset" is sort of in ant-contrib, it's an attribute of the "variable"
task. I fou
The split task referenced in the bug is the same split task from Antelope.
To use the Antelope version:
1. download the task zip file from
http://antelope.tigris.org/files/documents/1409/11489/AntelopeTasks_3.2.10.zip
2. unzip the file. It has documentation and source as well as a jar file.
Co
Also, Ant-Contrib has a 'limit' task to handle such cases.
http://ant-contrib.sourceforge.net
On Mon, 16 Jan 2006, Frank Harnack wrote:
I would try the Parallel-Task. There is a timeout attribute available.
Regards,
Frank
Quoting Santosh Pai <[EMAIL PROTECTED]>:
Hey Everyun,
I want t
t the StringUtil task has a builtin
propertycopy feature, as properties are immutable
normally ?
Regards, Gilbert
-Original Message-
From: Dale Anson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 4:43 PM
To: Ant Users List
Subject: Re: Substring
You can also use the StringUtil
You can also use the StringUtil task from Antelope. Then you could do
something like:
${Prop1}${Prop2}
will print out
/my/folder/my other folder/
Or
${Prop3}
will print out the same.
See http://antelope.tigris.org.
Dale
Rebhan, Gilbert wrote:
Hi,
the only alte
See the "antfetch" task in ant-contrib or antelope.
Ant-Contrib: http://ant-contrib.sourceforge.net
Antelope: http://antelope.tigirs.org
Alternatively, you can have your sub-builds write the properties you
want to a file with , then read them back in with or
.
Dale
Roland Asmann wrote:
I'd suggest you start here:
http://www.catb.org/~esr/faqs/smart-questions.html
That might help you get a better response.
Bob Noonan wrote:
the task given in the rely generates a:
pathconvert does not support nested fileset
ditto the following example taken from ant.apache.org/manual/
Hi Ashley,
It is that hard, and maybe even harder. Antelope has a progress bar to
show how progress of a build. It tries to count the number of tasks
that will be executed prior to the build starting, then updates the
progress bar based on the taskFinished build events, so basically, it is
Johannes,
I've written a classloader that handles that specific situation. You can
view the source at:
http://antelope.tigris.org/source/browse/antelope/src/ise/antelope/launcher/SubJarClassLoader.java?rev=1.1&view=markup
This code is distributed with Antelope, the source is available at
htt
This sounded familiar, so I looked around and found a split task that
I'd done a while back. It seems to me I wanted to send a largish log
file by email from Ant (like 4 or 5 megs), but the mail server had a 1MB
limit. I added the task to Antelope, docs for it are at:
http://antelope.tigris.
Why don't you just use the custom Ant tasks that come with Tomcat? See
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html, then
follow the link for "Executing Manager Commands With Ant". There are
tasks for starting and stopping Tomcat, deploying and undeploying an
application
second thread to mask the characters being entered.
>
> http://java.sun.com/developer/technicalArticles/Security/pwordmask/
>
> Michael
>
> -Original Message-
> From: Dale Anson [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 22, 2004 2:57 PM
> To: Ant Users Li
Probably not widely known is that Ant-Contrib has a GUI input task, see
http://cvs.sourceforge.net/viewcvs.py/ant-contrib/ant-contrib/src/net/sf/antcontrib/input/
GUIInputHandler. It does not do password masking, however. This
particular input handler is copy and paste from the gui input handler u
Antelope has a few icons, but they're generic. There's a target icon and
a task icon (a little wrench) that is used for all tasks, but that doesn't
sound like what you're looking for. If you find some, or make some, maybe
they can be added to both Antelope and Antidote.
Dale
> Antidote has som
The best way is to submit a feature request through Ant's bugzilla. There
is a link on the front page of the Ant site. Then follow up on the Ant
developer list, and if you bug people enough, it'll get done. You'll get
a quicker response if you can attach a patch to the enhancement request
that f
I don't think there is any difference in format between ssh1 and ssh2
known_hosts files. The details of the file format are in the man pages
for sshd(8), on line at
http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8&arch=&apropos=0&manpath=OpenBSD+Current
>
> Can anyone point me to an e
Another option would be to use the 'variable' task from ant-contrib.
'variable' is used exactly like a property, but is mutable.
Dale
Bill Rich wrote:
Properties are immutable so you can not change them once they are set. But,
you can specify the value multiple times so that only the first one w
Antelope 3.0 is now available at http://antelope.tigris.org. Antelope is
a graphical user interface for Ant. This release supports Ant 1.5 and
1.6 and includes updated plugin support for jEdit 4.2.
Note that this project has moved from sourceforge.net to tigris.org.
Dale
---
Another option is to run the AntStructure task. This "generates a DTD
for Ant buildfiles which contains information about all tasks currently
known to Ant." Be warned that "This task doesn't know about required
attributes, all will be listed as #IMPLIED." The quotes are from the Ant
docs.
Dale
Another option is to use ant-contrib's Variable task, which is a mutable
property. It is in the 0.6 ant-contrib release.
Dale
Stirling, Scott wrote:
> Hi,
>
> I am writing to share my workaround for a gotcha I encountered with the latest
> ant-contrib tak (version 0.6) and some standard Ant t
ve a very clear execution path. How does 'make -n' handle situations
where conditions could be set and later checked to affect what happens?
Erik
On Thursday, November 6, 2003, at 01:01 PM, Dale Anson wrote:
You might want to look at Antelope (http://antelope.sourceforge.net).
I
I added the AntCallBack and AntFetch tasks from antelope to ant-contrib.
AntCallBack works like AntCall, but let's you get back some properties,
and AntFetch does the same thing for the Ant task. You'd need to get
them out of ant-contrib's cvs, as they are not in the current release.
Ant-Contri
Actually, Ant 1.6 includes ssh and scp tasks. These tasks are based on
jsch (www.jcraft.com), which uses a bsd style license, as opposed to
sshtools, which use a gpl license.
Dale
Avery Marvin R wrote:
Thanks. sshexec looks very promising.
MRA
-Original Message-
From: David McTavish
Or in your classpath if you can't write to $ANT_HOME/lib.
Jesse Stockall wrote:
On Friday, April 4, 2003, at 11:03 AM, Samuel Blanchet wrote:
Hi all,
I'm using the SSHExec task with ant 1.6a but I have this error after
starting my script.
file:///C:/temp/start_moteur.xml:64: taskdefA class nee
55 matches
Mail list logo