FDT/Eclipse Ant Configuration – Same JRE as Workspace

 Jan, 11 - 2010   4 comments   Uncategorized

I’ve been looking for a way to force “Same JRE as Workspace” as the default in my ANT build targets under FDT / Eclipse. I haven’t figured it out yet, but I finally found where this setting is stored:

{workspace}/.metadata/.plugins/org.eclipse.debug.core/.launches/myProject myBuildfile.xml.launch

Remove the entries for org.eclipse.jdt.launching.JRE_CONTAINER & org.eclipse.jdt.launching.MAIN_TYPE, and Eclipse should use the workspace’s JRE.

I’m sure someone could take this information and throw together a plugin / fix? The powerflasher team would honestly make the best candidates. (Hint! hint!)

Related articles

 Comments 4 comments

Leave a Reply

Your email address will not be published. Fields with * are mandatory.