[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Showing Data from XML file into a Table Using a TableViewer

Ed Merks wrote:

Adithya,

Maybe you should be using EMF instead. :-P

http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.emf.doc/tutorials/xlibmod/xlibmod.html

The problem is most likely that you shouldn't be fiddling with the build path in the first place when developing plugins. Whatever build-time problems you solve in this way will come back at runtime. You should be using the Dependencies tab of the MANIFEST.MF editor and you'll have to package any jars as bundles/plugins...


adithya wrote:
Hello,
I am trying to show data from a xml file into a table located in an Eclipse "view"(user defined) of a user defined
"perspective".


I am able to show dummy data and also edit it.

But when i try to show it using JAXB 2.1.9 it gives a JAXBException while loading the perspective i.e. while loading
the corresponding view.
The JAXBException is - "java.lang.NoClassDefFoundError : javax/xml/bind/JAXBException".


I have added all the necessary JAR'S of JAXB 2.1.9 in the Java Build Path..

Actually,it is working in one computer but when i switch to another computer,it isn't able to.
I imagine these things should be part of the JRE...

Please let me know the problem.

Adithya.

Thanks.
I would like to know as to how do i proceed with EMF?
The generated .java files which is given in the tutorial are to be used for showing the data into the table??
and in the tutorial it says some plug-ins are mandatory..i don't have a few..
How do i get those?


What do you mean by packaging in the plug-in bundles??
I added those two plug-ins generated by following the given tutorial..

Please guide.

Adithya.