Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-ant-dev] Distribution?

Thanks for the reply! Sadly I have no Java skills to investigate the "pattern match listener" extensions...

I'm having a bit of an issue in that the lack of 'intellisense' type behaviour in either the CDT or the JDK Eclipse 3.5 releases. The development teams are in revolt and are looking at reverting to makefiles, because using the ant external builder, Eclipse is not linking compile problems through Ant/cpptasks to the source code from which they come.

Should it? Is there any plan to provide this through Platform Ant?

My only option at this point is to revert to the weird 3.4 distro that works (but I don't know why it works), or to revert to using make instead of Ant/cpptasks. I think the latter would be a bad step backwards for our project.

Any further help or advice would be much appreciated, ideally I would like platform Ant to be able to cope with cpptasks style console output e.g.:

sgm:
       [cc] Starting dependency analysis for 32 files.
       [cc] 24 files are up to date.
       [cc] 8 files to be recompiled from dependency analysis.
       [cc] 8 total files to be compiled.
       [cc] /local_views/philsad_2d3d_c2_init/source_2d3d/vis3d/sgm/src/neutral/handlers/SGLosHandlerFactory.cpp:55: error: prototype for ‘vis3d::sgm::SGHandler* vis3d::sgm::SGLosHandlerFactory::create(vis3d::sgm::SGM*)’ does not match any in class ‘vis3d::sgm::SGLosHandlerFactory’

Is there any hope for supporting this? Would it be easy for me to code it myself, given I have no knowledge of Eclipse internals or Java?!

Thanks again,

Tom


-----Original Message-----
From: platform-ant-dev-bounces@xxxxxxxxxxx [mailto:platform-ant-dev-bounces@xxxxxxxxxxx] On Behalf Of Darin Wright
Sent: 09 October 2009 02:43
To: Eclipse Ant integration developers list.
Subject: RE: [platform-ant-dev] Distribution?

>
>
> So, I initially though this was a CDT issue and submitted a bug to the
> CDT team. However, they say that the CDT is not responsible for
> parsing the output of Ant / cpptasks, and that whatever is happening
> is as a result of something else. The change to the output between the
> 3.4 and 3.5 releases is purely cosmetic and the underlying parsing has
> not changed. My question therefore is: what is parsing the output of
> ant/cpptasks in the randomly-pluginised 3.4 release?!
> I have no idea what features/plugins are responsible for what, so I
> need some help knowing if platform Ant has any responsibility in this
> area? If so, what plugins am I looking for?
>
> Any help is greatly appreciated, as I now see it is possible for
> Eclipse to recognise Ant/cpptasks output and integrate it into the
> ide, but I have no idea why only this one weird distro of eclipse can
> do it, but nothing else can! I am going slightly mad here!
>
> Cheers,
>
> Tom
>

The Ant console has "pattern match listener" extensions registered with it to recognize certain patterns and create hyper links. If you look at the org.eclipse.ant.ui plug-in you will see 3 pattern matcher extensions registered with the Ant console. The extension point is "org.eclipse.ui.console.consolePatternMatchListeners". I'm not sure if it was one of these matchers that was creating the links for you in earlier releases. Others could have contributed to this extension point.

Darin Wright
_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ant-dev




Back to the top