[myfaces12] Compilation failure

2008-08-09 Thread Matthias Wessendorf
Hi,

when trying to build myfaces 12, I get this:
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

D:\work\_MyFaces_12x\core\api\src\main\java\javax\faces\component\UIColumn.java:[41,4]
annotation 
org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFacet
is missing desc

D:\work\_MyFaces_12x\core\api\src\main\java\javax\faces\component\UIColumn.java:[52,4]
annotation 
org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFacet
is missing desc

the continuum build is fine, though.

Another question that comes up, is should we rename desc to description ?

Thx,
Matthias


-- 
Matthias Wessendorf

Need JSF and Web 2.0?
http://code.google.com/p/facesgoodies

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org


[jira] Created: (MYFACES-1902) Allow to use different ExpressionFactory implementation

2008-08-09 Thread Christian Kaltepoth (JIRA)
Allow to use different ExpressionFactory implementation
---

 Key: MYFACES-1902
 URL: https://issues.apache.org/jira/browse/MYFACES-1902
 Project: MyFaces Core
  Issue Type: New Feature
  Components: Extension Feature
Affects Versions: 1.2.4-SNAPSHOT
Reporter: Christian Kaltepoth


It should be possible to use a different ExpressionFactory implementation. This 
feature is required
to use 3rd party EL implementations like JBoss EL. Mojarra already supports 
this with the
'com.sun.faces.expressionFactory' context parameter.

MyFaces Core 1.2.x already supports a context parameter 
'org.apache.myfaces.EXPRESSION_FACTORY'
but it is only evaluated in a JSP 2.0 environment (see MYFACES-1693 for 
details).

It should be possible to use this parameter with JSP 2.1 as well. The 
corresponding code
should be refactored from Jsp20FacesInitializer to AbstractFacesInitializer to 
be usable in both
JSP 2.0 and 2.1.

Discussion on myfaces-users:

http://www.nabble.com/Replacing-expression-factory-td18867420.html


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [myfaces12] Compilation failure

2008-08-09 Thread Leonardo Uribe
On Sat, Aug 9, 2008 at 6:35 AM, Matthias Wessendorf [EMAIL PROTECTED]wrote:

 Hi,

 when trying to build myfaces 12, I get this:
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure


 D:\work\_MyFaces_12x\core\api\src\main\java\javax\faces\component\UIColumn.java:[41,4]
 annotation
 org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFacet
 is missing desc


 D:\work\_MyFaces_12x\core\api\src\main\java\javax\faces\component\UIColumn.java:[52,4]
 annotation
 org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFacet
 is missing desc

 the continuum build is fine, though.


The solution is change myfaces-builder-annotations from 1.0.1-SNAPSHOT to
1.0.1 (I only update myfaces-builder-plugin version) (committed).



 Another question that comes up, is should we rename desc to description ?


The field desc is filled from the first line of the comments. For example:


/**
 * This text goes on desc property.
 *
 */
@JSFFacet
 public UIComponent getFirst(){
   /**/
 }

So the user never see it.


 Thx,
 Matthias


 --
 Matthias Wessendorf

 Need JSF and Web 2.0?
 http://code.google.com/p/facesgoodies

 further stuff:
 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 mail: matzew-at-apache-dot-org