rapid7/metasploit-framework — pull request #282 by schierlm (2012-03-27 21:06:44+00:00)
Title: fix generating war files for Java payloads from within msfconsole

This fixes this use case:
use payload/java/meterpreter/reverse_tcp
generate -t war -f filename.war