Recently I used -Xbootclasspath/a: to add dependencies to the forked VM's classpath. I did this because there was some legacy code involved that insists on reading stuff with a getSystemResource().
Regards, Marcel ----- Original Message ---- From: Wayne Fay <[EMAIL PROTECTED]> To: Maven Users List <[email protected]> Sent: Wednesday, April 4, 2007 11:09:52 PM Subject: Re: Manipulating the surefire booter classpath Assuming the instrumentation jar dependencies are available in Maven, I might try adding them as plugin dependencies (inside the surefire plugin node). You might also want to play with the forking modes and SystemClassLoader surefire configuration options. I've never done exactly this myself, but I'd be curious about your configuration assuming you get it working... And I'm sure other people would find this useful, too. Wayne On 4/4/07, David Jackman <[EMAIL PROTECTED]> wrote: > To run my tests, I have to put in place an instrumentation jar using the > -javaagent commandline argument. I added this using the argLine > property of the surefire configuration. However, the instrumentation > jar has its own dependencies that aren't present in the surefire booter > classpath. Adding them to my list of project dependencies isn't > enough--they need to be in the classpath when the JVM is started. > > How do I do this? > > Thanks, > ..David.. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
