Dependent Projects [message #149119] |
Fri, 25 November 2005 11:00 |
Eclipse User |
|
|
|
Originally posted by: s.ramlow.gmx.de
Hi,
has anybody got it working in M9?
I always get an error saying me that a duplicate manifest file cannot be
added when I try to publish the project.
It only happens when I have at least one dependent web lib project.
Tia, sr
|
|
|
Re: Dependent Projects [message #149137 is a reply to message #149119] |
Fri, 25 November 2005 11:27 |
Eclipse User |
|
|
|
Originally posted by: yvigara.lebihan.fr
Hello,
I've found a workaround in order publish a web project with dependent
lib projects. The problem seems to be that when you deploy the
application, the content of the Jar file generated contains the source
and the compiled classes.
So if you want to use a dependent project edit the .setting/.component
file and instead of having a line like this one :
<wb-resource deploy-path="/" source-path="/src/java" />
change the source-path with the build output path:
<wb-resource deploy-path="/" source-path="/target/classes" />
Like this you will be able to publish the project and all "Duplicate
entries" disappears.
Enjoy.
Regards,
Yann.
Ramlow wrote:
> Hi,
>
> has anybody got it working in M9?
> I always get an error saying me that a duplicate manifest file cannot be
> added when I try to publish the project.
> It only happens when I have at least one dependent web lib project.
>
> Tia, sr
>
|
|
|
|
Re: Dependent Projects [message #149158 is a reply to message #149137] |
Fri, 25 November 2005 12:30 |
Eclipse User |
|
|
|
Originally posted by: s.ramlow.gmx.net
Yann Vigara wrote:
Hi,
> So if you want to use a dependent project edit the .setting/.component
> file and instead of having a line like this one :
>
> <wb-resource deploy-path="/" source-path="/src/java" />
>
> change the source-path with the build output path:
>
> <wb-resource deploy-path="/" source-path="/target/classes" />
I have no such entry, I have:
<wb-resource source-path="/src" deploy-path="/WEB-INF/classes"/>
and I changed it to:
<wb-resource source-path="/build/classes" deploy-path="/WEB-INF/classes"/>
Same error :(
Here is the dependency definition:
<dependent-module deploy-path="/WEB-INF/lib"
handle="module:/resource/SigIntLogic/SigIntLogic">
<dependency-type>uses</dependency-type>
</dependent-module>
Hm...
--
Sport frei!
http://www.fightclub-berlin.de
|
|
|
|
Powered by
FUDForum. Page generated in 0.03717 seconds