Skip to main content



      Home
Home » Eclipse Projects » Oomph » Execution of bat file
Execution of bat file [message #1750472] Wed, 21 December 2016 07:21 Go to next message
Eclipse UserFriend
Hi All,
Is it possible with oomph to call any bat file from setup file.

Like in my case before importing project in eclipse, I need to check some environment variables, either they are set or not and execute maven commands.

Thanks

Re: Execution of bat file [message #1750474 is a reply to message #1750472] Wed, 21 December 2016 08:52 Go to previous messageGo to next message
Eclipse UserFriend
No, there's no task to launch external processes. There is a Maven project import task that uses m2e functionality.
Re: Execution of bat file [message #1750494 is a reply to message #1750474] Wed, 21 December 2016 12:40 Go to previous messageGo to next message
Eclipse UserFriend
Correction: You can use the "Launch" task. I've just tested it; here's the log output:

Performing Launch test
Execute Debug Command

C:\Develop\cdo-master\eclipse>echo HelloWorld 1>c:\develop\test.txt


C:\Develop\cdo-master\eclipse>echo Hello
Hello

Took 1 seconds.
Press Finish to close the dialog.
Re: Execution of bat file [message #1752721 is a reply to message #1750494] Thu, 26 January 2017 09:04 Go to previous message
Eclipse UserFriend
you could also give https://github.com/maybeec/oomph-task-cli a try
Previous Topic:Oomph Setup authentication error
Next Topic:Reference online .setup file with authentication
Goto Forum:
  


Current Time: Wed Jul 09 04:44:13 EDT 2025

Powered by FUDForum. Page generated in 0.09736 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top