I've decided to move the code to a marco called .
Thus, one task. I was then able to use AntContrib's to
say that if ${javac.executable} is defined, use one task, but
if it isn't use an identical task where the executable parameter isn't
set.
This allows the developers to do what they want wit
4 JRE was not pleased.
>
> It's always something
>
> Thanks,
> Kevin
>
> -Original Message-
> From: Scot P. Floess [mailto:sflo...@nc.rr.com]
> Sent: Tuesday, February 15, 2011 5:00 PM
> To: Ant Users List
> Subject: RE: Dual Java Compilers/Replace
The 1.4 JRE was not pleased.
It's always something
Thanks,
Kevin
-Original Message-
From: Scot P. Floess [mailto:sflo...@nc.rr.com]
Sent: Tuesday, February 15, 2011 5:00 PM
To: Ant Users List
Subject: RE: Dual Java Compilers/Replacement for antcontrib
> Here
Here's an altogether different approach, but if your developers' goal is
to control what version of byte code is created, have them utilize the
-source and -target attributes of the task. I have my
developers do that and it allows me to use the latest JDK for all builds
(400+ development stre
>
> Actually, that's the conflict I was worried about. Jenkins
> allows me
> to specify both the Java version and the Ant version. I
> WANT to use
> the Java version specified in Hudson control panel and not
> whatever
> JAVA_HOME might be set to.
>
I see, Jenkins exposes JAVA_HOME variable whic
evelopment streams) while they're able to build components and
applications executing in JVMs from 1.4 --> 1.6
Thanks,
Kevin
-Original Message-
From: David Weintraub [mailto:qazw...@gmail.com]
Sent: Tuesday, February 15, 2011 3:32 PM
To: Ant Users List
Subject: Re: Dual Java Com
On Tue, Feb 15, 2011 at 2:50 PM, Robert Kirkpatrick wrote:
> See http://jwaresoftware.org/wiki/antxtras/home
Yeah, I was just looking at it, and it requires different versions for
different versions of Ant. Otherwise, it looks like what Apache is
pushing.
--
David Weintraub
qazw...@gmail.com
-
> Dual Java Compilers
> I have a project that I build using Jenkins (previously Hudson) which
> allows me to choose the version of the JDK I want to use when building the
> project. My developers want the ability to select the JAVA compiler to use
> via a properties file.
>
> The problem is
Original Message
Subject: Dual Java Compilers/Replacement for antcontrib
From: David Weintraub
To: Ant Users List ,
jenkinsci-users+subscr...@googlegroups.com
Date: Tue Feb 15 2011 20:38:32 GMT+0100 (CET)
> I've got two questions:
[..]
> Replacement for AntContrib
> ==
Le 15/02/2011 20:38, David Weintraub a écrit :
I've got two questions:
Dual Java Compilers
===
I have a project that I build using Jenkins (previously Hudson) which
allows me to choose the version of the JDK I want to use when building
the project. My developers want the ability
>
> Dual Java Compilers
> ===
>
> I have a project that I build using Jenkins (previously
> Hudson) which
> allows me to choose the version of the JDK I want to use
> when building
> the project. My developers want the ability to select the
> JAVA
> compiler to use via a properties f
11 matches
Mail list logo