How can I write a simple exec task ? Example in documentation are too simple. I would like to be able to start mongodb on windows manually so I wrote this :
Actually I’d expect an error because you are assigning a String to a File property. Simplest solution is to remove the ‘=’ after ‘workingDir’. Such things are documented in the DSL reference.
But the problem is once I have started startMongoDB, mongod is launched and take control of the console so after I cannot start another command to start jetty for instance How can I start it as a separate process ?