Govardhan,
I have seen this error when you have different versions of ant in
your path/classpath (I´ve seen this happenning on linux workstations with
ant preinstalled). I'd do the following things, to track down the possible
problems:
- Unset $CLASSPATH variable
- Set $PATH variable with
>I wish those of you who are more knowledgeable than the rest
>of us NEWBIES,
>had more patient and explained things more thoroughly, so some
>day we can be
>like you guys to pass it on and to help others. :)
Not being an Ant Guru, I just have something to say:
http://jakarta.apache.org/sit
This link http://ant.apache.org/manual/CoreTasks/cvs.html is your friend for
CVS-related tasks
HTH
>-Original Message-
>From: Asha [mailto:[EMAIL PROTECTED]
>Sent: Thursday, May 26, 2005 7:46 AM
>To: user@ant.apache.org
>Subject: help:checkout cvs
>
>
>Hello,
> Can anyone help me how to
For more info on the patterns, please go to [1]
Regards
Luis
[1] http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html
> -Original Message-
> From: S I [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 21, 2005 11:37 AM
> To: user@ant.apache.org
> Subject: RE: AINASL
> *The [Version] gets written as intended but annoyingly preceded by #
Conelly, Luis (GE Energy, Non GE, GENE) Of course. A comment in a properties
file is always preceded by a # character
> *Ant/Buildnumber Task automatically inserts #Tue Apr 19 15:42:20 PDT 2005,
which is not my int
Nishi,
If you intend to use a variable previously set on the environment, you
should get it from your environment. I.e.
On the other hand, if you defined the property's value by passing an
argument on the command line such as
$ ant -Dyourprop=foo
then, the way you are using is the right wa
bit over there you can set the level you want
Hope this actually helps.
Luis
-Original Message-
From: Conelly, Luis (GE Energy, Non GE, GENE)
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 5:31 PM
To: Ant Users List
Subject: RE: Setting log level of the XmlLogger
this might
this might help a bit:
ant -logger org.apache.tools.ant.XmlLogger -verbose -logfile log.xml
HTH
Luis
-Original Message-
From: Ninju Bohra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 5:05 PM
To: Ant Users Group
Subject: Setting log level of the XmlLogger
Hello all,
This
Hi,
12Apr2005 @ 20:41 Conelly, Luis (GE Energy, Non GE, GENE) thusly spake
> http://ant.apache.org/manual/index.html you can find the manual
which refers to this page :-),
http://ant.apache.org/manual/api/packages.html
It's weird that I can't find the api, but I have solved that by using an
http://ant.apache.org/manual/index.html you can find the manual
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 7:50 PM
To: user@ant.apache.org
Subject: api ref doc
Hi,
I've just subscribed to this list :-)
I'm looking for the api ref
your PATH and you want to log
out/log in or rerun .profile or something like that.
HTH,
Matt
--- "Conelly, Luis (GE Energy, Non GE, GENE)"
<[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I am a bit confuse here, since I?ve never seen
> this kind of behavior
> wit
Hi there,
I am a bit confuse here, since I´ve never seen this kind of behavior
with ant. I am invoking ant from a shell script (the usual stuff is set,
such as JAVA_HOME, ANT_HOME, no classpath defined) and I get following
messages:
--
/xyz/apache-ant-1.6.2/bin/ant: fals
Ninju,
Would you mind to send only one time your post and then wait until
the list processes the mail? I don't mean to be rude, but having the same
post three times (so far) is not exactly my idea of a mailing list.
Once again, no offense intended, but please be considered with
ev
ärz 2005 19:04
> An: Ant Users List
> Betreff: RE: Copying files through FTP to servers in
> different timezones
>
> Anybody notice that Jan.Materne replys appeared before Luis
> Conelly questions??
>
> "Conelly, Luis (GE Energy, Non GE, GENE)"
> <[EMAIL P
files through FTP to servers in different timezones
Do you know the selector?
Jan
> -Ursprüngliche Nachricht-
> Von: Conelly, Luis (GE Energy, Non GE, GENE)
> [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 18. März 2005 18:54
> An: Ant Users List
> Betreff: Copying files
Hi all,
I have the following target
__
Files from ${local.dir} were updated to ${remote.dir} at
${ftp.server} server
__
To copy my files to my DEV server, which is setup with a different
Timezone than mine (EST vs
>From the ant manual | War Task
We regulary receive bug reports that this task is creating the WEB-INF
directory, and thus it is our fault your webapp doesn't work. The cause of
these complaints lies in WinZip, which turns an all upper-case directory
into an all lower case one in a fit of helpful
escape the backslashes (\\) or use forward slash (/) as separator in your
property value
-Original Message-
From: David W. Brown [mailto:[EMAIL PROTECTED]
Sent: Monday, February 14, 2005 2:54 AM
To: user@ant.apache.org
Subject: file & directory name property corrupted
Hello ant gurus (de
why don?t use Ant-contrib [1] task?
You can download Ant-contrib from [2]
HTH
Luis
[1] http://ant-contrib.sourceforge.net/cc.html
[2] http://sourceforge.net/project/showfiles.php?group_id=36177
-Original Message-
From: Yerram, Madhusudhan R. [mailto:[EMAIL PROTECTED]
Sent: Thursday, Feb
day, January 31, 2005 5:03 PM
To: Ant Users List
Subject: RE: sending email to multiple destination
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:
:
You also can define it as a simple property in a .properties file and then,
load it at the begin of your build file
[1] http://ant.apache.org/manual/running.html#libs
-Original Message-
From: Conelly, Luis (GE Energy, Non GE, GENE)
[mailto:[EMAIL PROTECTED]
Sent: Monday
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.
>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.
doesn´t work like this:
Thanks to all!
On Sat, 29 Jan 2005 08:56:09 -0800, Conelly, Luis (GE Energy, Non GE,
GENE) <[EMAIL PROTECTED]> wrote:
> Just a thought, but I believe you shouldn´t name both targets as "tar1";
try
> to name the second target as &qu
Just a thought, but I believe you shouldn´t name both targets as "tar1"; try
to name the second target as "tar2" and then invoke it from ant as usual
$ ant tar2
Should work.
HTH
luis
-Original Message-
From: Alvaro Andrés Montañez [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 29, 2
Follow the whole thread. You might find some usefull information.
http://marc.theaimsgroup.com/?l=ant-user&m=107668689014077&w=2
HTH - Luis
-Original Message-
From: softgnostics k [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 12:22 PM
To: user@ant.apache.org
Subject: how to
Hi, Chris,
Is really necessary to use JDK 1.5?? I believe most of the developments
out there are being done in Java 1.4.x and prior (yes, unbelievable, but
true). I'd like to give a try to your product, but I don't want to install
another JDK in my Wintel machine (another one would colapse my
I think you can use the Ivan Ivanov's macrodef[1] to start / stop tomcat
from your ant script
Also, Mani G. Iyer sent a very good piece of information[2] to perform tasks
in Tomcat from Ant
Ahh! The beauty of the archives ;)
Regards
[1] http://marc.theaimsgroup.com/?l=ant-user&m=1086936837
Why don't just use the -lib switch[1] and leave all as is? You can modify
the ant script (either ant.bat or ant.sh) to make part of the ant command
the lib switch. Then, you can distribute this modified version to your
department.
Just my 2 cents.
Regards
-Luis
[1] http://ant.apache.org/manual/r
There's nop need to use quotes on ssdir parameter, even if the directory
name has inbetween spaces. Also, you can use slashes instead of backslashes
or escape backslashes; i.e.
ssdir="C:/Program Files /Microsoft Visual Studio/Common/VSS/Win32"
or
ssdir="C:\\Program Files\\Microsoft Visual Studi
why don't you use forward-slashes instead backslashes?
It is the same for Java and it fits on Win & *nix systems; of course, it
won't work the same on any OS, since in Win you have this horrible drives
concept (C: D: etc)
i.e
(for Win)
java.home=C:/j2se1.4.2/bin
(for *nix)
java.home=/usr/local
Greg,
I found some interesting comments on the Ant Archives; see [1] and
its further comments on the same thread. Bottom line, it is recommended you
use the -lib flag when invoking ant; so your ant invocation would be:
$ ant -lib /path/to/your/jars -f buildfile.xml
Hope this helps you
R
there's an Ant-Contrib feature... I think it's [1] which has
something related...
[1] http://ant-contrib.sourceforge.net/tasks/antcallback_task.html
HTH
-Original Message-
From: Sharad [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 11:45 AM
To: Ant Users List
Subject: How to g
why don't you use ${line.separator}?
-Original Message-
From: Markus Innerebner [mailto:[EMAIL PROTECTED]
Sent: Monday, October 04, 2004 11:02 AM
To: [EMAIL PROTECTED]
Subject: how do i append text in a file ?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hello,
i want to appen text s
34 matches
Mail list logo