Hi everyone, I am checking the source code and trying to figure out where did you get the directories to read task files like .epf. If I don't make any mistake, do you get the directories from the class "
FileTaskProvider"?? Thank you for answering my question:)
--
You received this message because you are subscribed to the Google Groups "Workspace Mechanic for Eclipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to workspacemecha...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
* Provides support for treating Elipse "epf" files as first class
* {@link Task}s. Each EPF file can have a recommended header section
* consisting of comments with javadoc like tags specifying information
* about the task to be performed for this file.
I have checked the methods of the PreferenceFileTaskScanner, I think it gets the directory by using methods from another class. And there is not comments for class FileTaskProvider. That is why I post the question :)
protected void scan(IResourceTaskProvider source, TaskCollector collector) { |
/** |
* Scan our source. Add a new Task for each EPF found. |
*/ |
for (IResourceTaskReference taskRef : source.getTaskReferences(".epf")) { |
So, the epf files are listed in the IResourceTaskProvider. Look for something that implements that interface, and go from there. Jingjie, I hope you are successful, but I'm just too busy to spend a lot of time on the Workspace Mechanic code base, particularly for questions that can be answered by reading the code. I suggest you spend some time learning how to navigate a small Java code base, and save your questions for more sophisticated ones. |