And you were perfectly right, my integration tests compile now !! Thanks a lot for your help.
For the record, I did as you advised me, that is : - I added a "foojar" module and moved the source code from "foowar" there - I made "foowar" depend on "foojar" (the war is now built with a foojar.jar in WEB-INF/lib, rather than compiled classes in WEB-INF/classes) - I made "integtesttomcat" depend on "foojar" Thanks again, Arnaud -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: lundi 21 mai 2007 18:49 To: Maven Users List Subject: Re: Integration tests in a separate moule On 5/21/07, Arnaud Jeansen <[EMAIL PROTECTED]> wrote: > My problem is that I can't make these integration tests compile in the > "test" phase of the "integtesttomcat" module. These tests depend on > the classes from foowar/src/main/java (to compile test classes looking > like web services clients, I need the classes defining my model). When > I run the mvn install, the tests will not compile because they will > fail to see the main classes (lots of "Symbol not found") ... > If anyone can take some time to pitch in some suggestions, I would be > very grateful I'd move the java code out of the webapp into a separate module, and have both the webapp and the integration tests module depend on it. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ce message et ses pièces jointes (le "message") est destiné à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite. Le présent message pouvant être altéré à notre insu, CALYON Crédit Agricole CIB ne peut pas être engagé par son contenu. Tous droits réservés. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Crédit Agricole CIB. All rights reserved.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
