[
http://jira.nuxeo.org/browse/NXP-3983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julien Carsique resolved NXP-3983.
----------------------------------
Resolution: Not A Bug
Scrum Backlog: Qualiscope
See nuxeo-ecm/nuxeo-distribution/nuxeo-distribution-jboss/build.xml :
<target name="copy-lib" depends="clean-lib,copy-lib-unix,copy-lib-windows"
description="Copy Nuxeo libs in jboss" />
<target name="clean-lib" depends="setproperties">
<delete>
<fileset dir="${jboss.lib}">
<include name="nuxeo-runtime-jboss-extensions-*.jar" />
<include name="nuxeo-common-*.jar" />
</fileset>
</delete>
</target>
Or from nuxeo-ecm/nuxeo-distribution/build.xml :
<target name="copy-lib" depends="clean-lib,copy-lib-unix,copy-lib-windows"
description="Copy Nuxeo libs in jboss" />
<target name="clean-lib" depends="setproperties">
<echo message="Cleaning Nuxeo libs in ${jboss.lib}" />
<delete>
<fileset dir="${jboss.lib}">
<!-- sync this list with the ${nuxeo.ear.root} POM dependencies -->
<include name="nuxeo-runtime-jboss-extensions-*.jar" />
<include name="nuxeo-common-*.jar" />
<include name="nuxeo-core-storage-sql-extensions-*.jar" />
<include name="derby-*.jar" />
<include name="h2-*.jar" />
<include name="lucene-core-*.jar" />
<include name="lucene-analyzers-*.jar" />
</fileset>
</delete>
</target>
What you ask for is already done. I close this issue.
Reopen if you find why it didn't work for you and if the script are to be
updated.
> using cp (copy) to put files in jboss installation is bad
> ---------------------------------------------------------
>
> Key: NXP-3983
> URL: http://jira.nuxeo.org/browse/NXP-3983
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Environment: any OS
> Reporter: Ian Smith
> Assignee: Julien Carsique
>
> When you do "ant deploy" some files are copied into the server/default/lib
> directory that are part of nuxeo. For example, nuxeo-common-1.XXX.jar and
> nuxeo-core-storage-sql-extensions-1.XXXX.jar
> This is not sufficient because if you already have a different version in
> there, one can get into trouble. The files in this directory are NOT
> versioned, jboss just blindly picks up anything in the classpath, so
> *sometimes* you get lucky and get the versions you want. Othertimes, you can
> end up (how I found this) running a build of nuxeo.ear that is based on 1.5.0
> with the jar files from 1.5.1-SNAPSHOT.
> If these are the only files that we put in that directory, it is probably ok
> to simply delete any nuxeo files before doing the copy. If there are files
> in there (dependencies) this is going to be a lot trickier.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
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