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 17:43
Avi Edri is currently offline Avi Edri
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: Thu Apr 24 11:20:46 EDT 2014

Powered by FUDForum. Page generated in 0.03194 seconds