On Tue, 2005-09-20 at 22:20 -0500, Wendell Beckwith wrote: > I checked out the source for commons-exec and built the > commons-exec-1.0-SNAPSHOT.jar. I added this jar as a dependency to my m2 > plugin project and wrote a simple Foo app to verify that everything was > working. The app just writes the current time into a file and all is well > with this. What's missing is how to tie the output from my process into the > currently executing maven process. Below is my mojo's execute method. None > of the unit tests actually demonstrate how to configure the current process > to receive logging from a sub-process.
First, this is not the right forum for these questions, please ask new questions on [EMAIL PROTECTED] commons-exec is not ready for prime-time yet, so currently I would suggest that you use plexus-utils and the cli methods that's in there. I will sometime this week apply the outstanding patches for commons-exec and try to make it more useful but it's not there yet. For a usage example please see the other mail I wrote yesterday. -- Trygve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
