Reputation: 101
I am using eclipse IDE.I need to modify thousands of hbm.xml file by replacing the text generate="always" to generate="never". Please tell me the easiest way.
Upvotes: 8
Views: 11527
Reputation: 1500575
Click on the "Search" button, click on the "File Search" tab, set the filename to hbm.xml
, set the text to generate="always"
and click on the "Replace" button at the bottom. When it's search for all matches, it'll offer you another dialog to say what to replace it with.
Upvotes: 8
Reputation: 114777
The eclipse search dialogs offer a global find and replace in text files.
Upvotes: 0