Build works for me.
Martin/Stan fixed the Java5 issue.
-Matthias
On 5/29/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
Hi Sven,
it should be fixed again - care to try?
regards,
Martin
On 5/29/06, Sven Haiges <[EMAIL PROTECTED]> wrote:
> :-) Good to know. Will do a fresh checkout tomorrow and try it again.
>
> Thanx!
> Sven
>
>
> On 5/29/06, Matthias Wessendorf < [EMAIL PROTECTED]> wrote:
> > Hi Sven,
> >
> > figured out the same on the *daily* update.
> > Reason is that now Java5 (by accident...?) is used during Stan's JSF
> > 1.2 update...
> >
> > Stay tuned...
> >
> > -Matthias
> >
> > On 5/29/06, Sven Haiges <[EMAIL PROTECTED] > wrote:
> > > Hi,
> > >
> > > I am trying to build myfaces with maven, check out of myfaces-current
> was
> > > successful, but maven install does not compile the sources as there are
> java
> > > 1.5 elements in the code. I changed the settings in the maven/master-pom
> to
> > > source/target 1.5, but maven still complains.
> > >
> > > Here is Maven's complaint:
> > >
> > > [INFO]
> > >
> ----------------------------------------------------------------------------
> > > [ERROR] BUILD FAILURE
> > > [INFO]
> > >
> ----------------------------------------------------------------------------
> > > [INFO] Compilation failure
> > >
> > > C:\Dokumente und Einstellungen\Sven
> > >
>
Haiges\workspace\myfaces-current\core\api\src\main\java\javax\faces\component\UIComponentBase.java:[66,15]
> > > generics are not supported in -source 1.3
> > > (try -source 1.5 to enable generics)
> > > private Map<String, ValueExpression> _valueExpressionMap = null;
> > >
> > > C:\Dokumente und Einstellungen\Sven
> > >
>
Haiges\workspace\myfaces-current\core\api\src\main\java\javax\faces\convert\EnumConverter.java:[53,33]
> > > for-each loops are not supported in -source 1.3
> > > (try -source 1.5 to enable for-each loops)
> > > for (Object enumConstant : targetClass.getEnumConstants()) {
> > >
> > > C:\Dokumente und Einstellungen\Sven
> > >
>
Haiges\workspace\myfaces-current\core\api\src\main\java\javax\faces\component\UICommand.java:[120,41]
> > > for-each loops are not supported in -source 1.3
> > > (try -source 1.5 to enable for-each loops)
> > > for (ActionListener listener : getActionListeners())
> > >
> > >
> > > [INFO]
> > >
> ----------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > >
> ----------------------------------------------------------------------------
> > > [INFO] Total time: 12 seconds
> > > [INFO] Finished at: Mon May 29 09:37:37 CEST 2006
> > > [INFO] Final Memory: 11M/23M
> > > [INFO]
> > >
> ----------------------------------------------------------------------------
> > > ---
> > >
> > > in the master pom, i changed these lines.
> > >
> > > <plugin>
> > > <artifactId>maven-compiler-plugin</artifactId>
> > > <configuration>
> > > <source>1.5</source>
> > > <target>1.5</target>
> > > </configuration>
> > > </plugin>
> > >
> > > (it was 1.3 and 1.2 previously).
> > >
> > > Unfortunately, it still won't compile...
> > >
> > > Anybody had a similar problem?
> > >
> > > Cheers\
> > > Sven
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > Aechterhoek 18
> > 48282 Emsdetten
> > http://jroller.com/page/mwessendorf
> > mwessendorf-at-gmail-dot-com
> >
>
>
>
> --
>
> Sven Haiges
> [EMAIL PROTECTED]
>
> TEL +49 89 420 958 993 | SIPgate 8008878 | Skype: hansamann
> Personal Homepage, Wiki & Blog: http://www.svenhaiges.de
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com