[dom4j-user] Help: A problem using DOM4J in Eclipse RCP

2008-01-26 Thread Yuanzhi Mr

Hi,All,
 
I used DOM4J for general java project by import it to the building path, it 
works.
However, after using DOM4J for my Eclipse RCP, there is problem for my first 
step. 
I used (add external *.jar) method  to add the dom4j.jar into the build path, 
which made building/parse ok. However, It couldnot  run it. The error is: 
classnotfoundexception for SAXReader saxReader=new SAXReader().
 
Somebody told me set the dom4j as a dependency plugin, it should work. but I 
don't how to do it.
I tried to copy the  dom4j.jar  under the eclipse/plugin directory, however, 
eclipse cannot recoginze it as a plugin, even I tried using eclipse -clean 
command to  restart eclipse. So I cann't add dom4j into the dependency plugin.
 
Somebody said need to import the dom4j when the project runing by modifying 
MANIFEST.MF item:
Require-Bundle: But I don't know how to do it either.
 
Could you guys help me for that?  
 
Thanks
 
shanhu
 
 
 
 
 
_
Who's friends with who and co-starred in what?
http://www.searchgamesbox.com/celebrityseparation.shtml-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user


[dom4j-user] Help: A problem using DOM4J in Eclipse RCP

2008-01-26 Thread Yuanzhi Mr

Hi,All,
 
I used DOM4J for general java project by import it to the building path, it 
works.
However, after using DOM4J for my Eclipse RCP, there is problem for my first 
step. 
I used (add external *.jar) method  to add the dom4j.jar into the build path, 
which made building/parse ok. However, It couldnot  run it. The error is: 
classnotfoundexception for SAXReader saxReader=new SAXReader().
 
Somebody told me set the dom4j as a dependency plugin, it should work. but I 
don't how to do it.
I tried to copy the  dom4j.jar  under the eclipse/plugin directory, however, 
eclipse cannot recoginze it as a plugin, even I tried using eclipse -clean 
command to  restart eclipse. So I cann't add dom4j into the dependency plugin.
 
Somebody said need to import the dom4j when the project runing by modifying 
MANIFEST.MF item:
Require-Bundle: But I don't know how to do it either.
 
Could you guys help me for that?  
 
Thanks
 
shanhu
 
 
 
 
 
_
Get Hotmail on your mobile, text MSN to 63463!
http://mobile.uk.msn.com/pc/mail.aspx-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user