Hi Folks,
I using some default package scheme in my project. when I compile using eclipse everything is working fine by setting compliance level to 1.3.
(Project Properties-->
Java Compiler ---> Compliance and Classfiles)
Now when I am doing this using
ANT build file it's not working.
<javac nowarn="true" debug="off" srcdir="${midlet.src}" includes="**/*.java" destdir="${midlet.classes}" source="1.3" >
<classpath>
<pathelement location="${cldc_lib}"/>
<pathelement location="${midp10_lib}"/>
</classpath>
</javac>
where to set compliance level in javac task. I tried compiler="javac1.3" It dose'nt work. I tried using "org.eclipse.jdt.core.JDTCompilerAdapter" but I am not aware what exactly it does and why we need that...anyway that is again not working....all these give me error on default package import ...which is not possible in java 1.4 that's the reason I want to set compliance level 1.3
Pleae Help me
I am using
Ant 1.6.4
J2sdk 1.4.2_06
Eclipse 3.0.2