如何在编译路径中包含 JBOSS 个模块
How to include JBOSS modules in compile path
将补丁应用到 JBOSS 6.4 以将其升级到 6.4.14 后,我的构建中断了。
我正在使用 **/*.jar 在构建路径中使用各种模块。 (代码见下方)
RedHat 在应用补丁时禁用旧版本的 jar red hat doc
This is by design.
When applying a patch to EAP 6.2.0 to build EAP 6.2.x , the Patch tool does not replace the existing files. It will place new files under the folder $JBOSS_HOME/modules/system/layers/base/.overlays/_ and cripple the original files by flipping a bit in the end of central directory record to prevent them from being used.
我怎样才能在模块目录中包含除禁用的以外的所有 jar?
我的 build.xml 文件的相关部分。
<property name="jbossmodules" value="${env.JBOSS_HOME}/modules" />
<path id="class.path">
<pathelement path="${class.lib}" />
<pathelement path="${java.class.path}" />
[...]
<fileset dir="${jbossmodules}">
<include name="**/*.jar" />
</fileset>
我在 Redhat 支持下工作。如果用户类型合适,可以下载 jar 目录进行编译。简而言之,Redhat 似乎不鼓励针对 JBOSS 的实时补丁版本进行编译。但是它们也不能使获得一组可以编译的 jar 变得容易。
将补丁应用到 JBOSS 6.4 以将其升级到 6.4.14 后,我的构建中断了。 我正在使用 **/*.jar 在构建路径中使用各种模块。 (代码见下方)
RedHat 在应用补丁时禁用旧版本的 jar red hat doc
This is by design.
When applying a patch to EAP 6.2.0 to build EAP 6.2.x , the Patch tool does not replace the existing files. It will place new files under the folder $JBOSS_HOME/modules/system/layers/base/.overlays/_ and cripple the original files by flipping a bit in the end of central directory record to prevent them from being used.
我怎样才能在模块目录中包含除禁用的以外的所有 jar?
我的 build.xml 文件的相关部分。
<property name="jbossmodules" value="${env.JBOSS_HOME}/modules" />
<path id="class.path">
<pathelement path="${class.lib}" />
<pathelement path="${java.class.path}" />
[...]
<fileset dir="${jbossmodules}">
<include name="**/*.jar" />
</fileset>
我在 Redhat 支持下工作。如果用户类型合适,可以下载 jar 目录进行编译。简而言之,Redhat 似乎不鼓励针对 JBOSS 的实时补丁版本进行编译。但是它们也不能使获得一组可以编译的 jar 变得容易。