You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Dennis Byrne <de...@dbyrne.net> on 2006/07/18 07:02:11 UTC

1.2 build failure ?

Anyone else getting this?

Checked out revision 422965.

D:\co\myfaces\current12Test>cd current12

D:\co\myfaces\current12Test\current12>mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   MyFaces Shared Project
[INFO]   MyFaces Shared Core
[INFO]   MyFaces Shared Impl
[INFO]   MyFaces Shared Tomahawk
[INFO]   Core Project
[INFO]   API
[INFO]   Impl
[INFO]   Build Project
[INFO] -------------------------------------------------------------------------
---
[INFO] Building MyFaces Shared Project
[INFO]    task-segment: [clean, install]
[INFO] -------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\target
[INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\target\cl
asses
[INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\target\te
st-classes
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\co\myfaces\current12Test\current12\shared\pom.xml to C:\Doc
uments and Settings\Dennis Byrne\.m2\repository\org\apache\myfaces\shared\myface
s-shared-project\3.0.0-SNAPSHOT\myfaces-shared-project-3.0.0-SNAPSHOT.pom
[INFO] -------------------------------------------------------------------------
---
[INFO] Building MyFaces Shared Core
[INFO]    task-segment: [clean, install]
[INFO] -------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\core\targ
et
[INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\core\targ
et\classes
[INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\core\targ
et\test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 94 source files to D:\co\myfaces\current12Test\current12\shared\core\t
arget\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

D:\co\myfaces\current12Test\current12\shared\core\src\main\java\org\apache\myfac
es\shared\util\SelectItemsIterator.java:[78,38] cannot find symbol
symbol  : method isItemEscaped()
location: class javax.faces.component.UISelectItem

D:\co\myfaces\current12Test\current12\shared\core\src\main\java\org\apache\myfac
es\shared\util\SelectItemsIterator.java:[83,27] cannot find symbol
symbol  : constructor SelectItem(java.lang.Object,java.lang.String,java.lang.Str
ing,boolean,boolean)
location: class javax.faces.model.SelectItem

D:\co\myfaces\current12Test\current12\shared\core\src\main\java\org\apache\myfac
es\shared\renderkit\html\HtmlRendererUtils.java:[441,40] cannot find symbol
symbol  : method isEscape()
location: class javax.faces.model.SelectItem



Re: 1.2 build failure ?

Posted by Matthias Wessendorf <ma...@apache.org>.
no no

not that only

it's now complaining about some javax.servlet.*** stuff



On 7/17/06, Cagatay Civici <ca...@gmail.com> wrote:
> Hi,
>
>  There is an error in shared's pom.xml, it points to the myfaces-api-1.1.1
> as a dependency so it could not get the new stuff in api-1.2.0-snapshot.
> I've created a patch for a new 1.2 feature, enabling the escape attribute of
> SelectItem and Matthias committed it. Since the dependency is old, the
> changes can't be seen.
>
>     <dependency>
>        <groupId>myfaces</groupId>
>        <artifactId>myfaces-api</artifactId>
>        <version>1.1.1</version>
>        <scope>provided</scope>
>      </dependency>
>
> should be something like;
>
>      <dependency>
>        <groupId>org.apache.myfaces.core</groupId>
>        <artifactId>myfaces-api</artifactId>
>        <version>1.2.0</version>
>        <scope>provided</scope>
>      </dependency>
>
>  Also fixing it results in another issue because of a new abstract method
> ResponseWriter which is not yet implemented by ResponseWriterImpl.
>
>  Cagatay


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: 1.2 build failure ?

Posted by Cagatay Civici <ca...@gmail.com>.
Hi,

There is an error in shared's pom.xml, it points to the myfaces-api-1.1.1 as
a dependency so it could not get the new stuff in api-1.2.0-snapshot. I've
created a patch for a new 1.2 feature, enabling the escape attribute of
SelectItem and Matthias committed it. Since the dependency is old, the
changes can't be seen.

   <dependency>
      <groupId>myfaces</groupId>
      <artifactId>myfaces-api</artifactId>
      <version>1.1.1</version>
      <scope>provided</scope>
    </dependency>

should be something like;

    <dependency>
      <groupId>org.apache.myfaces.core</groupId>
      <artifactId>myfaces-api</artifactId>
      <version>1.2.0</version>
      <scope>provided</scope>
    </dependency>

Also fixing it results in another issue because of a new abstract method
ResponseWriter which is not yet implemented by ResponseWriterImpl.

Cagatay

Re: 1.2 build failure ?

Posted by Matthias Wessendorf <ma...@apache.org>.
Yes Dennis

that is also mentioned in the Jira.



On 7/17/06, Dennis Byrne <de...@dbyrne.net> wrote:
> Anyone else getting this?
>
> Checked out revision 422965.
>
> D:\co\myfaces\current12Test>cd current12
>
> D:\co\myfaces\current12Test\current12>mvn clean install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   MyFaces Shared Project
> [INFO]   MyFaces Shared Core
> [INFO]   MyFaces Shared Impl
> [INFO]   MyFaces Shared Tomahawk
> [INFO]   Core Project
> [INFO]   API
> [INFO]   Impl
> [INFO]   Build Project
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Building MyFaces Shared Project
> [INFO]    task-segment: [clean, install]
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\target
> [INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\target\cl
> asses
> [INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\target\te
> st-classes
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing D:\co\myfaces\current12Test\current12\shared\pom.xml to C:\Doc
> uments and Settings\Dennis Byrne\.m2\repository\org\apache\myfaces\shared\myface
> s-shared-project\3.0.0-SNAPSHOT\myfaces-shared-project-3.0.0-SNAPSHOT.pom
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Building MyFaces Shared Core
> [INFO]    task-segment: [clean, install]
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\core\targ
> et
> [INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\core\targ
> et\classes
> [INFO] Deleting directory D:\co\myfaces\current12Test\current12\shared\core\targ
> et\test-classes
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 94 source files to D:\co\myfaces\current12Test\current12\shared\core\t
> arget\classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> D:\co\myfaces\current12Test\current12\shared\core\src\main\java\org\apache\myfac
> es\shared\util\SelectItemsIterator.java:[78,38] cannot find symbol
> symbol  : method isItemEscaped()
> location: class javax.faces.component.UISelectItem
>
> D:\co\myfaces\current12Test\current12\shared\core\src\main\java\org\apache\myfac
> es\shared\util\SelectItemsIterator.java:[83,27] cannot find symbol
> symbol  : constructor SelectItem(java.lang.Object,java.lang.String,java.lang.Str
> ing,boolean,boolean)
> location: class javax.faces.model.SelectItem
>
> D:\co\myfaces\current12Test\current12\shared\core\src\main\java\org\apache\myfac
> es\shared\renderkit\html\HtmlRendererUtils.java:[441,40] cannot find symbol
> symbol  : method isEscape()
> location: class javax.faces.model.SelectItem
>
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: 1.2 build failure ?

Posted by Wendy Smoak <ws...@gmail.com>.
On 7/17/06, Dennis Byrne <de...@dbyrne.net> wrote:

> Anyone else getting this?
...
> Compiling 94 source files to D:\co\myfaces\current12Test\current12\shared\core\t
> arget\classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure

Yes, same here.

-- 
Wendy