[
https://jira.nuxeo.com/browse/NXP-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=102664#comment-102664
]
Florent Guillaume commented on NXP-7510:
----------------------------------------
Initial Java code for the packager.
http://hg.nuxeo.org/nuxeo/nuxeo-runtime/rev/7ffce37f8809
It can be used from the Tomcat root as:
{noformat}
java -classpath "lib/*:nxserver/lib/*:nxserver/bundles/*" -Dnuxeo.log.dir=.
org.nuxeo.runtime.deployment.preprocessor.PackWar nxserver nuxeo.war
{noformat}
{{nuxeo.war}} in this example is the name of the (zipped) WAR file to build.
An additional {{packaging}} argument can be passed to not redo the
preprocessing and just build the WAR.
After placing the WAR in a Tomcat, the {{nuxeo.xml}} file and additional JDBC
libraries must still be installed as described above.
Note that to run correctly Tomcat needs additional memory:
{noformat}
JAVA_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=512m" bin/catalina.sh run
{noformat}
> Allow Nuxeo to run as a pure WAR
> --------------------------------
>
> Key: NXP-7510
> URL: https://jira.nuxeo.com/browse/NXP-7510
> Project: Nuxeo Enterprise Platform
> Issue Type: New Feature
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Priority: Major
> Fix For: 5.4.3
>
>
> Nuxeo must be able to run as a pure WAR once the preprocessing has been done.
> Put all bundles in WEB-INF/lib/
> Put configuration in WEB-INF/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets