Hi,
I’m having a problem with an EJB component built with MyEclipse. The project is, as usual, built like:
ProjectName
+ src
+ com....
+ META-INF
+ lib
In the lib folder, I have many .jar files, most of them for hibernate.
The problem is that when I add a project deployment (JBoss 4), the resulting .jar file doesn’t include the libraries in /lib. I tried to move the files in the root of my project (it works this way in some of my projects) but they’re not copied either.
If I rename the .jar file to .zip and add the jars, then rename it back to .jar, it works perfectly but it is not really a solution.
Of course, I have added these JARs in the project properties -> Java build path (add jars). If I don’t do that, eclipse complains about my imports that don’t resolve.
I’m using MyEclipse 4.0GA with Eclipse 3.1.0 on Windows XP SP2. I didn’t install any other plugin. I have JDK 1.5.0_04. There is no exception in the .log file.
Can someone tell me where I should put my JARs and/or how to declare my /lib as the lib folder to be packaged with the EJB JAR ?
Thanks a lot,
Eric.