Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Execution of bat file
Execution of bat file [message #1750472] Wed, 21 December 2016 12:21 Go to next message
Himanshu Ghadiya is currently offline Himanshu GhadiyaFriend
Messages: 5
Registered: December 2016
Junior Member
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 13:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
No, there's no task to launch external processes. There is a Maven project import task that uses m2e functionality.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Execution of bat file [message #1750494 is a reply to message #1750474] Wed, 21 December 2016 17:40 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
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 14:04 Go to previous message
Steffen Holzer is currently offline Steffen HolzerFriend
Messages: 59
Registered: January 2016
Member

you could also give https://github.com/maybeec/oomph-task-cli a try

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live" - John Woods
Previous Topic:Oomph Setup authentication error
Next Topic:Reference online .setup file with authentication
Goto Forum:
  


Current Time: Sat Dec 14 14:37:02 GMT 2024

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

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

Back to the top