Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Maven generated a WAR via an automated build, but then the WAR had to be manually tweaked so that an Apache/Tomcat combo on another computer could host the WAR.

The logs didn't provide much info, so I'm looking at the exploded WAR folder of a working WAR and non-working WAR.

Would you just use WinMerge (Mac OC Windiff-like tool) for reviewing the differences in the exploded WAR contents between the working and non-working WAR?

Is there something in particular that you'd look for in the non-working WAR?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I have had to do this before though in linux. I exploded both the war files out and did

$ diff --brief -r originalwebapp.war/ newwebapp.war/

This lists all the files that are different between the two archives. Hopefully, it will be a few files - most likely in the WEB-INF/ folder re: configuration of one form or another OR maybe libs being moved around.

share|improve this answer
    
thanks @Shri. I'll try that out –  Kevin Meredith Jan 23 '13 at 23:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.