I have an app in Fedora that upstream packages as a war file:
Sent from my phone!
> On 07/11/2013 03:23 PM, Fernando Nasser wrote:
> >> Because of the above, installation of WAR files is not supported
> >> out
> >> of
> >> the box, but it still can be done. There are several packages
> >> installing WARs in non-standard way (for example thermostat or
> >> bsh).
> > The issue is just JAR files inside the WAR file.
> > If it is a WAR file with no other archives hidden inside it can be
> > considered OKish.
> In this case you can create RPM with unpacked WAR file. Application
> servers usually unpack WARs anyways.
That is how it is done, we make it into a xxx.war _directory_ instead of a xxx.war archive
> If symlinks inside WAR files were supported then one could repack
> and replace bundled libraries with symbolic links. But that's not
It works in some servers but I agree it may not be portable.
> Mikolaj Izdebski
> Software Engineer, Red Hat
> IRC: mizdebsk
> java-devel mailing list
java-devel mailing list