On Wed, Aug 20, 2008 at 1:03 PM, Leonardo Uribe <[EMAIL PROTECTED]> wrote:

>
>
> On Wed, Aug 20, 2008 at 3:15 AM, Leonardo Uribe <[EMAIL PROTECTED]> wrote:
>
>>
>>
>> On Wed, Aug 20, 2008 at 1:33 AM, Jan Nielsen <[EMAIL PROTECTED]
>> > wrote:
>>
>>> Okay, so if I understand you correctly, I need to checkout, build and
>>> install:
>>>
>>>  https://svn.apache.org/repos/asf/myfaces/core/trunk_1.2.x
>>>
>>> then build tomahawk core12
>>> (http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/core12),
>>> making sure my newly built MyFaces Core 1.2 is used:
>>>
>>>  mvn -o -Djsf=12 -Dtomahawk=12 clean install
>>>
>>> I'm now down to two compile errors:
>>>
>>>
>>> /home/jan/tomahawk/core12/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java:[172,25]
>>>
>>> renderLabel(javax.faces.context.ResponseWriter,javax.faces.component.UIComponent,java.lang.String,java.lang.String,boolean)
>>> in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils
>>> cannot be applied to
>>>
>>> (javax.faces.context.ResponseWriter,javax.faces.component.UISelectOne,java.lang.String,javax.faces.model.SelectItem,boolean)
>>>
>>>
>>>
>>>
>>> /home/jan/tomahawk/core12/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java:[172,25]
>>>
>>> renderLabel(javax.faces.context.ResponseWriter,javax.faces.component.UIComponent,java.lang.String,java.lang.String,boolean)
>>> in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils
>>> cannot be applied to
>>>
>>> (javax.faces.context.ResponseWriter,javax.faces.component.UISelectOne,java.lang.String,javax.faces.model.SelectItem,boolean)
>>>
>>> Did I misunderstand, or mess something up?
>>>
>>>
>> It is a bug. The line should pass the selectItem, not the label of the
>> item. I'll solve tomorrow.
>>
>>
>
> I have checked the code and it is correct (the bug is present on old code,
> but the latest was committed correctly).
>

Checking again this issue, it seem you have an older copy of shared
(3.0.4-SNAPSHOT). Just checkout this link:

http://svn.apache.org/repos/asf/myfaces/shared/trunk_3.0.x/

and compile it. Then compile tomahawk and that's all.


