Thank-you very much for the answer. It is working now!! Guadalupe Guadalupe Ortiz Bellot Assistant Professor Computer Science Department University of Extremadura
[EMAIL PROTECTED] http://cum.unex.es/profesores/gobellot Quercus Software Engineering Group http://quercusseg.unex.es -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Alexandru Popescu Enviado el: viernes, 28 de julio de 2006 19:29 Para: [email protected] Asunto: Re: [aspectj-users] ant & annotations are only available if sourcelevel is 5. On 7/28/06, Guadalupe Ortiz Bellot <[EMAIL PROTECTED]> wrote: > > Hello > I am trying to compile aspectJ and J2EE code from an ant build file. > I have been doing it with no problem until now using ajc11 task (ajc > destdir=... argfile=...) > But now my Java code has got annotations and I got the error: > > annotations are only available if source level is 5.0 > > I tried to do > Ajc -1.5 destdir... > But I get an error as -1.5 were not an option (and I am using aspectj > 1.5) > Can anybody help me please? > Thanks in adavance > > Guadalupe > Please consult iajc documentation. You will find out that iajc support 2 attributes for setting source/bytecode target: target="1.5" source="1.5" /alex -- w( the_mindstorm )p. _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
