Re: Starting a new java process from within a test case is hanging the maven JVM

2007-04-20 Thread Jerome Lacoste
On 4/20/07, Balasubramanian, Ravi Shankar <[EMAIL PROTECTED]> wrote: Hi, Following is my test class that starts a notepad process from within: " public void startProcessNotepad() throws IOException { Process p = Runtime.getRuntime().exec("notepad"); System.out.prin

RE: Starting a new java process from within a test case is hanging the maven JVM

2007-04-19 Thread Balasubramanian, Ravi Shankar
il 19, 2007 9:37 PM To: Maven Users List Subject: Re: Starting a new java process from within a test case is hanging the maven JVM On 4/19/07, Balasubramanian, Ravi Shankar <[EMAIL PROTECTED]> wrote: > Hi all, > I did work on this and found that maven's java process is not waitin

Re: Starting a new java process from within a test case is hanging the maven JVM

2007-04-19 Thread Jerome Lacoste
On 4/19/07, Balasubramanian, Ravi Shankar <[EMAIL PROTECTED]> wrote: Hi all, I did work on this and found that maven's java process is not waiting until all other processes started during the build is completed / terminated. Following is what I did: In one of my test cases, I start a new process

RE: Starting a new java process from within a test case is hanging the maven JVM

2007-04-19 Thread Balasubramanian, Ravi Shankar
om: Balasubramanian, Ravi Shankar Sent: Wednesday, April 18, 2007 11:48 AM To: Maven Users List Subject: RE: Starting a new java process from within a test case is hanging the maven JVM Just in case, if anybody is looking into this, I tried creating a new java process from a simple Java clas

Re: Starting a new java process from within a test case is hanging the maven JVM

2007-04-18 Thread Jerome Lacoste
On 4/17/07, Balasubramanian, Ravi Shankar <[EMAIL PROTECTED]> wrote: Hi all, We use maven-surefire-plugin to run our testng test cases. I encountered a problem where in the maven VM is hanging when one of the test cases start a separate java process from within it using the java ProcessBuilder c

RE: Starting a new java process from within a test case is hanging the maven JVM

2007-04-17 Thread Balasubramanian, Ravi Shankar
ards, Ravi -Original Message- From: Balasubramanian, Ravi Shankar Sent: Tuesday, April 17, 2007 5:29 PM To: Maven Users List Subject: Starting a new java process from within a test case is hanging the maven JVM Hi all, We use maven-surefire-plugin to run our testng test cases. I encountered a pro

Starting a new java process from within a test case is hanging the maven JVM

2007-04-17 Thread Balasubramanian, Ravi Shankar
Hi all, We use maven-surefire-plugin to run our testng test cases. I encountered a problem where in the maven VM is hanging when one of the test cases start a separate java process from within it using the java ProcessBuilder class(which I think is inconsequential here). What I am doing in the tes