Is there a way we can import OOTB components into eclipse. | Community
Skip to main content
New Participant
April 22, 2016
Solved

Is there a way we can import OOTB components into eclipse.

  • April 22, 2016
  • 3 replies
  • 1553 views

Hi All,

Currently in our project[i.e, in the eclipse setup], we have our custom components with no OOTB ones. Is there a way we can get OOTB ones from CRXDE into our eclipse.?

Any thoughts on this will be helpful.

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 Hemant_arora

You can also use VLT tool to directly export/checkout the OOTB component in your workspace

vlt --credentials admin:admin co http://localhost:4502/crx/server/jcr%3aroot/<PATH OF COMPONENT> <PATH OF ECLIPSE WORKSPACE>

3 replies

askdctmAuthor
New Participant
April 26, 2016

Hi Hemant/Ratna,

Thank you for your replies.

Hemant_arora
Hemant_aroraAccepted solution
New Participant
April 22, 2016

You can also use VLT tool to directly export/checkout the OOTB component in your workspace

vlt --credentials admin:admin co http://localhost:4502/crx/server/jcr%3aroot/<PATH OF COMPONENT> <PATH OF ECLIPSE WORKSPACE>

Ratna_Kumar
New Participant
April 22, 2016

Hi,

Make sure you give the exact path in the project, filter.xml file. Like for example

<workspaceFilter version="1.0"> <filter root="/libs/foundation"> <include pattern="/libs/foundation/components/(.*)?" /> </filter> </workspaceFilter>

And after that, you need to build the project and do vault up from CRXDE Lite to eclipse. Then all the components will be available in eclipse.

Hope this helps!

Thanks,
Ratna Kumar.