You can set java_home at runtime in windows. If you're compiling multiple
projects with two version of java it is best not to set java_home as
environment variable.
There are multiple ways of achieving the same outcome...here are two ideas.
First, set java_home in a batch file to kick-off the
Once an Ant property is set, you can't change it. However, there are a
few ways to get around this:
1). In an antcall, you set and these parameters are inherited
as properties in the called target:
2). You can do something similar with macrode
Hi guys,
Just looking at the front page of the Canoo website -- this looks like the
right tool to use -- I'll be checking it out.
Thanks!
Greg
ruel loehr wrote:
>
> This is the correct answer. You are talking about doing functional
> testing. This is the perfect tool for doing so.
> __
On Wed, May 14, 2008 at 4:00 PM, gregsmit <[EMAIL PROTECTED]> wrote:
> Does anyone know of an Ant task that I could use to walk through a website
> (that I built with ant) to confirm that there are no broken links? I found
> one really old project on sourceforge, but it looks pretty abandoned.
This is the correct answer. You are talking about doing functional testing.
This is the perfect tool for doing so.
From: Gilbert Rebhan [EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 4:15 PM
To: Ant Users List
Subject: Re: Ant task walk html and find b
Scot P. Floess schrieb:
Interesting question...
I know I need something like this too...and actually got bitten by
generating some bad HTML.
I considered using Selenium to test this...but that isn't an Ant task :(
what about Canoo ?
http://webtest.canoo.com/webtest/manual/WebTestHome.html
Interesting question...
I know I need something like this too...and actually got bitten by
generating some bad HTML.
I considered using Selenium to test this...but that isn't an Ant task :(
gregsmit wrote:
Hi,
I thought something like this might already exist, but I haven't been able
to fin
Hi,
I thought something like this might already exist, but I haven't been able
to find anything yet.
Does anyone know of an Ant task that I could use to walk through a website
(that I built with ant) to confirm that there are no broken links? I found
one really old project on sourceforge, but
I would also look at the documentation about differences between user
defined properties vs the ones defined within the build.xml file.
Another way to change properties at runtime is to read different
property files based on your condition.
hth,
Vijay
Taj, Abdul wrote:
When you say runtime,
[EMAIL PROTECTED] schrieb:
Thanks a lot. I know that JAVA_HOME is not the ANT - property.
I just wanted to check whether can we change the property value at run time.
Can we have detail list of different properties that ANT supports.??
Some stuff that might be helpful to get you started ...
When you say runtime, what do you mean - are you invoking ant from another
program? - like a java application.
If yes - you can use the Project class in Ant, refer api and use setProperty
method.
If no - then I don't understand what you mean by runtime - just initialize the
property in the bui
Thanks a lot. I know that JAVA_HOME is not the ANT - property.
I just wanted to check whether can we change the property value at run time.
Can we have detail list of different properties that ANT supports.??
Regards,
Irfan
-Original Message-
From: Knuplesch, Juergen [mailto:[EMAIL PROT
Manual
http://ant.apache.org/manual/
Tutorials (Manual::Tutorials)
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html
Jan
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 14. Mai 2008 15:17
> An: user@ant.apache.org
> Betr
Thats just the special thing about ANT-properties: You can not change them, for
good reasons.
But JAVA_HOME does not look like an Ant-property. What do you want to do?
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstra
I use the online doku (http://ant.apache.org/manual/) (you can download the
doku) and Steve Loughran / Erik Hatchers book.
--
Jürgen
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 14. Mai 2008 15:17
An: user@ant.apache.org
Betreff: ANT m
Hi All,
I need to change the value of a specific property at run time. Can
somebody please let me know how I can do that.
Let's say the property name is "JAVA_HOME" and suppose I want to change
the value of that property to "d:\install"
Please help.
Regards,
Irfan
Hi all,
I am quite a new to the ANT world. Can somebody have the ppt/pdf/manual
to learn the ANT in detail.
Please help.
Regards,
Irfan
Craig Riley wrote:
Hi,
Thanks for that, it now works. I simply needed to add..line="/c" /> before my wget command.
Cheers
Craig
you can usually use the task to retrieve things too
-
To unsubscribe, e-mail: [EMAIL PR
Hi,
Thanks for that, it now works. I simply needed to add.. /> before my wget command.
Cheers
Craig
Quoting "Knuplesch, Juergen" <[EMAIL PROTECTED]>:
What system you us? Linux, Windows???
Is wgwt a batchfile or a executable file?
The Ant manual says:
Note that .bat files cannot in genera
What system you us? Linux, Windows???
Is wgwt a batchfile or a executable file?
The Ant manual says:
Note that .bat files cannot in general by executed directly. One normally needs
to execute the command shell executable cmd using the /c switch.
I discourage the us
I'm new to the list so first let me say Hi!
I've only recently started using Ant but I think it's amazing!
I have been running my build script from within Eclipse and I've come
across my first problem. I've searched online but I couldn't find an
answer to this problem.
My build script crea
Thanks to all.
But we don't have any ant command to list out the no. of targets in
build.xml instead of using "sed"??
I have seen that ant -projecthelp but it does not have any option to
count the no. of targets
Please help.
Regards,
Irfan
-Original Message-
From: David Weintraub [ma
Ant does not distribute junit.jar, so the junit.jar file in your
$ANT_HOME/lib directory
would have been placed there independently.
With ant 1.7, the best practice is not to place a junit.jar file in
$ANT_HOME/lib.
Instead, one should use the classpath element of the junit task, and use
a project
Looking inside the junit.jar from my ant/lib directory, I can decompile the
Version.class and see that it is version JUnit 3.8.1. I downloaded JUnit 4.4
from their website and replaced the 3.8.1 jar in my ant/lib directory. That
seems to have fixed the problem. Is this a proper fix for my pro
I am getting a forked JVM crash for my junit task after the unit tests run
successfully. I am using ANT 1.7. I found the report on bug 41104 which is
similar, but I never got the FileNotFoundException as described in the bug
report and I am pretty sure I don't have two different version of ANT
25 matches
Mail list logo