How do I get the project name which has been built [message #1134922] |
Sat, 12 October 2013 21:43 |
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02609 seconds