HI,when i run "mvn test -Dsurefile.useFile=false" it is same to run"mvn test"
when i run  mvn jetty:run-war -Dmaven.test.skip=true
it can run ok
but when i visit "http://localhost:8080/appAgents.html";
it is 404 error!(appAgents.html is exist)

i think it cant pass test,because of it



mraible wrote:
> 
> Try running mvn test with a "-Dsurefile.useFile=false" argument to see
> what the error messages are.
> 
> Matt
> 
> On Mon, Sep 8, 2008 at 2:27 AM, qifeng.deng <[EMAIL PROTECTED]> wrote:
>> HI!
>> I have a problem about appfuse2!
>> I create a project with command
>> "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"
>>
>> then I use command
>> "mvn appfuse:gen-model" create a pojo  with name :AppAgent
>>
>> and use command:
>> "mvn appfuse:gen -Dentity" create DAO and Service
>>
>> all of these steps is OK!
>>
>> but when I run "mvn test",it can't pass with error:
>>
>> Failed tests:
>>   testHandleRequest(ht.com.app.webapp.controller.AppAgentControllerTest)
>> Tests in error:
>>   testEdit(ht.com.app.webapp.controller.AppAgentFormControllerTest)
>>   testSave(ht.com.app.webapp.controller.AppAgentFormControllerTest)
>>   testRemove(ht.com.app.webapp.controller.AppAgentFormControllerTest)
>>   testAddAndRemoveAppAgent(ht.com.app.dao.AppAgentDaoTest)
>>
>> I cant resolve it,please help  and thanks!
>>
>>
>> 2008-09-08
>> ________________________________
>> qifeng.deng
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/one-problem-about-appfuse2-tp19373607s2369p19526156.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]

Reply via email to