is there a way to rename a file with in ear with jar command? ex:-xyz.ear file got a file temp.txt i need to rename the temp.txt to original.txt
thanks in advance
Joined: Jan 09, 2004
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.
Joined: Mar 16, 2002
the text file is used for tracking of the builds info.using jar utilites any way of renaming the file with out extracting ? thanks for your responce