>
>>> Thanks,
>>>
>>> -Jan
>>>
>>> On Tue, Aug 19, 2008 at 10:39 PM, Leonardo Uribe <[EMAIL PROTECTED]>
>>> wrote:
>>> >
>>> >
>>> > On Tue, Aug 19, 2008 at 11:11 PM, Jan Nielsen <
>>> [EMAIL PROTECTED]>
>>> > wrote:
>>> >>
>>> >> I'm trying to build MyFaces and I'm hitting a build failure which
>>> >> appears to be a similar issue to:
>>> >>
>>> >>
>>> >>
>>> http://mail-archives.apache.org/mod_mbox/myfaces-dev/200808.mbox/[EMAIL 
>>> PROTECTED]
>>> >>
>>> >> I followed these instructions:
>>> >>
>>> >>  http://wiki.apache.org/myfaces/Building_With_Maven
>>> >>
>>> >> My source is http://svn.apache.org/repos/asf/myfaces/[EMAIL PROTECTED]:
>>> >>
>>> >>  Maven version: 2.0.8
>>> >>  Java version: 1.5.0_14
>>> >>  OS name: "linux" version: "2.6.22.18-0.2-default" arch: "i386"
>>> Family:
>>> >> "unix"
>>> >>
>>> >> I get the same results building on Windows. Any ideas what I might be
>>> >> doing wrong? Just building tomahawk results in the same compilation
>>> >> error.
>>> >>
>>> >> -Jan
>>> >>
>>> >> mvn -Djsf=12 -Dtomahawk=12 clean install
>>> >>
>>> >> ...
>>> >> [INFO] Adding: META-INF/licenses/dojo-LICENSE.TXT
>>> >> [INFO] Configured Artifact:
>>> >> org.apache.myfaces.tomahawk:tomahawk:1.1.7-SNAPSHOT:jar
>>> >> [INFO] Unpacking
>>> >>
>>> >>
>>> /home/jan/.m2/repository/org/apache/myfaces/tomahawk/tomahawk/1.1.7-SNAPSHOT/tomahawk-1.1.7-SNAPSHOT.jarto
>>> >>  /home/jan/myfaces-current/tomahawk/core12/target/tomahawk11_resources
>>> >> with Includes null and
>>> >>
>>> >>
>>> excludes:**/*.class,**/META-INF/**,META-INF/validatorClass12.vm,META-INF/tagConverterClass12.vm,META-INF/LICENSE.txt,META-INF/tagClass12.vm,META-INF/tagValidatorClass12.vm,META-INF/tomahawk12.vm,META-INF/facelets-taglib.vm,META-INF/faces-config12.vm,META-INF/componentClass12.vm,META-INF/NOTICE.txt,META-INF/licenses/i18n-LICENSE.txt,META-INF/licenses/jscookmenu-LICENSE.txt,META-INF/licenses/scriptaculous-LICENSE.txt,META-INF/licenses/kupu-LICENSE.txt,META-INF/licenses/prototype-LICENSE.txt,META-INF/licenses/dojo-LICENSE.TXT
>>> >> [INFO] [resources:resources]
>>> >> [INFO] Using default encoding to copy filtered resources.
>>> >> [INFO] [compiler:compile]
>>> >> [INFO] Compiling 657 source files to
>>> >> /home/jan/myfaces-current/tomahawk/core12/target/classes
>>> >> [INFO]
>>> >>
>>> ------------------------------------------------------------------------
>>> >> [ERROR] BUILD FAILURE
>>> >> [INFO]
>>> >>
>>> ------------------------------------------------------------------------
>>> >> [INFO] Compilation failure
>>> >>
>>> >>
>>> >>
>>> /home/jan/myfaces-current/tomahawk/core12/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java:[172,25]
>>> >>
>>> >>
>>> renderLabel(javax.faces.context.ResponseWriter,javax.faces.component.UIComponent,java.lang.String,java.lang.String,boolean)
>>> >> in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils
>>> >> cannot be applied to
>>> >>
>>> >>
>>> (javax.faces.context.ResponseWriter,javax.faces.component.UISelectOne,java.lang.String,javax.faces.model.SelectItem,boolean)
>>> >>
>>> >>
>>> >>
>>> /home/jan/myfaces-current/tomahawk/core12/target/tomahawk11_sources/org/apache/myfaces/custom/navmenu/htmlnavmenu/HtmlNavigationMenuRenderer.java:[426,101]
>>> >> COMPONENT_TYPE is not public in javax.faces.component.UIGraphic;
>>> >> cannot be accessed from outside package
>>> >>
>>> >>
>>> >>
>>> /home/jan/myfaces-current/tomahawk/core12/target/myfaces-builder-plugin/main/java/org/apache/myfaces/shared_tomahawk/taglib/html/HtmlCommandLinkTag.java:[410,16]
>>> >> cannot find symbol
>>> >> symbol  : method isValueReference(javax.faces.el.MethodBinding)
>>> >> location: class
>>> >> org.apache.myfaces.shared_tomahawk.taglib.html.HtmlCommandLinkTag
>>> >>
>>> >>
>>> >>
>>> /home/jan/myfaces-current/tomahawk/core12/target/myfaces-builder-plugin/main/java/org/apache/myfaces/shared_tomahawk/taglib/html/HtmlCommandLinkTag.java:[412,43]
>>> >> createMethodBinding(java.lang.String,java.lang.Class[]) in
>>> >> javax.faces.application.Application cannot be applied to
>>> >> (javax.faces.el.MethodBinding,java.lang.Class[])
>>> >>
>>> >>
>>> >>
>>> /home/jan/myfaces-current/tomahawk/core12/target/myfaces-builder-plugin/main/java/org/apache/myfaces/shared_tomahawk/taglib/html/HtmlCommandButtonTag.java:[399,16]
>>> >> cannot find symbol
>>> >> symbol  : method isValueReference(javax.faces.el.MethodBinding)
>>> >> location: class
>>> >> org.apache.myfaces.shared_tomahawk.taglib.html.HtmlCommandButtonTag
>>> >>
>>> >>
>>> >>
>>> /home/jan/myfaces-current/tomahawk/core12/target/myfaces-builder-plugin/main/java/org/apache/myfaces/shared_tomahawk/taglib/html/HtmlCommandButtonTag.java:[401,43]
>>> >> createMethodBinding(java.lang.String,java.lang.Class[]) in
>>> >> javax.faces.application.Application cannot be applied to
>>> >> (javax.faces.el.MethodBinding,java.lang.Class[])
>>> >
>>> > tomahawk core12 temporally depends from myfaces core 1.2.4-SNAPSHOT.
>>> Please
>>> > compile the latest code of core 1.2.4-SNAPSHOT and then try tomahawk
>>> core12.
>>> > It should work.
>>> >
>>> > regards
>>> >
>>> > Leonardo Uribe
>>> >
>>> >
>>>
>>
>>
>

Reply via email to