On Mon, Jun 2, 2008 at 9:17 AM, Marcello Teodori <[EMAIL PROTECTED]> wrote: > > I think it would really make sense to move the test base classes to the test > directory and follow the tests-jar approach to reuse them, as I find myself > doing this all the time at each project I build on AppFuse, otherwise sooner > or later I find the test dependencies included in my distribution packages > against my will. If the interest is shared, I can contribute a patch > attached to APF-478.
It's probably best to create a new issue and refer to APF-478 in the description. A patch would be great. Matt > > Marcello > > > mraible wrote: >> >> FWIW, the reason we've done things the way we have are described in >> the following issue: >> >> http://issues.appfuse.org/browse/APF-478 >> >> Matt >> >> On Tue, May 27, 2008 at 6:05 AM, sheetalr <[EMAIL PROTECTED]> >> wrote: >>> >>> Hi, >>> >>> Indeed. But in the directory structure, below given test case files are >>> in >>> wrong location. >>> >>> 1. Class BaseDaoTestCase is in the src/main/java/**/ dao directory while >>> maven expect this in the test/java/**/dao directory >>> 2. Class BaseManagerTestCase is in the src/main/java**/service, while >>> maven >>> expect this in the test/java/**/service >>> 3. Class BaseManagerMockTestCase is in the src/main/java**/service/impl, >>> while maven expect this in the test/java/**/service/impl >>> 4. Class BaseControllerTestCase in the src/main/java**/webapp/controller >>> but >>> maven expect this in the test/java/**/ webapp/controller >>> >>> Because of this, there is problem in compilation. So could you please >>> tell >>> me, is there any other way to get appropriate directory structure. >>> >>> Thank you >>> >>> Regards >>> sheetal >>> >>> >>> mraible wrote: >>>> >>>> These are only Base*TestCase classes. We package them here so we don't >>>> have to create a separate appfuse-test module. If you don't like them >>>> there, it should be easy enough to move them. >>>> >>>> Matt >>>> >>>> On Thu, May 22, 2008 at 10:11 AM, sheetalr <[EMAIL PROTECTED]> >>>> wrote: >>>>> >>>>> Hi, >>>>> >>>>> I have used following maven command to create Spring MVC Basic project >>>>> >>>>> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes >>>>> -DarchetypeArtifactId=appfuse-basic-spring >>>>> -DremoteRepositories=http://static.appfuse.org/releases >>>>> -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app >>>>> -DartifactId=myproject >>>>> >>>>> To get appropriate directory structure I have used 'affuse: >>>>> full-source' >>>>> command, after executing it I got all test cases files in 'main' >>>>> directory >>>>> in respective folders instead of in 'test' directory. I'm using ItelliJ >>>>> as >>>>> an IDE. >>>>> >>>>> Could anyone please help me to resolve his problem. >>>>> >>>>> Thank you. >>>>> >>>>> Regards, >>>>> Sheetal >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/problem-with-Spring-MVC-Basic-project-tp17409058s2369p17409058.html >>>>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/problem-with-Spring-MVC-Basic-project-tp17409058s2369p17488930.html >>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- > View this message in context: > http://www.nabble.com/problem-with-Spring-MVC-Basic-project-tp17409058s2369p17603794.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
