Hi,

you can set the properties "javacSource" and "javacTarget" in the
build.properties file of your plug-in project:
javacSource=1.5
javacTarget=1.5

If you wonder about the "build.properties"-file: that's the file the PDE
uses to get build information (for example when you export your plug-in
using the Eclipse wizard). The file also contains a list of artefacts that
should be included in your plug-in if you like to include more artefacts
than your classes folder(s), for example the META-INF folder.

Hope it helps,
Nils


Oleg Mikheev
> Hi!
>
> How do I set the source level for tasks like
> <javaclibrarycompiler /> or
> <eclipselibrarycompiler />
> ?
>
> I had to add
>        javac.setSource("5");
>        javac.setTarget("5");
> to JavacLibraryCompiler.compile, but that's not right :)
>
> Thanks
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ant4eclipse-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ant4eclipse-user
>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ant4eclipse-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ant4eclipse-user

Reply via email to