Did you run a clean just in case before you ran the tests? As Matt said, it
would be helpful to know which version of Appfuse you are using and whether
you have used war:inplace or appfuse:full-source?

Also, did you check if the right db settings are present in pom.xml?


carbon60 wrote:
> 
> I converted my build to be able to run jetty:run for development. Now  
> my tests don't get the correct JDBC permissions.
> 
> target/classes/jdbc.properties contains the correct property values,  
> but running:
> 
> mvn -o -Dtest=BillingDaoTest -Dsurefire.useFile=false test
> 
> Shows that it is trying to connect to a default MySQL setup.
> 
> I see this output:
> 
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to /Users/adam/Temporary/vsm/target/ 
> test-classes
> [INFO] [dbunit:operation {execution: test-compile}]
> [INFO] [surefire:test]
> [INFO] Surefire report directory: /Users/adam/Temporary/vsm/target/ 
> surefire-reports
> 
> So maybe the file needs to be copied into "test-classes"?
> 
> Any ideas?
> 
> Thanks,
> 
> A.
> 
> -- 
> Adam Sherman
> Technologist
> +1 (613) 797-6819 | http://www.sherman.ca/ | sip:[EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Converted-Build-to-%22inplace%22%3A-jdbc-config-problem-tf3891435s2369.html#a11044337
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