Hi,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 5:03 PM
To: Ant Users List
Subject: How to read a a particular log file and echo the message from
"Build.xml" ?
/*
>From Build.xml,How to read a particular log file(which is in the
Burgess, Benjamin wrote:
Currently the StarTeam Checkout Ant task has an attribute named "forced"
with the description:
If true, checkouts will occur regardless of the status that StarTeam is
maintaining for the file. If false, status will be used to determine
which files to check out. Defau
Hi,
Could someone please clarify what is a valid characters for
a target name?
I have been using spaces in the target names, e.g. "install server",
because it is more readable, and since I only invoke ant through
my IDE (IntelliJ) I don't care that spaces make it harder to use on
the commandline.
Hi,
Could someone please clarify what is a valid characters for
a target name?
I have been using spaces in the target names, e.g. "install server",
because it is more readable, and since I only invoke ant through
my IDE (IntelliJ) I don't care that spaces make it harder to use on
the commandline.
If the name is stored in XML try renaming it manually, then deleting it
via GUI. I think the reason for the failure is the failure to encode
ampersand. Try putting HTML or XML its encodings. Also maybe AntHill is
already fixed. Did you try its latest version?
- Alexey.
S I wrote:
Sorry, don'
I wrote a Web app to aid people who are moving their ANT builds over to
a Unix type platform.
http://classpath.dabase.com/
I am new to Ant. I found the way it showed the classpath sucked. It is
also could do a better job of uniforming paths between Windows and Unix
for comparison.
It took m
Sorry, don't know where to post this. It's really an Anthill question.
I created a schedule in anthill (http://localhost:8080/anthill/ and running
tomcat) on my winXP and I embedded the an ampersand in the name(e.g. A&B
Project); now I get error messages that I can not delete or edit it. Anyo
On Thursday 09 June 2005 20:38, Adam Messinger wrote:
> I was wondering if anyone out there had a task which deleted all
> files not under svn's control? The basic thing is that parts of our
> build generate .java files back into the source tree (I know it is
> bad practice, but I don't cont
Great Rob. Thank you very much. Your explanation made it very clear. Thanks
again :)
Original Message Follows
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: RE: ANT Task
Date: Thu, 9 Jun 2005 11:12:46 -0700
MIME-Versio
I use something similar to this
if you you want a specific tagged version then:
Good Luck
DT
|-+>
| | |
| |
Unless the task has been updated recently, I doubt you will be able
to use it against Dimensions. If you can do whatever you have to do from the
command line, use . For example, we use this to get code from Merant
Version Manager 8 (the new name of PVCS).
Andy Hardacker
-Or
I was wondering if anyone out there had a task which deleted all
files not under svn's control? The basic thing is that parts of our
build generate .java files back into the source tree (I know it is
bad practice, but I don't control is). I would like to have a task
which cleaned these up
Comments below...
> -Original Message-
> From: S I [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 08, 2005 4:30 PM
> To: user@ant.apache.org
> Subject: Re: ANT Task
>
>
> Here's then another question:
>
> Normally, I tag cvs repository as soon as I checkout since I
> do not lock th
Hi All,
I want to use ants PVCS task but unable to use it, as I am not
getting what all has to be there, I tried doing something like this
Don't know its working or not
But unable to sucessed in getting the cod
Eric Tchepannou wrote:
Hi Peter,
As my base class is an abstract class, I have no interest to use a
My hope is to do the following:
Reflect.java --
package my;
public class Reflect extends org.apache.tools.ant.Task {
List types = new ArrayList();
public void add(BaseType bt) {
A property file is a PropertyResourceBundle. You could look that up in the
Java docs. Bill
-Original Message-
From: Young Matthew [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 6:08 AM
To: Ant Users List
Subject: RE: Alternative to PropertyTask from Ant delivery
Wonder if there
Hi All,
>From Build.xml,How to read a particular log file(which is in the same
folder) and echo the message of a particular field in the log file from
"Build.xml"?
Is ant provide those facility andshould i have to read a script for this ?
Thanks,
Venkat.
This transmission may contain inf
On 6/9/05, Peter Reilly <[EMAIL PROTECTED]> wrote:
> Antoine Levy-Lambert wrote:
>
> >>--- Ursprüngliche Nachricht ---
> >>Von: Eric Tchepannou <[EMAIL PROTECTED]>
> >>An: user@ant.apache.org
> >>Betreff: Re: What is the difference between a nested element and a nested
> >>type?
> >>Datum: Thu, 9
On 6/9/05, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
> > --- Ursprüngliche Nachricht ---
> > Von: Eric Tchepannou <[EMAIL PROTECTED]>
> > An: user@ant.apache.org
> > Betreff: Re: What is the difference between a nested element and a nested
> > type?
> > Datum: Thu, 9 Jun 2005 10:32:51 +0100
>
Currently the StarTeam Checkout Ant task has an attribute named "forced"
with the description:
If true, checkouts will occur regardless of the status that StarTeam is
maintaining for the file. If false, status will be used to determine
which files to check out. Defaults to "false".
When fal
[EMAIL PROTECTED] wrote:
>Thanks for the answer james.
>And have you ever targeted mainframe environments for c builds for instance?
>
>
yes, this can be quite an experience to get things right...if the
mainframe is *just* a deployment target then life is made a mite easier,
though everytime I h
Antoine Levy-Lambert wrote:
--- Ursprüngliche Nachricht ---
Von: Eric Tchepannou <[EMAIL PROTECTED]>
An: user@ant.apache.org
Betreff: Re: What is the difference between a nested element and a nested
type?
Datum: Thu, 9 Jun 2005 10:32:51 +0100
Thanks a lot for that Antoine. That was very clear t
Thanks for the answer james.
And have you ever targeted mainframe environments for c builds for instance?
-Original Message-
From: James Fuller [mailto:[EMAIL PROTECTED]
Sent: Thu 6/9/2005 1:36 PM
To: Ant Users List
Subject: Re: cc task(bis)
[EMAIL PROTECTED] wrote:
>Hello gentle peop
> --- Ursprüngliche Nachricht ---
> Von: Eric Tchepannou <[EMAIL PROTECTED]>
> An: user@ant.apache.org
> Betreff: Re: What is the difference between a nested element and a nested
> type?
> Datum: Thu, 9 Jun 2005 10:32:51 +0100
>
> Thanks a lot for that Antoine. That was very clear to me.
> I was a
Wonder if there is a general Java module that handles property files. Then all
that is left is to write an Ant wrapper around it. / Matthew
-Ursprungligt meddelande-
Från: Wolfgang Häfelinger [mailto:[EMAIL PROTECTED]
Skickat: den 9 juni 2005 09:51
Till: Ant Users List
Ämne: Re: Alt
Hi,
works like it should.
But to be honest :
some files couldn't be deleted cause i had accessed them in
an editor on my other machine (working with a switch).
What a shame - argh ;-)
Pleased accept my apologie
Rebhan, Gilbert wrote:
>
>Hi,
>
>OK then i moved defaultexcludes
>
>
>
>
>
>
>
>
>no DEPRECATED anymore, but there are still some dirs remaining
>that should be deleted.
>
>
ok, if u are expecting all directories named
Hi,
OK then i moved defaultexcludes
no DEPRECATED anymore, but there are still some dirs remaining
that should be deleted.
All that dirs have a /CVS subfolder with cvs metainf
I'm using Ant 1.6.5 / jdk 1.4.2_05
Hi,
i've tried with =
[delete] DEPRECATED - Use of the implicit FileSet is deprecated. Use a
nested fileset element instead.
BUILD SUCCESSFUL
Total time: 1 second
But i'm using a nested fileset and few
As the manual for sais:
defaultexcludes : Deprecated
Move that to and you should get rid off that message.
Jan
>-Ursprüngliche Nachricht-
>Von: James Fuller [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 9. Juni 2005 14:22
>An: Rebhan, Gilbert
>Cc: Ant Users List
>Betreff: Re:
Rebhan, Gilbert wrote:
>Hi,
>
>i've tried with =
>
>defaultexcludes="false">
>
>
>
>
>
>
>[delete] DEPRECATED - Use of the implicit FileSet is deprecated. Use a
>nested fileset element instead.
>
>
here is the m
Thanks a lot for that Antoine. That was very clear to me.
I was able to check at
http://www.oracle.com/technology/pub/articles/bodewig_taskwriters.html
and I think the correct syntax (at least the one used there) to nest
types is
public void addSomething(BaseType t);
I have been using
public void
In my "build.xml" file I have:
in my "build.properties" I have:
project=launchy
[EMAIL PROTECTED]@-gemal
when I do my copy from within "build.xml" the @guid@ are replaced with
"launchy-gemal" which is nice.
but in my "build.xml" I cant use:
${ext.project}-gemal.dk
this echos "${ext.project}
[EMAIL PROTECTED] wrote:
>Hello gentle people!
>I just found out that there are c/c++ tasks in the ant-contrib project.(and by
>the way is the sourceforge server down)
>Is there another resource for such a task?
>
>
ant-contrib c/c++ are the best I have used...
gl, Jim Fuller
---
[EMAIL PROTECTED] wrote:
>I need to make a decision what to use for my distributed build-system that
>synchronously builds C++ on Mac and WIn and a large java project also on mac
>and win.
>
>
IMHO, RemoteAnt within ant-contrib lib wins hands down for stability
etc...though if want you want is
Hello gentle people!
I just found out that there are c/c++ tasks in the ant-contrib project.(and by
the way is the sourceforge server down)
Is there another resource for such a task?
If someone already tried this non-java gymnastic please help.
Many thanks.
-Original Message-
From: [EMAIL
Hello Robert,
What is the difference between RemoteAnt provided in com.rjmpsmith.ant compared
to ant-contrib's rant?
I need to make a decision what to use for my distributed build-system that
synchronously builds C++ on Mac and WIn and a large java project also on mac
and win.
Thanks for help
Rebhan, Gilbert wrote:
>Hi,
>
>i want to delete all subdirs but one dir should remain.
>
>for example :
>
>test
> sub1
> sub2
> jars
>
>i want delete sub1 and sub2 but /jars should stay
>
>
use and nested elements to define which dirs
should stay and which should be deleted using
Hi,
i want to delete all subdirs but one dir should remain.
for example :
test
sub1
sub2
jars
i want delete sub1 and sub2 but /jars should stay
I know how to include filenamepatterns with include / exclude but how to
deal with directorys ?
Gilbert
--
Hi, Jan
sorry didn't get it yet
i have no antrc_pre.bat / antrc_post.bat in my .../bin folder
the background of my question =
i'm kicking off an antscript out off Cruise Control.
Normally i start my scripts with a batchfile like that =
/*
@ echo off
set ANT_OPTS=-Xmx1024m
set ANT_HOME=C:\a
The call of the batch file antrc_pre.bat in your home directory is the first
thing the Ant startup script does. antrc_post.bat is the last. So you could do
some extra work there.
The environment variable ANT_OPTS is given as argument:
"%_JAVACMD%"
%ANT_OPTS%
-classpath "%ANT_HOME%\lib\an
Thanks for this Peter.
I had started in another thread a theory to explain myself this error.
But this is definitely sth. I will have to try out.
Eric
On 6/9/05, Peter Reilly <[EMAIL PROTECTED]> wrote:
> I meant to reply yesterday - but my battery ran out.
> You need to use the attribute "loader
Nest a fileset instead of using the files attribute.
I guess the files attribute may accept several files, which are space
separated. So does not work for files locating in pathes with spaces.
Cheers,
Antoine
> --- Ursprüngliche Nachricht ---
> Von: <[EMAIL PROTECTED]>
> An:
> Betreff: RE: "files
I meant to reply yesterday - but my battery ran out.
You need to use the attribute "loaderref" so that the
same classloader is used for both the typedef and the
taskdef. Otherwise, different classloaders will be used,
and so the the classes will not be compatible.
Example:
- b
I have checked
http://www.oracle.com/technology/pub/articles/bodewig_taskwriters.html
I think I should rather use addMyBaseType(MyBaseType t) instead of
addConfigured(...) ?
Could it be that this new syntax is now only valid with Ant 1.6 + ?
On 6/9/05, Eric Tchepannou <[EMAIL PROTECTED]> wrote:
>
Thanks for that Matt.
I have checked my code again and managed to have it working with the
createXXX() Method. The addConfigured(..) still fails... :(
On 6/8/05, Matt Benson <[EMAIL PROTECTED]> wrote:
> Eric:
> Without consulting the code (much)... if you want
> your custom task to recognize any
Yes, it works for property task, but creates problem for the "files"
attribute in the task.
And ANT documentation doesn't mention anything like this for the "files"
attribute
Regards,
Archit
-Original Message-
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005
Hi all,
I was wondering if someone could enlighten me on this?
I tried to implement a custom type and use it in my build file but
everytime I get the error message that the nested "Element" is not
supported by the task.
Basically, I have something like this:
public class MyTask extends Task {
Hi, Jan
sorry i don't understand
could you provide me with some more details ?
Gilbert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 10:10 AM
To: user@ant.apache.org
Subject: AW: putting cmd args in ant.bat
- %HOME%\antrc_pre.ba
The alternative would be to install your own PropertyHelper. However,
had no luck in get this up and running properly. I posted a message to
this list a couple of weeks ago but didn't get any response.
"Ant Users List" schrieb am 09.06.05 09:44:37:
>
> Hej,
>
> Need an alternative to the Prope
Maybe '${user.home}' works
i do that for property that contain spaces
Regards, Gilbert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 9:57 AM
To: user@ant.apache.org
Subject: "files" attribute problem in task
Hi ,
I am trying to se
- %HOME%\antrc_pre.bat"
- %ANT_OPTS%
Jan
>-Ursprüngliche Nachricht-
>Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 9. Juni 2005 09:48
>An: Ant Users List
>Betreff: RE: putting cmd args in ant.bat
>
>
>Sorry forgot :
>
>i'm speaking of antinstall_dir/bin/ant.bat
>
Sorry forgot :
i'm speaking of antinstall_dir/bin/ant.bat
-Original Message-
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 9:18 AM
To: user@ant.apache.org
Subject: putting cmd args in ant.bat
Hi,
what's the right point to put the argument
-lib path
Hi ,
I am trying to send mail through the task. I am using the "files"
attribute to set the attachement file.
If I set the attribute as
files = "${user.home}/test.txt"
on windows XP, then ant throws this error "File "and" does not exist or
is not readable.".
${user.home} is "C:/
Hej,
Need an alternative to the PropertyTask that comes with Ant. Problem
with the PropertyTask is that comments are lost, text replacement of
special characters (like backslashes) are handled nicely, and unless
every date formated property is specified they are badly transformed.
Any suggestions
Hi,
what's the right point to put the argument
-lib path/to/my/extralibs
in, if idon't want to put that path into %PATH% ?
[ ... ]
:end
set _JAVACMD=
set ANT_CMD_LINE_ARGS=-lib path/to/my/extralibs <- here ?
[ ... ]
With space after '=' or right behind like above ?
The manual only spee
56 matches
Mail list logo