You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by peibel <p....@ibermatica.com> on 2009/05/28 14:50:47 UTC

JDK version in javac tag

Hi,

Is there a way to bind the javac tag to compile whith  JDKS 1.5 java
version.

thanks
-- 
View this message in context: http://www.nabble.com/JDK-version-in-javac-tag-tp23761074p23761074.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: AW: JDK version in javac tag

Posted by peibel <p....@ibermatica.com>.
thanks,

but, I want to indicate a version that is not and if that does not compile. 

I want only to compile the 1.5

my soruce:

<target name="compileModelo" depends="cleanModelo">
		<javac srcdir="${src.fuentes.modelo.dir}" destdir="${modelo.bin.dir}"
taskname="javac1.5" fork="true" compiler="java1.5" target="1.5"
classpathref="classpath" debug="true">
			<include name="**/*" />
		</javac>
	</target>

It compiles only with the 1.5 and above. 

I just want to be with the 1.5


Jan.Materne wrote:
> 
> <javac executable> ?
> 
> Jan 
> 
>>-----Ursprüngliche Nachricht-----
>>Von: peibel [mailto:p.castrejon@ibermatica.com] 
>>Gesendet: Donnerstag, 28. Mai 2009 14:51
>>An: dev@ant.apache.org
>>Betreff: JDK version in javac tag
>>
>>
>>Hi,
>>
>>Is there a way to bind the javac tag to compile whith  JDKS 1.5 java
>>version.
>>
>>thanks
>>-- 
>>View this message in context: 
>>http://www.nabble.com/JDK-version-in-javac-tag-tp23761074p23761074.html
>>Sent from the Ant - Dev mailing list archive at Nabble.com.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JDK-version-in-javac-tag-tp23761074p23761630.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


AW: JDK version in javac tag

Posted by Ja...@rzf.fin-nrw.de.
<javac executable> ?

Jan 

>-----Ursprüngliche Nachricht-----
>Von: peibel [mailto:p.castrejon@ibermatica.com] 
>Gesendet: Donnerstag, 28. Mai 2009 14:51
>An: dev@ant.apache.org
>Betreff: JDK version in javac tag
>
>
>Hi,
>
>Is there a way to bind the javac tag to compile whith  JDKS 1.5 java
>version.
>
>thanks
>-- 
>View this message in context: 
>http://www.nabble.com/JDK-version-in-javac-tag-tp23761074p23761074.html
>Sent from the Ant - Dev mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: JDK version in javac tag

Posted by Jeffrey E Care <ca...@us.ibm.com>.
peibel <p....@ibermatica.com> wrote on 05/28/2009 08:50:47 AM:

> Is there a way to bind the javac tag to compile whith  JDKS 1.5 java
> version.

Are you talking about the JLS level (i.e. language features) or the APIs?