Community
Participate
Working Groups
Using the JSP discoverer on one single ".jsp" file, the Page element will have a "originalFilePath" relative to the project. Using the JSP discoverer on a Java project containing ".jsp" files, the Page elements have a "originalFilePath" simply equal to the .jsp file name. It would be better to have in both cases an "originalFilePath" relative to the project (excluding "project" name) for following reasons : - to have the same behavior than the Java Discoverer - to facilitate JSP generation back targeting another workspace project.
Hi Fabien, The 3 ways of discovering a JSP file result have the same behaviour now. I have added a field "name" to the EClass "Page" to store the project relative location, "originalFilePath" still stands for the absolute location on the disk Please find attached 2 patches to apply those modifications 1. I, Nicolas Guyomar, and others contributors listed in this bug, authored 100% of the content 2. I have the rights to donate the content to Eclipse under the EPL 3. I have already provided the filled Employer Consent Forms to the Foundation Regards Nicolas
Created attachment 172338 [details] JSP metamodel completing with name field Add a field "name" to the EClass "Page"
Created attachment 172339 [details] jsp discoverer patch for originalFilePath field Fix the behaviour of JSP discoverer concerning absolute and relative path of discovered pages
Thanks for your contribution, The patch has been commited into SVN. Fabien.
The patch has been successfully applied.