posted 19 years ago
May be you will need to extract the contents of the ear file. Then rename your file to original.txt and zip it up as an ear. Probably you will have to use the jar utilities to extract your files from the ear and later use your build scripts to create your ear. Not sure what a text file is doing in an ear. An ear is supposed to contain WAR files and JAR files, and is deployed in an application server. Don't really understand your question.