Skip to main content



      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
Eclipse UserFriend
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: Wed Jul 30 19:15:45 EDT 2025

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

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

Back to the top