Bug 124226 - Create EMF Model of FacesConfig
Summary: Create EMF Model of FacesConfig
Status: CLOSED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ian Trimble CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 126181 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-17 19:40 EST by Gerry Kessler CLA
Modified: 2006-05-31 12:38 EDT (History)
5 users (show)

See Also:


Attachments
IBM's contribution for EMF Model of facesconfig (322.85 KB, application/octet-stream)
2006-02-24 12:06 EST, Xiaonan Jiang CLA
no flags Details
Add copyright for java files and ecore model files (347.96 KB, application/octet-stream)
2006-02-27 16:13 EST, Xiaonan Jiang CLA
no flags Details
Updated ecore (12.02 KB, application/octet-stream)
2006-03-13 14:38 EST, Xiaonan Jiang CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Kessler CLA 2006-01-17 19:40:50 EST
for use with faces config editor, wizards, etc.
Comment 1 Gerry Kessler CLA 2006-02-02 11:37:44 EST
*** Bug 126181 has been marked as a duplicate of this bug. ***
Comment 2 Xiaonan Jiang CLA 2006-02-24 12:06:35 EST
Created attachment 35318 [details]
IBM's contribution for EMF Model of facesconfig
Comment 3 David Williams CLA 2006-02-27 14:05:42 EST
I suggest the patch/plugin be resubmitted with "EPL standard" about.html, as 
described in 
http://www.eclipse.org/legal/epl/about.php

and with "EPL Standard Copyrights", e.g. 
For EPL projects, the notice template is:

/*******************************************************************************
 * Copyright (c) {DATE} {INITIAL COPYRIGHT OWNER} {OTHER COPYRIGHT OWNERS}.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    {INITIAL AUTHOR} - initial API and implementation
 *******************************************************************************/ 
Comment 4 Xiaonan Jiang CLA 2006-02-27 16:13:05 EST
Created attachment 35435 [details]
Add copyright for java files and ecore model files
Comment 5 Ian Trimble CLA 2006-03-06 17:10:49 EST
There are discrepancies in the contributed Ecore model, generated classes, and
translators that need to be resolved. These discrepancies fall into three basic
areas.

1) Some generated classes contain "@generated" properties and accessor methods
that are not in the model, or vice-versa. For example, DescriptionType.java has
"@generated" methods "getMixed()", "getGroup()", "getAny()", and "getLang()",
but the Ecore model defines attributes "value", "id", and "lang".

2) Some generated classes are not defined in the Ecore model at all. Examples
are DefaultRenderKitIdType.java and FacetType.java.

3) Some translators do not get an element's text content into any modeled
attribute. An example is DescriptionTranslator.java.
Comment 6 Xiaonan Jiang CLA 2006-03-13 14:38:27 EST
Created attachment 36175 [details]
Updated ecore

Updated the ecore. The previous one was generated from the wrong file.
For the third item, some elements like <Description> can include any elements. I don't know how to handle this case in the model and the translators.
Comment 7 Ian Trimble CLA 2006-03-29 17:00:30 EST
Model updated and added to CVS. Log any subsequent issues with model in new bug reports.
Comment 8 Ian Trimble CLA 2006-05-31 12:38:07 EDT
Model is created - closing bug.