创建一个Hello World捆绑在Eclipse和检查CRX工作jar文件 [英] Create a hello world bundle in eclipse and check the working jar file on CRX
问题描述
我学习我自己的Adobe CQ5。使用vaultclipse我拉着jcr_root的文件夹结构,以我的Eclipse工作台。现在,我的要求是能有人向我提供一些参考,其中我可以写一个Hello World捆绑在eclipse,捆绑,然后将jar文件推到CRX?简单地说,步骤来实现我们在Eclipse环境下创建的CRX一个工作包。
I am learning Adobe CQ5 on my own. I had pulled the folder structure of jcr_root to my eclipse workbench using vaultclipse. Now my request is can someone provide me some references wherein I can write a hello world bundle in eclipse, bundle it and then push the jar file onto CRX.? To be simple, Steps to achieve a working bundle on CRX which we have created on eclipse environment.
我什么都经历过了的Adobe CQ5博客引用链接,我看到的大部分都是在CRXDE环境,而不是Eclipse环境。
What ever I have been through the reference links of Adobe CQ5 blogs, I see most of them are on CRXDE environment rather than eclipse environment.
推荐答案
我倒是preFER您使用Eclipse IDE或InteliJ IDEA。对于exlipse:在包的pom.xml文件使用Maven命令
I'd prefer you to use Eclipse IDE or InteliJ IDEA. For exlipse: Use maven command on bundle's pom.xml file
- 单击鼠标右键在包的pom.xml文件。
- 运行方式。
- 运行配置。
- 在基地derictory场浏览您的捆绑包。
-
在进球场认沽:
- rightclick on pom.xml file of bundle.
- Run as.
- Run configurations.
- In Base derictory field browse package of your bundle.
In Goals field put:
安装org.apache.sling:Maven的吊带插件:安装-Dsling.url = http://服务器/系统/网络管理/安装-Dsling.user =管理-Dsling.password =管理员
preSS运行按钮
和你的包将被安装到CRX
and yours bundle will be installed to CRX
您可以检查是否使用链接安装包
You can check if bundle installed using link
http://SERVENAME/system/console/bundles
这篇关于创建一个Hello World捆绑在Eclipse和检查CRX工作jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!