使用 Ant 构建 Oracle ADF 应用程序 jar 文件
我正在尝试编写 Ant 脚本来为 Oracle ADF 应用程序构建 jar 文件,我注意到 JDev 中的构建(实际上部署可能是一个更好的词)进程和 Ant 进程生成的内容存在一些差异:
- META-INF/ adfc-config.xml
- META-INF/adflibWEBINDEX.txt
- META-INF/adfm.xml
- META-INF/faces-config.xml
- META-INF/jar-adf-config.xml
- META-INF/jar-connections.xml
- META-INF/jax-ws-catalog.xml
- META-INF/oracle.adf.common.services.ResourceService.sva
- META-INF/task-flow-registry.xml
有谁知道如何这些文件是生成的,如何编辑 Ant 脚本以包含它们?
我知道其中一些存在于项目文件夹结构中,但是当我将它们的内容与 Jdev 构建生成的 jar 文件生成的相同文件进行比较时,它们是不同的。所以我认为这里发生的不仅仅是一个简单的副本。
干杯,
莫
I am trying to write Ant scripts to build jar files for Oracle ADF application and I noticed some differences in the contents being generated by the build (deploy might be a better word actually) process within JDev and from the Ant process:
- META-INF/adfc-config.xml
- META-INF/adflibWEBINDEX.txt
- META-INF/adfm.xml
- META-INF/faces-config.xml
- META-INF/jar-adf-config.xml
- META-INF/jar-connections.xml
- META-INF/jax-ws-catalog.xml
- META-INF/oracle.adf.common.services.ResourceService.sva
- META-INF/task-flow-registry.xml
Does anyone know how these files are generated and how to edit the Ant scripts to include them?
I know that some of these exist in the project folder structure but when I compare their contents against the same files generated from the Jdev build produced jar file they are different. So I assume there is something more than a simple copy going on here.
Cheers,
Mo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最好的选择是在 JDeveloper 中使用“从项目创建构建文件”。这将生成对创建/更新所有额外工件所需的 ojdeploy 调用。
http://www.oracle.com/technetwork/articles/adf/part4 -098813.html
Your best bet is to use "Create buildfile from project" in JDeveloper. This will produce the calls to ojdeploy necessary to create/update all the extra artifacts.
http://www.oracle.com/technetwork/articles/adf/part4-098813.html