Hello, That cannot work because it's too late for adding the JAR into JBoss' classpath. That could have worked if you wanted to add it into Nuxeo's classpath. There's also the risk that JBoss try to deploy the JAR as a nested JAR if it's in the root.
Another solution is to add your JAR file into your custom template (see http://doc.nuxeo.com/display/NXDOC/Configuring+Nuxeo+EP); it won't be at runtime but startup time. Le 22/11/10 16:09, Youri Ginieys a écrit : > > Hello, > > > > We have developped a Nuxeo bundle that requires a third part java library > that is not available in NuxeoDM5.4 > distribution. > > To make it work, the third part JAR library must be placed in the application > server lib directories. > > > > Could it be possible to automate the JAR copy at runtime ? > > The idea would be to embed the JAR library inside the bundle, as it is done > for other web resources (icons, CSS, > etc...) and to copy it in the serverapp's lib directory and activate it ? > > Using the deployment.fragment, I can copy the JAR, but I don't think it will > be loaded. > > > > Thanks, > > > > Youri Ginieys > > > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm -- Julien Carsique, Nuxeo (Paris, France) www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
