Skip to main content
Level 4
fev. 5, 2016 2:38 PM UTC
Respondido

How to install osgi bundle into crxde

Hi,

I have created project in crxde not by using maven and eclipse. I have taken a already existing reference project from crxde. Now I started using web services, so I have created OSGI bundle in eclipse separately and installed into system/console and its working fine.

But eclipse project and my crxde project are not in sync. how can I create install folder and directly install bundle into my crxde project from eclipse? (since both are not in sync (mvn -PautoInstallPackage clean install) is creating bundle in its eclipse related project. 

How can I do packaging of my aem project, which should contains the bundle and after installation it should go and sit in client machine's system/cosole/bundles.

Pls excuse me, for the way of asking the question. But I need to sync existing aem project with the new project in eclipse, which can create install folder and install my webservice bundle in my (aem/myproject/install).

Pls help me out.

Regards

Krishh

Este tópico foi fechado para respostas.
edubey
edubeyResposta
Level 10
fev. 5, 2016 2:44 PM UTC

Its not recommended to create project in Crxde, 

You should create in Eclipse and then deploy it to AEM, more ever  for sync you can use vaultclipse plugin available in eclipse.

Please see these article for recommended approaches

http://adobeaemclub.com/how-to-set-up-aem-projects-using-eclipse-plugin/

http://adobeaemclub.com/aem-eclipse-plugin-setup-tutorial/

12 Respostas

edubey
edubeyResposta
Level 10
fev. 5, 2016 2:44 PM UTC

Its not recommended to create project in Crxde, 

You should create in Eclipse and then deploy it to AEM, more ever  for sync you can use vaultclipse plugin available in eclipse.

Please see these article for recommended approaches

http://adobeaemclub.com/how-to-set-up-aem-projects-using-eclipse-plugin/

http://adobeaemclub.com/aem-eclipse-plugin-setup-tutorial/

Traduzir
Level 4
fev. 5, 2016 3:15 PM UTC

edubey wrote...

Its not recommended to create project in Crxde, 

You should create in Eclipse and then deploy it to AEM, more ever  for sync you can use vaultclipse plugin available in eclipse.

Please see these article for recommended approaches

http://adobeaemclub.com/how-to-set-up-aem-projects-using-eclipse-plugin/

http://adobeaemclub.com/aem-eclipse-plugin-setup-tutorial/

 

Hi Praveen,

How are you? 

After sync with the eclipse, I am unable to create install folder. PFA screenshots. Do I need to create folder explicitly?

I have tried that also. After folder creation, I have gone to core folder and executed (mvn -PautoInstallPackage clean install) still not able to install any bundle inside install folder.

Pls help  me out.

Regards

Krishh

Traduzir
Level 4
fev. 5, 2016 3:18 PM UTC

krishh_187 wrote...

edubey wrote...

Its not recommended to create project in Crxde, 

You should create in Eclipse and then deploy it to AEM, more ever  for sync you can use vaultclipse plugin available in eclipse.

Please see these article for recommended approaches

http://adobeaemclub.com/how-to-set-up-aem-projects-using-eclipse-plugin/

http://adobeaemclub.com/aem-eclipse-plugin-setup-tutorial/

 

Hi Praveen,

How are you? 

After sync with the eclipse, I am unable to create install folder. PFA screenshots. Do I need to create folder explicitly?

I have tried that also. After folder creation, I have gone to core folder and executed (mvn -PautoInstallPackage clean install) still not able to install any bundle inside install folder.

Pls help  me out.

Regards

Krishh

 

 

Hey I got it Praveen, I have gone to the parent pom.xml and executed same command. able to create install folder.

Thanks make.

Traduzir
edubey
Level 10
fev. 5, 2016 3:20 PM UTC

I m good,

Try manually manual creating install folder in crxde, and then take build from eclipse

Traduzir
Level 4
fev. 7, 2016 12:06 PM UTC

edubey wrote...

I m good,

Try manually manual creating install folder in crxde, and then take build from eclipse

 

Hi Praveen,

How to do reverse sync from crxde to eclipse. I have made some changes in crxde,I want to replicate those changes in eclipse.

How to achieve that?

pls help me out.

Regards

Krishh

Traduzir
edubey
Level 10
fev. 7, 2016 12:13 PM UTC

Install and configure this plugin in your eclipse: https://marketplace.eclipse.org/content/vaultclipse

Traduzir
Level 4
fev. 7, 2016 1:45 PM UTC

edubey wrote...

Install and configure this plugin in your eclipse: https://marketplace.eclipse.org/content/vaultclipse

 

Thank Praveen. Its working :). Hw s u r weekend? 

Traduzir
Level 4
fev. 8, 2016 7:01 AM UTC

Hi Praveen,

Need small help. When I import code from crxde to eclipse, I m getting compilation errors like (global.jsp referes to libs in crxde etc) . How to resolve those compilation errors?

Do I need to give any jar files in buildpath?

pls help me out.

Regards

Krishh

Traduzir
edubey
Level 10
fev. 8, 2016 7:05 AM UTC

can you share the error screenshot?

Traduzir
Level 4
fev. 8, 2016 7:45 AM UTC

Sorry forgot to attach.

And the folder structure in eclipse and crxde is different. i.e one of the reasons for compilation errors.

PFA.

Traduzir