Replacing file in .Jar
Hello guys,
I am working on a script to update .Jar file, I have tried jar xf to unpack and jar cf to repack it is giving me some java.lang.NoClassDefFoundError exception at main class. I also tried jar uf, which is also not working for me :-s Basically my jar file requires to update date, which i do from "winrar" Manual it works fine, but now to remove "Donkey work", i want to make an script which does this all automatically, and the last stage is to update jar file which is not happening. :-s Ps: Date file is a text file. |
In general, you'd possibly use "ant" to manage your build, and "ant" would call "jar" to update the file. For example "jar cvf JARFILE MY_CLASS_DIR"
|
All times are GMT -5. The time now is 04:17 AM. |