The Problem
ADF BC and also ADF pages are xml files. Sometimes you want to massively change all the files of your application. Typical examples are when you want to change the template of all jspx pages of your application or the bundle that all your entities and/or ViewObjects are using. You might easily do it with DOM but then you ll loose the SVN history, because DOM rewrites all the file and the text format will be lost. Other alternative is to do it by hand, but when you have 1000 of files in your application then this might take enough time.
The tool
If you want to do it automatically and modify only the part of the file that is needed (and so preserve SVN history), check my post Modifying xml without changing the text format (and so without loosing SVN history) for a small tool that I developed to help you perform this task.
Code/Downloads
ADF BC and also ADF pages are xml files. Sometimes you want to massively change all the files of your application. Typical examples are when you want to change the template of all jspx pages of your application or the bundle that all your entities and/or ViewObjects are using. You might easily do it with DOM but then you ll loose the SVN history, because DOM rewrites all the file and the text format will be lost. Other alternative is to do it by hand, but when you have 1000 of files in your application then this might take enough time.
The tool
If you want to do it automatically and modify only the part of the file that is needed (and so preserve SVN history), check my post Modifying xml without changing the text format (and so without loosing SVN history) for a small tool that I developed to help you perform this task.
Code/Downloads
- A full example as described in the my post (the tool and the example files)
- Only the tool (just what you want to use it)
- The full Project with all the files
No comments:
Post a Comment