Here's where I'm stuck up. I've a old file (Fieldart_1.2.war). And I've a new file named Fieldart_1.4.war. I just have to deploy the new one. But, before that I need to make sure I'm hitting the right file. Is there anyway I can compare just the first part of the two files i.e., 'Fieldart' ? like, if the first part matches, go ahead with the deployment otherwise, throw an error..
What do you guys think ?