On Thu, 14 Jul 2005, David H. DeWolf wrote: What you could do is depend on a pom, <scope>test</scope>, that itself depends on the servlet api.
-- Kenney > I'm attempting to utilize the servlet api within some mock tests (in > addition to needing it to compile my main source). I have attempted to > mark the scope of the servlet api in the following manners: > > 1) Provided Scope > 2) Test Scope > 3) Two Separate Dependencies of Provided Scope AND Test Scope > > And none of these seem to work. When the scope is 'provided', the tests > throw a class not found exception. When the scope is 'test' the main > source fails to compile. When I attempt to use both, it appears as > though the second dependency is ignored. > > Has anyone else encountered this and found a work around? > > Thanks, > > David > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
