Oops, you're right... was reverting to my Perl scripting days... THanks for
the correction!
On Friday 18 February 2005 03:34 pm, Dominique Devienne wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>
> Behalf
>
> > The "command" attribute is a text str
Sorry, but this won't work this way. In Ant properties are just like
variables declared as 'final',
meaning: they can get set only once.
What is it, that you like to achieve?
Thomas
Kasparek, Bernadette schrieb:
Hi everybody,
I've a problem. I want to define a property which I want to rename in t
Yes there is but it did not have an entry for j2ee.home, so I put one in
before . I still got the error, maybe it's something else? But that's
the only one that had /lib in the path for the javac line. Real strange.
David A Bartmess wrote:
I'm not familiar with this software, but as far as ant
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
>
> The "command" attribute is a text string passed directly to cvs, so
use
> whatever command you normally would use. And for the comment, you can
use
> any variable set prior to the call. For example, to a
The "command" attribute is a text string passed directly to cvs, so use
whatever command you normally would use. And for the comment, you can use
any variable set prior to the call. For example, to add a file with a
given comment (either in a build.properties, a prior target, or the
command line),
I'm not familiar with this software, but as far as ant goes, is there a
build.properties file, or some other file being imported in the main
build.xml? If so, look in there, or add the j2ee.home= to it so it's
set.
Good luck!
On Fri, February 18, 2005 2:31 pm, Frank said:
> Just starting to use a
sorry, I guess this will do the trick.
-Original Message-
From: Michael Wang (IT)
Sent: Friday, February 18, 2005 4:27 PM
To: 'Ant Users List'
Subject: fileset pattern matching
Importance: High
Hi,
I tri
Just starting to use ant/asant to build examples for web services from
sun tutorial. Running into a problem when I run the "asant build" get
the following error:
compile-client:
[echo] Compiling the client source code
[echo] src=src destdir=build
[javac] Compiling 1 source file to
Hi,
I tried to grab the files without extention from a directory.
I have the following ANT script.
Apparently,
Hi,
I wanna use task to add and commit some files. What's the correct format
to do it?
So far, for commit, here is a sample ant
is there a way to put message or lable there when commit?
I still don't figure out how to add a new file
Stefan,
On Feb 14, 2005, at 6:46 AM, Stefan Bodewig wrote:
On Fri, 11 Feb 2005, Travis Cripps <[EMAIL PROTECTED]> wrote:
Hi. I've got a strange error in my build script, and I've been
unable to find references to the error code in extensive searches on
the internet.
From your subject line, I'd say
I am using the cvs task:
The problem is, when I check it out..I get web/package/pollywog...etc
but I want to grab all of the files under pollywog but not the actual
root folder of pollywog...can I specify this in the task?
Thanks!
---
just switch to 1.5r3 and looks like it works. Thanks.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 11:46 AM
To: Ant Users List
Subject: RE: handy way to check if a dir is empty or not
It looks like the error I was getting when I had
It looks like the error I was getting when I had the most recent version
of Rhino installed. Which version are you using?
I could only get it to work using bsf-2.3_rc1 and rhino-1.5r3
--Alex Buccino
"Michael Wang (IT)" <[EMAIL PROTECTED]>
02/18/2005 11:19 AM
Please respond to "Ant Users List
Thanks, I got the following error
java.lang.NoSuchMethodError: org.mozilla.javascript.Context: method
getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine; not found
I put bsf.jar and js.jar in $ANT_HOME/lib. Do I need to specifically put them
into $CLASSPATH? Thanks.
MW
-O
Yes, you need. Check
http://ant.apache.org/manual/install.html#librarydependencies
for more information.
HTH Ivan
--- "Michael Wang (IT)" <[EMAIL PROTECTED]>
wrote:
> thank much. do I need to include some external jar
> to run js script? thanks.
>
> -Original Message-
> From: Ivan Ivanov
thank much. do I need to include some external jar to run js script? thanks.
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 9:41 AM
To: Ant Users List
Subject: RE: handy way to check if a dir is empty or not
--- "Michael Wang (IT)" <[EMAIL
--- "Michael Wang (IT)" <[EMAIL PROTECTED]>
wrote:
> thanks for the reply, howover, is this ANT script?
No, this is not an Ant script but this snippet can be
used in a :
$${empty.empty} = ${empty.empty}
$${notempty.empty} =
$
Sorry wrong list!
Original Message Follows
From: [EMAIL PROTECTED]
Reply-To: "Ant Users List"
To: user@ant.apache.org
Subject: AW: handy way to check if a dir is empty or not
Date: Fri, 18 Feb 2005 15:34:58 +0100
no, that´s java code. but you can put that into a
no, that´s java code. but you can put that into a
thanks for the reply, howover, is this ANT script?
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 9:28 AM
To: user@ant.apache.org
Subject: RE: handy way to check if a dir is empty or not
if(file.isDirectory() && (file.list()).length == 0)
if(file.isDirectory() && (file.list()).length == 0) {
// Directory is empty
}
Original Message Follows
From: "Michael Wang (IT)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: handy way to check if a dir is empty or not
Date: Fri, 18 Feb 2005 09:17:28 -0500
is there a handy way to do this? thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
there is a variable task available from http://ant-contrib.sourceforge.net/
Eric Wood
[EMAIL PROTECTED]
207.552.2306
>>> [EMAIL PROTECTED] 02/18/05 07:55AM >>>
Properties in Ant are immutable - once set their value cant be change. So
the
order is:
- specify on startup via -Dname=value
- order o
[EMAIL PROTECTED] wrote ..
> Thanks Stefan.
> That all looks helpful. It's great to have some examples of solving
> specific problems.
> H... anyone working on an O'Reilly Ant Cookbook :-)
hehe, I am but its called Ant Gems...it focuses on Ant uses outside of pure
java build...its publishin
Properties in Ant are immutable - once set their value cant be change. So
the
order is:
- specify on startup via -Dname=value
- order of load/definition in the buildfile
You can override that property value via nested tag of /.
But I´m not sure what you want to do ... usually you do something lik
Thanks Stefan.
That all looks helpful. It's great to have some examples of solving
specific problems.
H... anyone working on an O'Reilly Ant Cookbook :-)
I've resisted the idea of writing a custom task, but maybe that's what's
needed here.
Thanks again.
--Alex Buccino
Stefan Bodewig <[E
Hi!
Can you adwise me&
I need find duplicated files in the set of jar files.
becouse in our ant project we have more then one target, that creates jar
files with classes from one common directory, and I need keep eye on
havin only one copy of each class when all jars puting together in
result pr
Hi everybody,
I've a problem. I want to define a property which I want to rename in the
Main-Target, so that I can use it with different values.
In detail I have the following code:
<-- here I will use the property
My problem is, that it always take the first value. Is there a way
Hi Jake,
Yes, the JUnit JAR is in ANT_HOME/lib. I should have
pointed out that this is a build.xml that I've used
successfully with past versions of Ant. I've only
started having the problem when I upgraded to 1.6.1.
The CNF exception occurs when the class loader tries
to find one of my TestCa
I am trying trying to build to do two slightly different builds from the
same source code into two different directories, build and buildwithlicense.
Then for each directory I tar up the results, the first one works ok but
the second one always reports that there is nothing to do even though it
On Wed, 16 Feb 2005, Charbel BITAR <[EMAIL PROTECTED]> wrote:
> Please update the External Tools page external.xml
Done.
Congratulations on your new license ;-)
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Thu, 17 Feb 2005, alexander buccino
<[EMAIL PROTECTED]> wrote:
> I'm trying to take a subset of files in a directory, compare them to
> a set of files with a different extension in another directory, and
> compile these files and move them to the new directory if they are
> newer than the targe
committed, thanks
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
34 matches
Mail list logo