Re: maven + java.class.path

2006-02-10 Thread Anthony Vito
> The while loop quits right away, b/c the claspath only contains one > item, whereas within eclipse the classpath is like: > > C:\some\dir; C:\some\other\dir ; C:\yet\another\dir ; etc.. > > I want to navigate into the package hierarchy that is > > ...\target\classes\my\package\hierarchy > >

Re: maven + java.class.path

2006-02-10 Thread Davis Ford
On 2/10/06, Dion Gillard <[EMAIL PROTECTED]> wrote: > On 2/10/06, Davis Ford <[EMAIL PROTECTED]> wrote: > > No, they run in the same JVM. > > > > This is a pretty simple test that anyone can do. Write a quick main > > program that does the following: > > > > System.out.println(System.getProperty("

Re: maven + java.class.path

2006-02-10 Thread Dion Gillard
On 2/10/06, Davis Ford <[EMAIL PROTECTED]> wrote: > No, they run in the same JVM. > > This is a pretty simple test that anyone can do. Write a quick main > program that does the following: > > System.out.println(System.getProperty("java.class.path")); > > You'll get something like this: > > ..\Apa

Re: maven + java.class.path

2006-02-10 Thread Davis Ford
No, they run in the same JVM. This is a pretty simple test that anyone can do. Write a quick main program that does the following: System.out.println(System.getProperty("java.class.path")); You'll get something like this: ..\Apache Software Foundation\Maven 1.0.2\lib\forehead-1.0-beta-5.jar I

Re: maven + java.class.path

2006-02-09 Thread Dion Gillard
So, are the tests being forked? On 2/10/06, Davis Ford <[EMAIL PROTECTED]> wrote: > Hello Dion, > > Thanks for responding. I should clarify -- the unit tests I am > running are testing some code that use > System.getProperty("java.class.path") -- and this code depends on the > fact that the call

Re: maven + java.class.path

2006-02-09 Thread Davis Ford
Hello Dion, Thanks for responding. I should clarify -- the unit tests I am running are testing some code that use System.getProperty("java.class.path") -- and this code depends on the fact that the call to System.getProperty("java.class.path") will include "." which is the current directory - whe

Re: maven + java.class.path

2006-02-09 Thread Dion Gillard
Why does your test need the classpath of the app that is running it? The java.class.path property is set by the JVM when it's launched. Are you forking your tests? On 2/10/06, Davis Ford <[EMAIL PROTECTED]> wrote: > Hi, I searched high and low on google, etc. and the mailing list > archives. Th

Re: maven + java.class.path

2006-02-09 Thread Davis Ford
Hi, I searched high and low on google, etc. and the mailing list archives. This means either my problem is unique, or I'm just doing something very dumb. I know maven is supposed to handle dependencies like jar files with the xml, but this is a case where: A unit test is run that introspects the