Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How do I get the project name which has been built(Listenning to build events)
How do I get the project name which has been built [message #1134922] Sat, 12 October 2013 21:43
Avi Edri is currently offline Avi EdriFriend
Messages: 2
Registered: September 2013
Junior Member
Hi, I need to know how to identify the exact project which commited the build.
Due to the fact that projects can be ran couple of times, without any change, i need not to rely on the IResourceChangeListener, because there may have been no change between the current build and the previous one, and yet - i need to identify the right name.

ResourceDelta affected[]= event.getDelta().getAffectedChildren();
for(int i=0;i<affected.length;i++)
System.out.println(affected[i].getResource().getName());
This code is not good enough, because it give me names of projects which have been

changed since the last build, not necessarily the name of the specific project which build action has been applied on.
Thanks.
Previous Topic:Migrating platform actions to commands
Next Topic:Running an external program from a menu
Goto Forum:
  


Current Time: Sat Apr 20 04:01:50 GMT 2024

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

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

Back to the top