You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Dinyar Rabady <Di...@catalysts.cc> on 2012/05/08 15:42:57 UTC

FakeMailetConfig

 Hi!

I would like to use FakeMailetConfig and the related classes in my unit tests, but I can't seem to use the package org.apache.mailet.base.test even after including apache-mailet-base in my pom.xml (I'm using maven).

Should this be working?

Best regards,
Dinyar

AW: FakeMailetConfig

Posted by Dinyar Rabady <Di...@catalysts.cc>.
Thanks, that worked nicely!

________________________________________

Hello Dinyar,

2012/5/8 Dinyar Rabady <Di...@catalysts.cc>:
>  Hi!
>
> I would like to use FakeMailetConfig and the related classes in my unit tests, but I can't seem to use the package org.apache.mailet.base.test even after including apache-mailet-base in my pom.xml (I'm using maven).

Try adding the test classifier so it will get on the test classpath:
http://maven.apache.org/guides/mini/guide-attached-tests.html

>
> Should this be working?
>
> Best regards,
> Dinyar



--
Ioan Eugen Stan
http://ieugen.blogspot.com/  *** http://bucharest-jug.github.com/ ***

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: FakeMailetConfig

Posted by Ioan Eugen Stan <st...@gmail.com>.
Hello Dinyar,

2012/5/8 Dinyar Rabady <Di...@catalysts.cc>:
>  Hi!
>
> I would like to use FakeMailetConfig and the related classes in my unit tests, but I can't seem to use the package org.apache.mailet.base.test even after including apache-mailet-base in my pom.xml (I'm using maven).

Try adding the test classifier so it will get on the test classpath:
http://maven.apache.org/guides/mini/guide-attached-tests.html

>
> Should this be working?
>
> Best regards,
> Dinyar



-- 
Ioan Eugen Stan
http://ieugen.blogspot.com/  *** http://bucharest-jug.github.com/ ***

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org