Hi,
-Original Message-
From: Neil Benn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 11:19 PM
To: Ant Users List
Subject: Re: ReplaceRegExp with windows filenames
/*
Thanks for the tip - however it still does the same thing -
it seems like the backslashes are si
On 24/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote:
>
>
> 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]
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, rmi
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:
http://www.nabble.com/AntServer-reporting-output-to-RemoteAnt-t248730.html#a70
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 o
Hi Everybody,
I am encountering an interesting behaviour with Ant's task that I
cannot explain and wonder if anybody else has come across this.
I am transferring a bug of *.h and *.cpp files from Windows to unix in
text-file format (this correctly takes care of converting dos-format
line-endi
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:
Need ANT a waiting time between this 2 commands ? Is that possible ?
When the log.dir doesnt exist it works fine.
Greets Oliver
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
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 > script
Hi,
I am trying to run the sql task on a file using the src attribute of the
task (as follows)
Is there any way I can generalize the above script to delete *ANY* database
on the server by sending a parameter to the cleanDB.sql file? So basically,
instead of spec
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 s
Load the file into a property with , then 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 file, how
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 a
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
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:
h
Have you tried 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 prepend a root path
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 ab
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 PROTECTED
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
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
Yes, I realize that the regexp type is defined in the ant.jar and that the
ant.jar
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
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
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.
Here is the output.
[ftp]
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
classes.
These are stored as .class files and not as jars. They res
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
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 t
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 refer
How about Ant-Contrib trycatch task (which allows a finally block)
http://ant-contrib.sourceforge.net/tasks/tasks/trycatch.html
Ben
-Original Message-
From: koden (sent by Nabble.com) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 8:40 PM
To: user@ant.apache.org
Subject: How t
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 the command line as follows:
javac -classpath
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 P
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]
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] Sendi
--- Begin Message ---
Hi guys,
I just released my first Ant extension project 'DANT' - distributed ant
on http://dant.3322.org
don't know how to add the project into the 'Related Projects' list of ANT.
Anyone can give me a hand?
Thanks in advance!
Cheers,
James.
--- End Message ---
---
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:
hi all:
I want to send a mail use ant
hi all:
I want to send a mail use ant,so I write a task like below:
The nightly build has completed
But when I run "ant mail",it report "IO error sending mail", so I
run "ant -verbose",it report :
C:\>ant -verbose
Apache Ant version 1.6.2 compiled on July 16 2004
Buildfile: bui
Antcontrib uses targets, 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
36 matches
Mail list logo