Skip to main content



      Home
Home » Modeling » Epsilon » Ant "External Tool Configurations" Programatically(Define Ant External Tool Configurations (Run in Same JRE) programatically from Java Code)
Ant "External Tool Configurations" Programatically [message #1843472] Sat, 31 July 2021 11:29 Go to next message
Eclipse UserFriend
Cheers,

I have been using build.xml to run Epsilon tasks (generation and validation) and it works fine. It used to give me the error of failure because the tasks were not being recognized, but I read somewhere that to fix that I had to change the JRE options in the "External Tools Configurations", which did solve the problem. But now, I am running the build.xml from Java code, and I keep getting that "failed to create task of type" error in all the the Epsilon tasks...

Does anyone know how to define these configurations programatically (from Java)? (I'm using ProjectHelper to run the build.xml from the code)

Thanks in advance,
Bests,

Miguel

[Updated on: Sat, 31 July 2021 11:31] by Moderator

Re: Ant "External Tool Configurations" Programatically [message #1843488 is a reply to message #1843472] Mon, 02 August 2021 05:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi Miguel,

Are you trying to run your build.xml from an Eclipse plugin or from a standalone Java application?

Best,
Dimitris
Re: Ant "External Tool Configurations" Programatically [message #1870680 is a reply to message #1843488] Thu, 05 September 2024 02:50 Go to previous message
Eclipse UserFriend
You can try this "Right-click the Ant file that you want to run, and select Run As > External Tools Configurations.... In the launch attributes window, open the JRE tab and select Run in the same JRE as the Workspace. Click Apply and then Run."
Previous Topic:Issue with protected region since Eclipse 2024-03
Next Topic:Moving to GitHub Discussions!
Goto Forum:
  


Current Time: Fri Nov 07 11:56:05 EST 2025

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

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

Back to the top