如何将对Java文件的更改部署到AEM? [英] How to deploy changes to java file into AEM?

查看:117
本文介绍了如何将对Java文件的更改部署到AEM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是第一次与AEM合作。我正在使用Adobe Brackets编辑一个ZIP文件,该文件包括 jcr_root META-INF 。该ZIP文件没有 pom.xml 。到目前为止,使用zip文件的一切都很好。...我可以对JSP和JS等进行更改,并且它们立即生效。

I'm working with AEM for the first time. I am using Adobe Brackets for editing one of the ZIP files I was given that included jcr_root and META-INF. This ZIP file has no pom.xml. Everything so far is fine with the zip file....I can make changes to JSP and JS etc. and they take effect right away.

但是,我想更改其中一个Java文件。对JAVA文件的更改似乎没有生效。我已经重新启动了CQ实例,但这似乎不起作用。压缩文件中没有POM.xml。

However, I would like to change one of the java files. The change to JAVA files doesn't seem to be taking effect. I've restarted CQ instance but that doesn't seem to be working. And there is no POM.xml in the zip file.

有一个 .bnd 文件,其中包含这些内容。不确定是否有帮助。.

There is a .bnd file with these contents. Not sure if this helps..

Export-Package: *
Import-Package: *
#Private-Package: com.acme.demo.workflow.impl
# Include-Resource: 
Bundle-Name: com.acme.demo.workflow
Bundle-Description: 
Bundle-SymbolicName: com.acme.demo.workflow
Bundle-Version: 1.0.0-SNAPSHOT
Bundle-Activator: com.acme.demo.workflow.Activator

问题

可以将已编译的类文件发送到AEM通过括号?如果是这样,怎么办?

Can compiled class files be sent to AEM via brackets? If so, how?

推荐答案

我强烈建议使用Maven来构建您的AEM项目。它得到了很好的支持和记录,并且是AEM部署的实际标准。
http://docs.adobe.com/docs/en/cq/5-6-1/developing/developmenttools/how-to-build-aem-projects-using-apache-maven .html

I strongly recommend to use Maven to build your AEM Project. It's very well supported and documented and the de-facto standard for AEM deployment. http://docs.adobe.com/docs/en/cq/5-6-1/developing/developmenttools/how-to-build-aem-projects-using-apache-maven.html

这篇关于如何将对Java文件的更改部署到AEM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