This content has been marked as final.
Show 2 replies
-
1. Re: For users of JBoss Tools and WTP
jbmadair Mar 23, 2008 3:07 AM (in response to svadu)I was affected by this too but found a workaround by following these instructions:
http://wiki.eclipse.org/ClasspathEntriesPublishExportSupport
- Add the user library to the Java build path (Properties-Java Build Path-Libraries-Add Library). This will add a classpath container entry for the user library.
- Switch to the
J2EE Module Dependencies
(the Java build path changes must be applied first) and select theJ2EE Modules
tab. - A selection will be visible for the user library classpath container entry just added (will be prefixed by
(Classpath)
)). Select this and clickOK
(the special dependency attribute will be added to the classpath entry and the value for the attribute will be the special value../
indicating that the resolved JARs should be added into the parent module at the same location as the web module).
It worked well for me, and it may even be the technically correct way with WTP. (On the other hand, who can know the mind of WTP? ;-)
-
2. Re: For users of JBoss Tools and WTP
svadu Mar 24, 2008 4:33 PM (in response to svadu)Well yes this is also a workaround, another workaround is just to deploy the library separately via WTP ( I can see it as a separate module in add/remove project dialog).
However the bug is acknowledged by eclipse... so there is no really correct way with WTP 2.0.2 afaik