extending dynamic webproject [message #186468] |
Thu, 18 January 2007 09:21  |
Eclipse User |
|
|
|
Originally posted by: mremme.braintags.de
Hi all,
i just started to switch from sysdeo to webtools. So far all is working
fine but i have a problem to get the following scenario run:
project A is a utility project
project B is a dynamic WebProject within a servlet
project C is a dynamic WebProject, too, which extends classes from project B
I defined the dependencies by both, the project classpath and i defined
the J2EE Module Dependencies as far as i could by adding the project A
to B and C.
Additionally i added a jar-file of Project B to project C which brings
my system to run without ClassNotFound.
Now i would like to rebuild automatically the linked jar file when i am
starting or restarting the tomcat. Is there a known way to manage this?
In the worse case i would try to add an ant build into the catalina, but
i beleive that there is existing a more integrated way.
Thanks in advance,
Michael
|
|
|
|
|
|
Re: extending dynamic webproject [message #186573 is a reply to message #186552] |
Fri, 19 January 2007 10:48  |
Eclipse User |
|
|
|
Originally posted by: mremme.braintags.de
Hi Konstantin,
if possible i would like to avoid exactly that. First we are working in a team of 5 people here, additionally some
externals. Second much more i would loose some parts of our svn history - i am too much chicken to risk that :-)
As an interim solution i now added some ant builders into the project which are updating the jars automatic.
Second i played a little bit with your article about extending facets. Although i think this is not the sollution
neither this brought me to take a closer look to other extension points and just at that time i found the nice extension
point org.eclipse.wst.server.core.publishTasks which seems to bring me to the aim.
best, Michael
Konstantin Komissarchik schrieb:
> Would it work to factor out the code of the one web project that you
> want to reference in the other one into a separate utility project that
> both web apps can reference?
>
> - Konstantin
|
|
|
Powered by
FUDForum. Page generated in 0.48719 seconds