It's all about the answers!

Ask a question

[closed] Jazz Web Hello World (M3 - Unknown extension point error)


Ravi Gooty (111) | asked Oct 16 '07, 10:58 a.m.
closed Sep 08 '14, 6:39 a.m. by Ralph Schoon (63.2k33646)
Hi,
I am newbie and am trying few Jazz web UI related projects (Jazz Web Hello world Page) and after importing the project I run into Unknown extension point: com.ibm.team.repository.web.basicPerspectives' ERROR! in plugin.xml.

As such I am using M3 and am not sure how to get around this issue, so as to get my apps working.


Thanks
Ravi

The question has been closed for the following reason: "Problem is not reproducible or outdated" by rschoon Sep 08 '14, 6:39 a.m.

6 answers



permanent link
Bill Higgins (24611) | answered Oct 20 '07, 7:32 p.m.
Here's a mapping of old and new extension points:

com.ibm.team.repository.web.webBundles ->
net.jazz.ajax.webBundles

com.ibm.team.repository.web.basicPerspectives ->
net.jazz.ajax.pages

As Chris mentioned, the web UI foundation underwent a large number of changes in M2 and M3. The good news is that the programming model has gotten (IMO) much better; the bad news is that the beta1 documentation is no longer accurate.

The best documentation currently lives in the Jazz Ajax Framework example project that Chris pointed you at. I would suggest looking at that between now and when we get the docs updated.

A few more notes:

The net.jazz.ajax.applications extension point is a new extension point for creating entirely different Jazz Ajax Framework-based UIs (as opposed to just contributing a page like "Work Items" into the "normal" Jazz Web UI). The example project in the Jazz Ajax Framework demonstrates UI extensibility at both the "applications" and "pages" levels.

Another significant change is that the model for contributing actions changed between beta 1 and M3. You now define actions within your page extensions and you must define a page's defaultAction, which is the action that executes when the user browses to the page (e.g. click on the "Work Items" link in the web UI header). This enables us to change the URI style from something like:

#perspective=Work+Items&action=viewWorkItem&id=1234 (beta 1) ->
#action=com.ibm.team.workitem.viewWorkItem&id=1234 (0.6 m2)

... which is much more robust.

Finally, another big improvement in the M3 bits is the ability to set the page's title. You do this within an action implementation by calling net.jazz.ajax.ui.PlatformUI.getWorkbench().setTitle(titleString). This makes bookmarks, browser windows, browser tabs, and history much easier to read. Again, we demonstrate this in the Jazz Ajax Framework example project.

permanent link
Chris Daly (61651) | answered Oct 19 '07, 4:05 p.m.
JAZZ DEVELOPER
Hi,

I have a partial answer to your question.

First, the Jazz Web UI foundation was changed significantly for M3.
This work included creating a new example. I think the new example is
currently the best place to start for learning about the Jazz Web UI.

On the Jazz download page there is an incubator called "Jazz Ajax
Framework" which has a source download. Get that download and study the
README.html and the net.jazz.ajax.examples project in the download.



On the subject of the Jazz Web HelloWorld. It obviously hasn't been
updated for M3. I filed bug 34186 for this:

https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=34186

It looks to me like the extension-point you are tripping on,
com.ibm.team.repository.web.webBundles has been renamed to
net.jazz.ajax.webBundles.

However even if you fix that, you'll have a problem with the other
extension point used: com.ibm.team.repository.web.basicPerspectives.
It's not clear to me if this was replaced by net.jazz.ajax.applications
or net.jazz.ajax.pages. So far I haven't had luck getting the
HelloWorld example to work by playing with these extension-points. If
anyone else out there can tell what changes are necessary, please
comment here or on 34186.

permanent link
Jakub Jurkiewicz (59632) | answered Oct 18 '07, 11:47 a.m.
Hi Ravi,

What do you mean by "Jazz Web Hello world Page"?

best regards,
Jakub

Hi,
I am newbie and am trying few Jazz web UI related projects (Jazz Web Hello world Page) and after importing the project I run into Unknown extension point: com.ibm.team.repository.web.basicPerspectives' ERROR! in plugin.xml.

As such I am using M3 and am not sure how to get around this issue, so as to get my apps working.


Thanks
Ravi

permanent link
Ravi Gooty (111) | answered Oct 18 '07, 2:06 p.m.
Hi Jakub,
I tried following the steps as outlined in https://jazz.net/learn/LearnItem.jsp?href=content/docs/web-ui-programming/web-ui-hello-world.html

and am running into error, is it that the tutorial wont run for M3 build?


Thanks

permanent link
Annie Ying (2063103) | answered Jan 25 '08, 8:51 p.m.
JAZZ DEVELOPER
Bill,

Your posting is very helpful. The example (https://jazz.net/learn/content/docs/web-ui-programming/com.example.jazz.web.zip) works on M4, with the changes you suggested. Thanks!

Annie

permanent link
SEC Servizi (97123760) | answered Sep 04 '14, 8:58 a.m.
edited Sep 04 '14, 9:09 a.m.
We found article https://jazz.net/library/LearnItem.jsp?href=content/docs/web-ui-programming/index.html is still not updated...
For instance, the plugin.xml file to add an new page called "Hello World" to the Jazz Web UI should be:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<!-- client bundle registration -->
<extension point="net.jazz.ajax.webBundles"/>
<!-- page registration -->
<extension point="net.jazz.ajax.pages">
<page
id="com.example.jazz.web.helloworld.page.internal.HelloWorldPageView"
widget="com.example.jazz.web.helloworld.page.internal.HelloWorldPageView"
name="Hello World"/>
</extension>
</plugin>
Anyone from Jazz.net could update the documentation?
Thanks in advance.

Comments
SEC Servizi commented Sep 08 '14, 6:09 a.m.

Nevermind, we found the updated documentation: https://jazz.net/wiki/bin/view/Main/HiJazzWebTutorial.

Cheers.


Ralph Schoon commented Sep 08 '14, 6:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I closed this question because it is 7 years old and a new question should have been asked.