Richard Frovarp wrote:

Jonathan Addison wrote:

Hi Devs,

Has anyone else had a problem building after the recent commits? Is this a Java 1.4/1.5 issue?

Thanks for any hints.

Jonathan

C:\src\lenya-1.4.x\src\modules\news\java\src\org\apache\lenya\modules\news\usecases\Edit.java:40: cannot resolve symbol
symbol  : method valueOf (short)
location: class java.lang.Short
setParameter(INCLUDE_ITEM_NUMBER, Short.valueOf(news.getIncludeItemNumber())); ^ C:\src\lenya-1.4.x\src\modules\news\java\src\org\apache\lenya\modules\news\useca
ses\Edit.java:44: cannot resolve symbol
symbol  : method valueOf (int)
location: class java.lang.Integer
           numbers.add(Integer.valueOf(i));
                                          ^
2 errors

BUILD FAILED


These functions are 1.5+. If you are building against 1.4, then you don't have these functions. valueOf(String) has been there from the beginning. These valueOf(primitive) appear to be 1.5+.


AFAIK Lenya 1.4 is supposed to work with Java 1.4 or did I miss something?

I think it's important that all devs stick to the agreed versions, but I am not sure if we actually agreed on something ;-)

Thanks

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to