简体   繁体   English

使用码头开发Adobe CQ5吗?

[英]Developing in Adobe CQ5 with jetty?

We use maven to deploy the code changes to cq interner server / CRX Lite and the problem here is that it takes long time where the changes itself is often only one line code. 我们使用maven将代码更改部署到cq内部服务器/ CRX Lite,这里的问题是更改takes long time ,而更改本身通常只是一行代码。

Has somebody experience with CQ5 with jetty and can give me a good Guide? 有没有使用CQ5 with jetty经验,可以给我一个很好的指南?

am not sure i understand the relationship with jetty (which ships as servlet container of latter versions of AEM/CQ5), but will answer to the code deployment part: 我不确定我是否了解与码头(作为AEM / CQ5更高版本的servlet容器提供)的关系,但是会回答代码部署部分:

  • deploying a full content package (full content) should be done using maven-content-package plugin for smaller deployments of content, 对于较小的内容部署,应使用maven-content-package插件来部署完整的内容包(完整的内容),
  • when you can't use integrated dev environments like sling eclipse dev tools, i'd suggest you use the excellent repo command that basically zips the current folder and deploy it. 当您无法使用诸如sling eclipse开发工具之类的集成开发环境时,建议您使用出色的repo命令,该命令基本上可以压缩当前文件夹并进行部署。 I'm using it as an external tool command of intellij and it's really fast. 我将其用作intellij的外部工具命令,而且速度非常快。
  • finally, if the deployment you're referring to is osgi deployment, maven sling plugin can help you with that (will still compile/package the whole osgi bundle though) 最后,如果您所指的部署是osgi部署,则maven sling插件可以为您提供帮助(尽管仍会编译/打包整个osgi捆绑包)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM