Community
Participate
Working Groups
What I am doing right now is that if I want to view a certain ant file using antview, I am going to Preferences -> External Tools -> Ant View: and then entering the name of the "Ant Build File Name" Now suppose I have 4 build files in my project with names build1.xml, build2.xml, build3.xml & build4.xml, how am I going to display all of them in Ant view. There is no facility to do that, cause antview can only display the targets of just ONE build file based on the file name entered. This is wrong!! There should a interface where the user can select the name of multiple ant build xml files present in the current project. This is a little tricky on how u will implement it. Another major drawback is, setting the name of the build file under Preferences is not at all appropiate place. Just for example, suppose I am working on 3 different projects, and 3 of those projects have used different names for their build file. In that case, everytime when I am switching from one project to another, I have to go to Preference and change build file name, cause currently it stores the name of the last build file entered by the user and doesn't change based on the project. Finally when I close a project, the file name is still present in the Antview. The file name should automatically be removed. This is the same case with deleting a project where the antview still displays the file name even after having the the project deleted. Executing a target in Antview is extremely ODD. First I have to select a target, then once my target is highlight I need to press "return" on my keyboard, and then I right click on it and select "RUN". Now this wrong cause intially i wasn't aware of this procedure, and so I was just directly right clicking on a target that I want to execute (without selecting the target and pressing "return" on my keyboard), and selecting RUN. And each time I was getting a message on the Log console "No targets selected". After struggling for two hours I figure the procedure to execute a target. Why not make things simplier and allow the user to select the target the user wants and execute it directly. !!
The ant view is being completely reworked and I believe all of your issues are being addressed. we need to ensure to address the project close / removal case. Please note that only committers should assign target milestones.
Issues have been addressed except project close/open/delete issue.
Added a resource listener to the Ant view. The listener updates the structure of build files in the view when the files are saved and also removes files if their project is closed. Please verify.
Did a bit of rework to make the resource change listening a little bit more "lazy".
Please verify changes to RootNode and AntView.
*** Bug 28203 has been marked as a duplicate of this bug. ***
Verified.