"Neelixx" wrote : If you are using libraries included with JBoss, the best way 
to do it, is to reference the libraries through Eclipse, and not in your lib, 
as you would not need to export those libraries.  They are already on the 
server.
  | 
  | However, you obviously need to have those libraries available to you in 
Eclipse, or your objects won't resolve.
  | 
  | If you are using Eclipse-IDE (which you should be using.  I'm using 1.5), 
then those libraries are already installed in Eclipse, you just need to add 
them to your build path.
  | 
  | Right-click on your project, and choose properties.  Go into your 
build-path.
  | 
  | Under the libraries tab, choose the "Add Libraries" button.  From there, 
again, IF you are using JBoss-IDE, you should choose, at a minimum, "J2EE1.4 
Libraries" and "JBoss EJB3 Libraries".  Those libraries are now available on 
your build path.
  | 
  | As far as "how" you include your libraries is a matter of preference.  
Every developer is different.  As long as they get included is what's important.
  | 
  | If you are not using JBoss-IDE, or a version of JBoss-IDE that does not 
include EJB3, then you should create a "user library" that contains ejb3.jar 
and ejb3x.jar.  Call the library EJB3 and add it.
  | 
  | Hoffe das ich dir geholfen habe
  | 
  | Tschuss Aaron
  | 
  | (My wife helped me ((grin)) )

Hi Aaron,
thank you again. 
Vielen vielen Dank! Du hast mir sogar viel geholfen.

I guess I have issues with the .classpath file of eclipse itself, because I am 
working with JBoss IDE 1.5 , like you and thousends of developers more!

The problem is, when I edit  the build path (right click on my project...) and 
then add the EJB 3.0 libraries to my build path, I can see the needed jars in 
that dialog (project properties dialog) but when I come back to the "package 
explorer view" the jars are all away, except 5 of them, which are not the 
needed ones (needed = ejb3.jar, ejb3x.jar etc.)...

It seems like a kind of bug in eclipse, or a kind of mismatch in the .classpath 
file, as I could read in similar threads in internet.

 Or maybe I have to put some entries in my OS environment variables?! I don't 
know! 
I have to finish my app very soon, because I have to hand it over, so I have to 
keep on working with the given situation, and the \lib solution in the project 
structure.
Anyway, I have to thank you, once more.
Dankeschön!!
Best wishes!
Aufwiedersehen / (Aufwiederschreiben!!)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902715#3902715

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902715


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to