Hi Robert,

I had this problem as well, but I think this is more eclipse's fault.
Right know as far as I know this currently is possible in two ways:

1. Use Milestone Build of Eclipse 3.4 / WTP 3.0 - is has the ability to do
this via the expected masks.

2. (and probably more likely in your case) - in Eclipse 3.3 you should
check for project warnings. It will say something like "this library won't
be exported to dependent projects". If you right click this warning and
choose "Quick Fix" you will get a (hidden?) dialog, which allows to
declare the lib for export. Unfortunately right now this is the only way I
know to set this up in 3.3

Hope this helps.

bye, Michael


rmatthews schrieb:
>
> I am using Maven (2.0.7) to set up Eclipse with a multi-module project.
> Two
> of the seven modules are wars and using the following settings I am able
> to
> import into them both into Eclipse as WTP projects:
>
>                       <plugin>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-eclipse-plugin</artifactId>
>                               <configuration>
>                                       <wtpContextName>cart</wtpContextName>
>                                       <wtpversion>1.5</wtpversion>
>                               </configuration>
>                       </plugin>
>
> When I come to run them (Run As/On a Server) I have classpath problems,
> i.e.
> class not found.  If I change the J2EE Module Dependencies (in the
> properties for the project) by ticking the the projects that I have just
> imported then all will be fine.
>
> The question then is, how do I get the Eclipse plugin to select the peer
> projects in the same way that it is selecting all the dependent jars.
>
> Many thanks
> Robert Matthews
> --
> View this message in context:
> http://www.nabble.com/Eclipse-project-dependency-no-set-up--on-WTP-project-tp15454841s177p15454841.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
Michael Heß
Consultant

ORDIX AG
Westernmauer 12-16
33098 Paderborn

http://www.ordix.de
Tel.: 05251 / 10 63  0
Fax : 05251 / 10 63 99
Mob :  0163 /673 49 43

ORDIX AG - Aktiengesellschaft für Softwareentwicklung, Schulung, Beratung
und Systemintegration
Vorsitzender des Aufsichtsrates: Prof. Dr. Hermann Johannes
Vorstand: Wolfgang Kögler (Vorsitzender), Benedikt Georgi, Christoph
Lafeld, Axel Röber
Firmensitz: Westernmauer 12 - 16, 33098 Paderborn, Tel: 05251 / 1063-0,
Fax: 0180 / 1 67 34 90
Amtsgericht Paderborn, HRB 2941, Ust-IdNr.DE 126333767, Steuernummer:
339/5866/0142



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to