I have an app in Fedora that upstream packages as a war file:

http://pkgs.fedoraproject.org/cgit/guacamole.git/tree/

Regards.

Sent from my phone!
--Simone

On Jul 11, 2013 4:24 PM, "Fernando Nasser" <fnasser@redhat.com> wrote:

> 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
> them
> and replace bundled libraries with symbolic links.  But that's not
> portable.
>

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@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/java-devel
--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel