On Mon, Jun 2, 2008 at 8:44 AM, sheetalr <[EMAIL PROTECTED]> wrote:
>
> Hi Tim,
>
> From your problem I'm not able to understand whether you have got the proper
> directory structure. Because executing following command you will not give
> the proper directory structure
>
> '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'
>
> In order to get the required directory structure you need to execute
> 'appfuse: full-source' command.
>
> Then you will get the required directory structure where some test classes
> are miss placed in 'src/main/java' directory instead of test/java directory.
> You need to move these test classes manually to the appropriate location.
> These test classes are:
>
> 1. Class BaseDaoTestCase which you will find in the src/main/java/**/ dao
> directory and you need to move it manually to the test/java/**/dao
> directory.
> 2. Class BaseManagerTestCase which you will find in the
> src/main/java**/service, and you need to move it manually to the
> test/java/**/service
> 3. Class BaseManagerMockTestCase which you will find in the
> src/main/java**/service/impl, and you need to move it manually to the
> test/java/**/service/impl
> 4. Class BaseControllerTestCase which you will find in the
> src/main/java**/webapp/controller and you need to move it manually to the
> test/java/**/ webapp/controller
>
> Hope this will help you :)

I realize from an aesthetics point of view, it makes sense to move
these classes. However, it shouldn't be *required* that you move them.

Matt

> sheetal
>
>
> tim_m wrote:
>>
>> I too am struggling with the Spring MVC tutorial, I have used both the
>> basic and modular archetypes, but when I get to the part where I subclass
>> org.appfuse.webapp.controller.BaseControllerTestCase, it is not found. I
>> am sure I'm missing something simple but after a week of googling and
>> looking through docs.. Im still at a loss.
>>
>> What do I need to do to get the webapp.controller package in my classpath?
>> I haven't posted my POM because it is unmodified from what you get from
>> the archetype create... I'd be happy to post anything that would help.
>>
>>
>> sheetalr 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-tp17409058s2369p17603023.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]

Reply via email to