How to install osgi bundle into crxde | Community
Skip to main content
Level 4
February 5, 2016
Solved

How to install osgi bundle into crxde

  • February 5, 2016
  • 12 replies
  • 2717 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

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 replies

edubey
edubeyAccepted solution
Level 10
February 5, 2016

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/

Level 4
February 5, 2016

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

Level 4
February 5, 2016

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.

edubey
Level 10
February 5, 2016

I m good,

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

Level 4
February 7, 2016

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

edubey
Level 10
February 7, 2016

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

Level 4
February 7, 2016

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? 

Level 4
February 8, 2016

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

edubey
Level 10
February 8, 2016

can you share the error screenshot?

Level 4
February 8, 2016

Sorry forgot to attach.

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

PFA.