I've written a tool, similar to some of the others (but more powerful in some
ways) in the "Tools and Tasks" page which use GraphViz to produce a visual map
of your ant build files. What fun is using someone else's tool when you can
write your own?
Details:
Name of the tool: Nurflugel AntS
In line 7 of your buildfile you have something like
but your flagfile-task doesnt have a setFilename(...) method.
Jan
> -Ursprüngliche Nachricht-
> Von: Radha Sangal [mailto:[EMAIL PROTECTED]
> Gesendet am: Montag, 31. Januar 2005 19:05
> An: Ant Users List
> Betreff: taskdef , attri
On Mon, 31 Jan 2005, saba emailme-apache
<[EMAIL PROTECTED]> wrote:
> Is there another workaround? Am I the only one with
> this error?
At least we haven't heard about so far.
What is the result of the following build file on your machine?
${os.name}
Stefan
---
Hi,
get mail.jar here :
http://java.sun.com/products/javamail/
get activation.jar here :
http://java.sun.com/products/javabeans/glasgow/jaf.html
I put jar's that are not part of 'standard' ant
in directory /ant_extralibs
My antstart.bat looks like that :
@ echo off
set ANT_HOME=C:\ant_1
* Nat Gross <[EMAIL PROTECTED]> [2005-01-31 11:26]:
> Matt Benson wrote:
>
> >--- Nat Gross <[EMAIL PROTECTED]>
> >wrote:
> >
> >
> >
> >>Hi;
> >>I am just coming up to speed on Regex and have a
> >>couple of questions,
> >>please.
> >>
> >>1. Is there a difference between a) [a-cx-z] and
> >>b)
At 06:01 PM 1/31/2005 -0800, you wrote:
>I get an error when I have the following line in my
>build.xml:
>
>
>
>The error is a popup dialog with the message:
>
>C:\WINDOWS\system32\ntvdm.exe
>Error while setting up environment for the
>application. Choose 'Close' to terminate the
>application.
Are
Has anyone attempted to restart apache via ant? On some servers, I can
do this no problem. I echo a bunch a commands to a file, use chmod to
make it executable, then exec it. On most servers, this works fine, on
one particular server, I can stop properly, but I can't start back up -
it just
I get an error when I have the following line in my
build.xml:
The error is a popup dialog with the message:
C:\WINDOWS\system32\ntvdm.exe
Error while setting up environment for the
application. Choose 'Close' to terminate the
application.
A search with this message led me to bug reports that
This is what I have now.
And I using
Apache Ant version 1.6.1 compiled on February 12 2004
However, I don't see the Activation.jar and the mail.jar in
$ANT_HOME/lib
-Original Message-
From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
Sent: Monday, January 31, 2005 5:26 PM
If one target works and the other does not, libs are not the issue, right? It
would appear to be the usage.
-Rob A
> -Original Message-
> From: George Dibi [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 31, 2005 2:56 PM
> To: Ant Users List
> Subject: RE: sending email to multiple des
Then, you either need to add them to one of those directories (if you are
using ant < 1.6.1, you will have to add them to the $ANT_HOME/lib directory)
or specify where Ant can find them by using the -lib switch.
-Original Message-
From: George Dibi [mailto:[EMAIL PROTECTED]
Sent: Monday,
--- George Dibi <[EMAIL PROTECTED]> wrote:
> Rob,
>
> I did read the manual, and I've substitute me or you
> with an email
> address. That didn't work either.
> I think, it has something to do with the version ANT
> running. Since I
> didn't install it I am sure of the version.
The command "ant
Rob,
I did read the manual, and I've substitute me or you with an email
address. That didn't work either.
I think, it has something to do with the version ANT running. Since I
didn't install it I am sure of the version.
-Original Message-
From: Anderson, Rob (Global Trade) [mailto:[EMAIL
I don't have these files in $ANT_HOME\lib or $HOME\.ant
-Original Message-
From: Conelly, Luis (GE Energy, Non GE, GENE)
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 31, 2005 5:03 PM
To: Ant Users List
Subject: RE: sending email to multiple destination
-Original Message-
Fr
> I am trying to use 2 separate targets.
> This one works well:
>
> subject="isoft36 build notification">
>
>
>
> The build failed
>includes="*.report"/>-->
>
>
>
> The second one doesn't:
>
> tolist = "you"
> subject = "test"
> files = "courrier.tx
-Original Message-
From: George Dibi [mailto:[EMAIL PROTECTED]
Sent: Monday, January 31, 2005 4:49 PM
To: Ant Users List
Subject: RE: sending email to multiple destination
Where do I verify if these jars exist?
[Conelly, Luis] jars must exist either in $ANT_HOME/lib or $HOME/.ant/lib
or
I am trying to use 2 separate targets.
This one works well:
The build failed
-->
"me" is a text file with one email address
"you" is a text also with couple email addresses.
I am using, I think an older version of ANT maybe 1.5x. I didn't install
it.
Do you think, I need a new
Where do I verify if these jars exist?
Is the content of ${param.mail.list} is mail addresses separate by
comma?
How and where do you define them?
-Original Message-
From: Conelly, Luis (GE Energy, Non GE, GENE)
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 31, 2005 4:49 PM
To: Ant Us
What version of Ant are you using? Did you build it
yourself? Do you have the required libraries? It
appears that the error you get is thrown before your
elements are used and after they are set. Can
you send mail to a single recipient using the to
attribute? A single nested element?
--- Ge
Do you have the libraries mentioned in the Manual?? Mail uses a couple of
them (activation.jar & mail.jar, I believe).
This is an excrept of one of my build files. This sends mail messages to
multiple addresses:
-
-
See http://ant.
It acts like a mail is sent with the javax error, in conclusion no mail
is sent.
[mail] Failed to initialise MIME mail: javax/mail/MessagingException
[mail] Sending email: test
[mail] Sent email with 1 attachment
il:
[mail] Failed to initialise MIME mail: javax/mail/MessagingException
[mai
--- George Dibi <[EMAIL PROTECTED]> wrote:
> I tried that it didn't work
>
>
>
>
What was the result?
-Matt
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
I tried that it didn't work
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Monday, January 31, 2005 2:45 PM
To: Ant Users List
Subject: RE: sending email to multiple destination
--- George Dibi <[EMAIL PROTECTED]> wrote:
> What's the syntax to? Something like
--- George Dibi <[EMAIL PROTECTED]> wrote:
> What's the syntax to? Something like this: =
> xyz.com
> =
> abc.com
Never having used the mail task, I can only go by the
manual & source code
etc.
-Matt
What's the syntax to? Something like this: = xyz.com
= abc.com
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Monday, January 31, 2005 1:17 PM
To: Ant Users List
Subject: RE: sending email to multiple destination
--- "
> From: Ninju Bohra [mailto:[EMAIL PROTECTED]
> Was hesitant in writing the javascript (having never
> done it yet ;-) so I perserved on the regular
> expression front and with the help of a collegue we
> came up with
>
> input="${sorted.builds}"
>regexp
Success!
The element helped in restricting the list.
Was hesitant in writing the javascript (having never
done it yet ;-) so I perserved on the regular
expression front and with the help of a collegue we
came up with
Works like a charm...
Later,
Ninju
--- Dominique Devienne <[EMAIL PROT
"man scp" says -- "Any file name may contain a host and user
specification to indicate that the file is to be copied to/from that
host. Copies between two remote hosts are permitted."
I am sure, scp should work, but only problem is it prompts for
passwords, but there is a way to work around to av
> Scp only copies from a local to a remote directory, or from a remote to
> a local directory. It doesn't work for remote to remote directory
> transfers...
The BSD scp command supports this, so is the problem a bug or a limitation
in jsch?
Regards,
Nick G
Dave Bartmess <[EMAIL PROTECTED]>
Scp only copies from a local to a remote directory, or from a remote to
a local directory. It doesn't work for remote to remote directory
transfers...
On Mon, 2005-01-31 at 14:38 -0500, [EMAIL PROTECTED] wrote:
> What happened w/ scp? From your problem description, it should be a
> perfect fit.
What happened w/ scp? From your problem description, it should be a
perfect fit.
Regards,
Nick G
"Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
01/31/2005 12:44 PM
Please respond to "Ant Users List"
To: "Ant Users List"
cc:
Subject:RE: How to rem
--- "Conelly, Luis (GE Energy, Non GE, GENE)"
<[EMAIL PROTECTED]> wrote:
>
> From Ant manual [1]
> ___
> tolistComma-separated list of recipients.
> cclistComma-separated list of recipients to carbon
> copy
> bcclist Comma-separated list of
>From Ant manual [1]
___
tolist Comma-separated list of recipients.
cclist Comma-separated list of recipients to carbon copy
bcclist Comma-separated list of recipients to carbon copy
At least one of these, or the equivalent elements.
Guys, I am trying to find a way to send the email to multiple addresses.
The to address="[EMAIL PROTECTED]"/> will not let me use multiple
addresses.
Is there anyone that had to deal with this issue before?
Thanks
The build failed
-Original Message-
From: Ers
Hi,
I have built a custom task in java and a listener which reads the value
of its attribute.
I get the functionality as I want. Could print the task name , task
value in my listener.
I am getting the desired results (log file in db) but with the error
that build failed because of :
B
Thanks for the explanation. My purpose here is just to make ant more
usable by clearing up its documentation.
So "external" means external to ant.jar, not external to ant 1.6.2
(which is what I would have expected).
Isn't the location of PropertyFile in ant-nodeps.jar rather than ant.jar
just an i
> From: Ninju Bohra [mailto:[EMAIL PROTECTED]
> 1) How do I limit the number of directories that are
> returned in the to just the first level
> sub-directories
Use something like
> 2) Is it necessary to do the or does the
> return them in sorted order>
Platform-dependent behavior. You'd bet
Hey Guys,
I am befuttled as to exactly how to do this...
I have releases going to a directory tree
...Release2.0
|
---Release2.0Build400
|
lib
|
---Release2.0Build401
|
lib
|
---Release2.0Build402
|
lib
|
> I've tried several ways, but can't seem to find a way to copy a set of
> files from a directory on a remote server to another directory on the
> same or a different remote server.
>
> ftp and scp don't work, and we don't have the option of sshexec
> (security issues, supposedly).
I'm confused.
It is quite simple, non-optional tasks are
in ant.jar, optional tasks are not.
Pre ant 1.6, all ant's optional tasks where in
optional.jar.
With ant 1.6, all the optional tasks
are in ant-*.jar, where * is a short-name for the library the task depends
on. Some optional tasks do not depend on any t
Thanks for replying. Perhaps I wasn't clear enough to get
to my central confusion. Just some follow-up questions here.
Stefan Bodewig wrote:
On Fri, 28 Jan 2005, Douglas Kramer <[EMAIL PROTECTED]> wrote:
I'm new to Ant and have been wanting to understand optional tasks
better. I'm trying to dec
Matt Benson wrote:
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
Hi;
I am just coming up to speed on Regex and have a
couple of questions,
please.
1. Is there a difference between a) [a-cx-z] and
b)[a-c[x-z]] ?
If so, what? If not, which syntax is better to use?
I don't know, but b) looks conf
> Jan's example on redirector is not quite cut & paste
> but it should give you the idea. If you can't get it
> working after reading the manual and playing around
> for a while let us know.
Sure - never played with redirector - was meant to be "pseudo-code" :)
But thanks for clarification.
Jan
--- Douglas Kramer <[EMAIL PROTECTED]> wrote:
> When I use and specify output, all the output
> is redirected
> from the display to the log file.
>
> output="build.log">
>
> I want to be able to also view the output as it
> runs.
> Is there any way to send both standard out and
> standard
--- michael sorens <[EMAIL PROTECTED]> wrote:
> Is there a way to manipulate the contents of a
> multi-line property string as if it were a file?
> Right now I collect stderr of an exec to a temp-file
> (error="filename") then read the temp-file and
> manipulate via filterchain, storing into a pro
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
> Hi;
> I am just coming up to speed on Regex and have a
> couple of questions,
> please.
>
> 1. Is there a difference between a) [a-cx-z] and
> b)[a-c[x-z]] ?
> If so, what? If not, which syntax is better to use?
I don't know, but b) looks confusing to
On Mon, 31 Jan 2005, Dominique Devienne <[EMAIL PROTECTED]> wrote:
>> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
>> On Fri, 28 Jan 2005, Douglas Kramer <[EMAIL PROTECTED]> wrote:
>> > I'm new to Ant and have been wanting to understand optional tasks
>> > better. I'm trying to decide between us
Hi;
I am just coming up to speed on Regex and have a couple of questions,
please.
1. Is there a difference between a) [a-cx-z] and b)[a-c[x-z]] ?
If so, what? If not, which syntax is better to use?
2. How do I uppercase (or lowercase) a character in a string? (Need to
do this in Ant, so the Java
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> On Fri, 28 Jan 2005, Douglas Kramer <[EMAIL PROTECTED]> wrote:
> > I'm new to Ant and have been wanting to understand optional tasks
> > better. I'm trying to decide between using ReplaceRegExp
> > and PropertyFile (which is more what I want, but
Zsolt-
Have you contacted the folks at Serena?
http://www.serena.com/About/contact.asp
???
Martin-
- Original Message -
From: "Zsolt Koppany" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Monday, August 16, 2004 1:39 PM
Subject: Serena Extension
> Hi,
>
> where can I find an Ant-Ext
And the class org.xmlpull.v1.XmlPullParserException is in one of
bcel.jar,jibx-bind.jar,jibx-run.jar,jibx-extras.jar,xpp3.jar?
Jan
> -Ursprüngliche Nachricht-
> Von: babloosony [mailto:[EMAIL PROTECTED]
> Gesendet am: Samstag, 29. Januar 2005 13:30
> An: user@ant.apache.org
> Betreff: pro
For and the files dont have to specified - use s.
Does the work then?
Jan
> -Ursprüngliche Nachricht-
> Von: Swathi Rao [mailto:[EMAIL PROTECTED]
> Gesendet am: Sonntag, 30. Januar 2005 21:21
> An: user@ant.apache.org
> Betreff: Problems with copying and renaming files
>
> Hi,
>
> I
Maybe using .
Something like:
Jan
> -Ursprüngliche Nachricht-
> Von: michael sorens [mailto:[EMAIL PROTECTED]
> Gesendet am: Samstag, 29. Januar 2005 22:14
> An: user@ant.apache.org
> Betreff: manipulating propert
> Thank you for your answer - can i ask another question?
yes - but on the list :)
> I want the GUI to create a list that the user can click on to
> execute an
> individual target or else see the attributes of that target.
>
> I am thinking a hashtable is the best option since i need the targe
* Longie <[EMAIL PROTECTED]> [2005-01-31 06:19]:
> Hello
>
> I am not sure if this is the correct place to post this but i am sure
> somebody can help.
>
> I have a GUI written in java and i am parsing the build.xml for ant. I
> can parse through it and print out the different targets. The next s
01:
02: line 1
03:
04: line 2
05:
You could delete empty lines, but then you loose the 03-line in this
example.
Maybe it would be better to place the text in an external file.
Mmh - concat filter was a nice idea.
So you could use the tail- and headfilter to split y
Depends on what you want to do later ...
A Vector is only a list and a hashtable contains key-value pairs.
Use a Vector if you only want to store the targets.
Use a hashtable if you want to store the targetName-target pair.
Jan
> -Ursprüngliche Nachricht-
> Von: Longie [mailto:[EMAIL PROT
Thank you very much to all.
it works perfectly
AA.
On Sat, 29 Jan 2005 09:58:14 -0800, Conelly, Luis (GE Energy, Non GE,
GENE) <[EMAIL PROTECTED]> wrote:
> Looking at your buildfile, the thing is you have to call tar2 instead of
> tar1
>
> I have tried this sligthly modified version of your sc
Hello
I am not sure if this is the correct place to post this but i am sure
somebody can help.
I have a GUI written in java and i am parsing the build.xml for ant. I
can parse through it and print out the different targets. The next step
is to put each target into a vector or hashtable. SO i have
Hi, Jan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 28, 2005 12:48 PM
To: user@ant.apache.org
Subject: AW: regexp question
Sorry if offtopic, seems to be a more javaspecific question.
actually the value that has to be put in the file is a
On Fri, 28 Jan 2005, Douglas Kramer <[EMAIL PROTECTED]> wrote:
> I'm new to Ant and have been wanting to understand optional tasks
> better. I'm trying to decide between using ReplaceRegExp
> and PropertyFile (which is more what I want, but has the
> comment bug). I wanted to figure out which to
On Sun, 30 Jan 2005, Nicolas Vervelle <[EMAIL PROTECTED]>
wrote:
> Is there a way to upload only newer files ?
Use a selector.
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
62 matches
Mail list logo