On 1/26/07, Leo <[EMAIL PROTECTED]> wrote:
Hi,
I have recently started to use Ant on Eclipse IDE. I am trying to run
a file called HelloWorld located in the jse.core package. The build.xml is
located at:
C:\dev\eclipse\workspace32\jse-core\build.xml
HelloWorld.java and HelloWorld.cla
Hi,
I have recently started to use Ant on Eclipse IDE. I am trying to run
a file called HelloWorld located in the jse.core package. The build.xml is
located at:
C:\dev\eclipse\workspace32\jse-core\build.xml
HelloWorld.java and HelloWorld.class is located at:
C:\dev\eclipse\workspace3
On 10/27/06, Dominique Devienne <[EMAIL PROTECTED]> wrote:
On 10/27/06, Jeff Holt <[EMAIL PROTECTED]> wrote:
> The reason I don't want to use is that I have to qualify the
> executable path. Otherwise, for some yet unknown reason, ant executes
> /usr/bin/java rather than the one in the PATH. And
Yes, java.home works. I see that I am definitely not the first person to
experience it.
Thanks, Dom.
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 4:15 PM
To: Ant Users List
Subject: Re: java task question for ant 1.6.5
On 10/27/06
On 10/27/06, Jeff Holt <[EMAIL PROTECTED]> wrote:
The reason I don't want to use is that I have to qualify the
executable path. Otherwise, for some yet unknown reason, ant executes
/usr/bin/java rather than the one in the PATH. And, of course,
/usr/bin/java, is not appropriate.
Both and have
looked but didn't
see where I had to change anything else. I just assumed jre is a built
in property namespace. Bad assumption?
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 3:24 PM
To: Ant Users List
Subject: Re: java task questio
On 10/27/06, Jeff Holt <[EMAIL PROTECTED]> wrote:
To make my build script a bit less susceptible to environmental errors,
I'd like to rewrite the following task:
Simply replace ${env.JAVA_HOME} by ${jre.home}, and it will use the
same JRE or JDK used by Ant itself. is better than
+ in this c
Ah, yes. I forgot all about that one. It probably will do the trick.
Thanks, Matt.
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 2:57 PM
To: Ant Users List
Subject: Re: java task question for ant 1.6.5
You might look at using ant-contrib
You might look at using ant-contrib's task with
.
-Matt
--- Jeff Holt <[EMAIL PROTECTED]> wrote:
> To make my build script a bit less susceptible to
> environmental errors,
> I'd like to rewrite the following task:
>
>
>
>
>
>
>
>
>
>
>
>
To make my build script a bit less susceptible to environmental errors,
I'd like to rewrite the following task:
Here is something that probably conveys what I want:
10 matches
Mail list logo