cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Running and debugging integration tests in Eclipse
Date Sat, 14 Oct 2006 21:22:17 GMT
I ran into a problem recently trying to debug a failing integration  
test in Eclipse - Eclipse would exit without any errors refusing to  
run the test. I wanted to share the solution - as all of these tests  
(under "cayenne/integration-test") require class enhancement, you  
have to configure Cayenne Agent explicitly:

1. Open the VM arguments dialog: Run > Run ... > select run config >  
Arguments > VM Arguments

2. Enter the location of Cayenne Agent jar installed in the local  
Maven repo (or anywhere else):

-javaagent:/Users/andrus/.m2/repository/org/apache/cayenne/core/ 
cayenne-agent/3.0-incubating-SNAPSHOT/cayenne-agent-3.0-incubating- 
SNAPSHOT.jar

Andrus

Mime
View raw message