Re: Access to the class path

2009-05-07 Thread Brian Fox
No, that would be a bug. On Thu, May 7, 2009 at 9:01 PM, James Crawford wrote: > On Thu, 2009-05-07 at 20:34 -0400, Brian Fox wrote: > > Yeah, someone else was looking for this too. If you supply a patch, i'll > > integrate it. > > We are currently on Maven 2.0.4 so I can't even build the latest

Re: Access to the class path

2009-05-07 Thread James Crawford
On Thu, 2009-05-07 at 20:34 -0400, Brian Fox wrote: > Yeah, someone else was looking for this too. If you supply a patch, i'll > integrate it. We are currently on Maven 2.0.4 so I can't even build the latest source. If I get time I will produce a patch when we finally upgrade to a more recent ver

Re: Access to the class path

2009-05-07 Thread Brian Fox
Yeah, someone else was looking for this too. If you supply a patch, i'll integrate it. On Thu, May 7, 2009 at 8:28 PM, Manos Batsis wrote: > James Crawford wrote: > >> I did look at dependency:build-classpath but I could only >> see how it outputs the class path to a file. >> >> > > Probably not

Re: Access to the class path

2009-05-07 Thread Manos Batsis
James Crawford wrote: I did look at dependency:build-classpath but I could only see how it outputs the class path to a file. Probably not the best idea as I've been up straight wy too long, but it should take you 15 minutes to change the source so that an env property is stored. Manos

Re: Access to the class path

2009-05-07 Thread James Crawford
ote: > > > Hi, > > > > I need to be able to get access to the runtime class path > > in my tests when invoked from the maven-surefire-plugin. > > > > I can set system properties for the surefire plugin but I > > can't find anyway that I can get ac

Re: Access to the class path

2009-05-07 Thread Brian Fox
ugin but I > can't find anyway that I can get access to the class path. > > For example I want to do something like the following to > set some "runtime.classpath" system property (assuming maven > provided a "maven.runtime.classpath" prope

Access to the class path

2009-05-07 Thread James Crawford
Hi, I need to be able to get access to the runtime class path in my tests when invoked from the maven-surefire-plugin. I can set system properties for the surefire plugin but I can't find anyway that I can get access to the class path. For example I want to do something like the followi