AntRunner and Console output issue [message #298167] |
Thu, 26 January 2006 09:30 |
Eclipse User |
|
|
|
Originally posted by: franck.felius.fr.ibm.com
Hello,
We'd like to output on the console an Ant script we are running from our
Eclipse 3.1 plugin.
We tried a solution provided on this newsgroup (SOLUTION Re: AntRunner -
Console Output) using an ILaunchConfigurationWorkingCopy. It works as
expected and we get the output on the console but using
IAntLaunchConfigurationConstants is discouraged. Is this solution outdated ?
We are finally using AntRunner to load the Ant script. It works but we
have to build a library for the extended DefaultLogger (that logs on the
console) outside the plugin and import it on our plugin. If we don't the
class is loaded by the plugin before Ant does on runtime and it fails on
a class cast exception. This seems not be really a nice way.
Is there another solution or an update of the previous solutions ?
Thanks in Advance,
Franck Félius.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03366 seconds