Hi,
as i have no experience with macrodef/sequential yet, this
may be achieved with some kind of macrodef ...
is there some kind of container, providing a for(each) loop
with nested targets ?
background =
i have to edit an antscript that contains several foreach loops
with the same list
Antcontrib foreach uses targets, for uses a nested task container.
Jan
-Ursprüngliche Nachricht-
Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. August 2005 08:50
An: user@ant.apache.org
Betreff: container with for(each) loop for nested targets ?
Hi,
as i have
hi all:
I want to send a mail use ant,so I write a task like below:
target name=mail
mail mailhost=smtp.gmail.com mailport=25 subject=Test build
user=myusername password=mypassword
from address=[EMAIL PROTECTED]/
to address=[EMAIL PROTECTED]/
messageThe nightly build has
Your build assumes that smtp.gmail.com is waiting for insecure
connections on the standard smtp port. As far as I know, for
smtp.gmail.com, you need to use port 587 with TLS enabled. Looking at
the docs you will need JavaMail in you classpath too. Try:
mail mailhost=smtp.gmail.com
Hi,
-Original Message-
From: Guo Rui [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 9:13 AM
To: user@ant.apache.org
Subject: Problem about send mail
/*
mail:
[mail] Failed to initialise MIME mail: javax/activation/DataSource
[mail] Using UU mail
[mail]
In fact I find that I forgot to add activation.jar in classpath.
Thanks all :)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://ant.apache.org/faq.html#adding-external-tasks
Jan
-Ursprüngliche Nachricht-
Von: James Mao [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. August 2005 08:49
An: dev@ant.apache.org; user@ant.apache.org
Betreff: [Fwd: How to add my Ant extension project into the
'Related
On 24/08/05, Stephen Morrison [EMAIL PROTECTED] wrote:
Hi,
I'm trying to build an Ant project that uses some Apple Cocoa classes.
These are stored as .class files and not as jars. They reside in a
completely different folder to my project. I can compile and run my
program by referencing
On 24 Aug 2005, at 15:03, Petar Tahchiev wrote:
Hi,
I'm trying to build an Ant project that uses some Apple Cocoa classes.
These are stored as .class files and not as jars. They reside in a
completely different folder to my project. I can compile and run my
program by referencing these from
On 24/08/05, Stephen Morrison [EMAIL PROTECTED] wrote:
On 24 Aug 2005, at 15:03, Petar Tahchiev wrote:
Hi,
I'm trying to build an Ant project that uses some Apple Cocoa classes.
These are stored as .class files and not as jars. They reside in a
completely different folder to my
I am trying to change the mode of some of my deployment files to
executable by using the ftp task. It's not working. I checked Google,
the ant doc and the commons-net api doc without finding much about
chmod. What am I doing wrong?
Here is my ftp task.
ftp server=${servername}
On 24/08/05, Stephen Morrison [EMAIL PROTECTED] wrote:
On 24 Aug 2005, at 16:20, Petar Tahchiev wrote:
On 24/08/05, Stephen Morrison [EMAIL PROTECTED] wrote:
On 24 Aug 2005, at 15:03, Petar Tahchiev wrote:
Hi,
I'm trying to build an Ant project that uses some Apple Cocoa
I was thinking... are there any wrapper tasks that actually can call ant tasks
which somehow can direct System.out output somewhere?
--
Sent from the Ant - Users forum at Nabble.com:
http://www.nabble.com/AntServer-reporting-output-to-RemoteAnt-t248730.html#a701218
I tried the dummy task or type definition, but it really requires the class
specified to implement the execute or other methods.
So, I have done the following
typedef name=regexp
classname=org.apache.tools.ant.types.RegularExpression
classpath
pathelement
ant script task with javascript is what i'd go for..
On 8/23/05, Barry White [EMAIL PROTECTED] wrote:
Have you looked at writing cutom ant tasks? It maye help to handle some
of the messier details.
Barry
Scott Bell wrote:
Problem statement:
I have a number of simple tcl
My Ant script needs to know if a property value is a relative or
absolute path in order to decide if to prepend a root path or not. Can
Ant do this without custom tasks?
Sten Rosendahl
-
To unsubscribe, e-mail: [EMAIL
Instead of using value, use location for the property and it should
convert it o an absolute path automatically.
Ben
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 1:10 PM
To: user@ant.apache.org
Subject: how to detect relative or
Have you tried property name=path
location=${another.path.property}/? In that case path property will
have an absolute path of another.path.property.
- Alexey.
[EMAIL PROTECTED] wrote:
My Ant script needs to know if a property value is a relative or
absolute path in order to decide if to
I was wondering if anybody knows of a ANT Task that can send all output to a
task if the task has failed?
For example:
${output_saved}
...
Is there a way to temporarily save output from system.out to a file somewhere
as well?
thanks
--
Sent from the Ant - Users forum at Nabble.com:
If I have a text file, how do I echo the text inside of it using an Ant Task?
The echo task can echo to a file, but can it echo a file's contents?
--
Sent from the Ant - Users forum at Nabble.com:
http://www.nabble.com/How-to-Echo-a-file-contents--t250912.html#a701728
On 24 Aug 2005, at 16:56, Petar Tahchiev wrote:
On 24/08/05, Stephen Morrison [EMAIL PROTECTED] wrote:
On 24 Aug 2005, at 16:20, Petar Tahchiev wrote:
On 24/08/05, Stephen Morrison [EMAIL PROTECTED] wrote:
On 24 Aug 2005, at 15:03, Petar Tahchiev wrote:
Hi,
I'm trying to build an
Load the file into a property with loadfile, then echo the property
value.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
koden (sent by Nabble.com) [EMAIL PROTECTED] wrote on 08/24/2005
01:39:26 PM:
If I have a text
I'm trying to mimic cat sometar.tar scriptfile.sh using
loadfile. This works properly on our slackware box, but when run on
a FedoraCore 4 box, I get:
Unable to load file: sun.io.MalformedInputException
Setting the encoding to ISO-8859-1 ruins the gzip format of the tar
file.
Any
Hi,
I am trying to run the sql task on a file using the src attribute of the
task (as follows)
target name=cleanDB depends=init description=Clears the database
sql
driver=com.microsoft.jdbc.sqlserver.SQLServerDriver
Now I'm trying to use concat - but is there a way to contact a text
file AND a binary file?
I'm trying to generate a shr file (some shell scripting at the top
and then the tar at the bottom).
On Aug 24, 2005, at 2:40 PM, EJ Ciramella wrote:
I'm trying to mimic cat sometar.tar
Hello,
Thanks for the tip - however it still does the same thing -
it seems like the backslashes are simply being ignored (if there is
one or two). I'll make some further investigations - if anyone has
ideas as to what could be going on here - I;d appreciate any pointers.
One thing
Hello,
i get the following error:
Creation was not successful for an unknown reason.
The ANT task get this error after execute the following lines:
delete dir=${log.dir}/
mkdir dir=${log.dir}/
Need ANT a waiting time between this 2 commands ? Is that possible ?
When the log.dir doesnt exist
Insert two echo tasks/stmts just to see the value of ${log.dir} just to rule
out any other factor. I believe, what's happening is that ANT is talking
too fast to the operating system and confusing it and basically 'delete and
mkdir' are almost overlapping. Separate them out by couple of echo
koden (sent by Nabble.com) wrote:
I was thinking... are there any wrapper tasks that actually can call ant tasks
which somehow can direct System.out output somewhere?
--
Sent from the Ant - Users forum at Nabble.com:
I have a project named Dant, which has a Ant task wrapper, you can define the
host and run executable remotely , the std output and std. err message will be
directed to the machine you run the ant scripts.
The idea is as same as Rant, but it support more network protocol , include
socket,
30 matches
Mail list logo