Re: Turning a WAR file into a RPM ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux