The POM controls the java version. I would +1 for Tiles 2 to required JDK 5 for that POM only.
On 7/20/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
2007/7/20, Niall Pemberton <[EMAIL PROTECTED]>: > > On 7/20/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > Hi all! > > I think that I made a mistake. The S1-Tiles 2 plugin needs Java 5 to > compile > > (it is declared in its pom), simply because Tiles 2 is based on Java 5 > and > > there is no retrotranslated published versions. > > Does it create a problem when releasing S1? > > I don't think it should since its a brand new module and we don't have > anything else depending on it. I think we just need to highlight the > fact that the Tiles2 module requires JDK 1.5 in the release notes > and/or docs. I don't think it is so simple. Is Struts 1 built with JDK 1.4? Because I think that it cannot be compiled with JDK 1.5 or there will be some missing class when used inside a 1.4JRE. Since "tiles2" is a module of "struts1", they need to be built together, and I suppose we need to use the same JDK. Or am I missing something? Antonio
