Thanks that worked very well for us!
//Mikael
-Original Message-
From: James Abley [mailto:[EMAIL PROTECTED]
Sent: den 18 mars 2005 09:06
To: Ant Users List
Subject: RE: set jvm to 1.3
On Fri, 2005-03-18 at 07:51, Mikael Petterson (KI/EAB) wrote:
> Hi,
>
> Tahnks for reply
Abley [mailto:[EMAIL PROTECTED]
> Sent: den 18 mars 2005 08:44
> To: Ant Users List
> Subject: RE: set jvm to 1.3
>
>
> On Fri, 2005-03-18 at 07:20, Mikael Petterson (KI/EAB) wrote:
> > Hi,
> >
> > I have set javac's source attribute to 1.3 but whe
2005 08:44
To: Ant Users List
Subject: RE: set jvm to 1.3
On Fri, 2005-03-18 at 07:20, Mikael Petterson (KI/EAB) wrote:
> Hi,
>
> I have set javac's source attribute to 1.3 but when I compile the code I
> get,
>
> ".. warning: as of release 1.4, assert is a keyword
}
}
will compile with two warning using `javac HelloWorld.java`, or equivalent
javac task, but will fail with an error using `javac -source 1.4
HelloWorld.java`.
HTH
James
> //Mikael
>
> -Original Message-----
> From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
> Sent: den 17 mars
1.3' would make the
1.4 compiler to compile for 1.3?!
This is what I use in my build.xml
Any ideas why?
//Mikael
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: den 17 mars 2005 15:31
To: Ant Users List
Subject: RE: set jvm to 1.3
AFAIK, target means
ailto:[EMAIL PROTECTED]
> Sent: den 17 mars 2005 14:53
> To: Ant Users List
> Subject: RE: set jvm to 1.3
>
>
>
> --- "Mikael Petterson (KI/EAB)"
> <[EMAIL PROTECTED]> wrote:
> > Thanks for the hint!
> >
> > In ant there is a property cal
On Thu, 2005-03-17 at 14:00, Mikael Petterson (KI/EAB) wrote:
> Hi again,
>
> So what is the difference of
>
> javac attributes "target" and "compiler".
> If I want to make sure that my code is compilable for 1.3?
> I am getting somewhat confused.
>
> //Mikael
compare with `javac -help` for the
14:53
To: Ant Users List
Subject: RE: set jvm to 1.3
--- "Mikael Petterson (KI/EAB)"
<[EMAIL PROTECTED]> wrote:
> Thanks for the hint!
>
> In ant there is a property called:
>
> ant.java.version
It is the java version ant is started with.
>
> What does
ov
> [mailto:[EMAIL PROTECTED]
> Sent: den 17 mars 2005 13:49
> To: Ant Users List
> Subject: Re: set jvm to 1.3
>
>
> See target attribute of task. You can do it
> like this:
>
> ,
> define javac.target properties in your
> build.properties as
> javac.tar
mars 2005 13:49
To: Ant Users List
Subject: Re: set jvm to 1.3
See target attribute of task. You can do it
like this:
,
define javac.target properties in your
build.properties as
javac.target=1.3
HTH Ivan
--- "Mikael Petterson (KI/EAB)"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
See target attribute of task. You can do it
like this:
,
define javac.target properties in your
build.properties as
javac.target=1.3
HTH Ivan
--- "Mikael Petterson (KI/EAB)"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am starting ant 1.6.1 with jdk1.4.2 but I need to
> compile my code with 1.3.
>
Hi,
I am starting ant 1.6.1 with jdk1.4.2 but I need to compile my code with 1.3.
How can I set this in my build.properties and then use in my javac task?
Any hints?
//Mikael
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
12 matches
Mail list logo