Sometimes in test case where I do not want to be dependent on files I store the content of the file into a big string and create a StringBufferInputStream to bypass the file altogether. Usually it is easier to write the string in a text editor without worrying with java syntax and paste it into the target java file. I usually run an emacs macro to massage the text: 1) add the appropriate " or +, 2) escape '"' 3) add \n at the end of each line That way you get a proper concatenated java string that has the same value as the one loaded from the file content and almost as readable. It would be great to have this kind of feature built-in.
file content <menu> <item name="test"/> </menu> could become in a java file "<menu>" + " <item name=\"test\"/>" + "</menu>" I guess it could be a good addition as a plug-in (or Duane might pick that up... ;-) if there is a way to get to the clipboard. _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
