See target attribute of <javac> task. You can do it
like this:

<javac target="${javac.target}" ...>,
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.
> 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 additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to