The maven2-compiler plugin allows you to configure source/target for
your java compiler. You might give this a try ([1]), not used myself.

-Matthias

[1] - http://maven.apache.org/plugins/maven-compiler-plugin/howto.html

On 2/21/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Have you tried compiling with JDK 1.5 but targeting JDK 1.4?
>
> javac -help
> -source <release>         Provide source compatibility with specified release
> -target <release>         Generate class files for specific VM version
>
> Something along the lines of "javac -source 1.5 -target 1.4 ..."
>
> I haven't tried this myself, so give it a try and report back to the list.
>
> Wayne
>
>
> On 2/20/06, Martin <[EMAIL PROTECTED]> wrote:
> > I have been trying to build adf faces from the apache drop, but some of the
> > source uses annotations which means I can't compile it (or use it) with jdk 
> > 1.4.
> >
> > Is there any solution to this?  Will adf faces require jdk 1.5?
> >
> > I have been following Matthias instructions to build adf faces here:
> > http://www.mail-archive.com/[email protected]/msg16856.html
> >
> > The following post seems to imply I can compile using 1.4:
> > http://www.mail-archive.com/[email protected]/msg16836.html
> >
> > adf-faces-ea19 works with jdk 1.4.
> >
> > Thanks
> >
> > Martin
> >
> >
>


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com

Reply via email to