How metadata files generated [message #475992] |
Wed, 16 July 2008 17:49  |
Eclipse User |
|
|
|
Originally posted by: Eclipsian.eclipsian.oti
In order to integrate custom components into Eclipse, a set of metadata
files are required such as metadata for tag creation, content
assistance, attributes list and quick editors. I wonder how the
attributes metadata for Sun RI components and Trinidad are generated?
Manually? Is there such a kind of tool available? Generate metadata for
attribute sheet is tidious.
Thx
|
|
|
|
|
|
|
Re: How metadata files generated [message #475997 is a reply to message #475995] |
Fri, 18 July 2008 20:20  |
Eclipse User |
|
|
|
On 7/17/2008 5:44 PM, Eclipsian wrote:
> Yury Kats wrote:
>> On 7/16/2008 7:18 PM, Gerry Kessler wrote:
>>> As you have discovered, there is no editor to simplify the creation, or
>>> modification, of a tag library metadata file. However, Yury Kats of IBM
>>> has made a utility available that will generate a starting point metadata
>>> file of all of the tag and attribute entities. You will find it attached
>>> to: https://bugs.eclipse.org/bugs/show_bug.cgi?id=181674.
>> Keep in mind, it's over a year old now and hasn't been updated since.
>
> Yes. It was for WTP 2.0 not WTP 3.0.
Has metadata changed that much between 2.0 and 3.0? I don't think it has.
> It helps but not a lot. I wonder if it is possible to do some more work
> based on EMF code in current jst.jsf.core
The tool would give you a skeleton XML that at the very least contains
all tags and all attributes. You can certainly get the same from the EMF model.
I was also creating actual metadata for many common attributes (id, value, rendered,
action, width etc etc). You won't get from the EMF model.
|
|
|
|
Re: How metadata files generated [message #618320 is a reply to message #475993] |
Thu, 17 July 2008 13:46  |
Eclipse User |
|
|
|
On 7/16/2008 7:18 PM, Gerry Kessler wrote:
> As you have discovered, there is no editor to simplify the creation, or
> modification, of a tag library metadata file. However, Yury Kats of IBM
> has made a utility available that will generate a starting point metadata
> file of all of the tag and attribute entities. You will find it attached
> to: https://bugs.eclipse.org/bugs/show_bug.cgi?id=181674
Keep in mind, it's over a year old now and hasn't been updated since.
|
|
|
Re: How metadata files generated [message #618322 is a reply to message #475994] |
Thu, 17 July 2008 17:44  |
Eclipse User |
|
|
|
Originally posted by: Eclipsian.eclipsian.oti
Yury Kats wrote:
> On 7/16/2008 7:18 PM, Gerry Kessler wrote:
>> As you have discovered, there is no editor to simplify the creation, or
>> modification, of a tag library metadata file. However, Yury Kats of IBM
>> has made a utility available that will generate a starting point metadata
>> file of all of the tag and attribute entities. You will find it attached
>> to: https://bugs.eclipse.org/bugs/show_bug.cgi?id=181674
>
> Keep in mind, it's over a year old now and hasn't been updated since.
Yes. It was for WTP 2.0 not WTP 3.0.
It helps but not a lot. I wonder if it is possible to do some more work
based on EMF code in current jst.jsf.core
|
|
|
|
Re: How metadata files generated [message #618324 is a reply to message #475995] |
Fri, 18 July 2008 20:20  |
Eclipse User |
|
|
|
On 7/17/2008 5:44 PM, Eclipsian wrote:
> Yury Kats wrote:
>> On 7/16/2008 7:18 PM, Gerry Kessler wrote:
>>> As you have discovered, there is no editor to simplify the creation, or
>>> modification, of a tag library metadata file. However, Yury Kats of IBM
>>> has made a utility available that will generate a starting point metadata
>>> file of all of the tag and attribute entities. You will find it attached
>>> to: https://bugs.eclipse.org/bugs/show_bug.cgi?id=181674
>> Keep in mind, it's over a year old now and hasn't been updated since.
>
> Yes. It was for WTP 2.0 not WTP 3.0.
Has metadata changed that much between 2.0 and 3.0? I don't think it has.
> It helps but not a lot. I wonder if it is possible to do some more work
> based on EMF code in current jst.jsf.core
The tool would give you a skeleton XML that at the very least contains
all tags and all attributes. You can certainly get the same from the EMF model.
I was also creating actual metadata for many common attributes (id, value, rendered,
action, width etc etc). You won't get from the EMF model.
|
|
|
Powered by
FUDForum. Page generated in 0.08254 seconds