Skip to main content
Level 9
Apr 22, 2016 5:22 AM UTC
Solved

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

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.
Hemant_arora
Hemant_aroraAccepted solution
Level 8
Apr 22, 2016 10:39 AM UTC

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

Ratna_Kumar
Level 10
Apr 22, 2016 9:07 AM UTC

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.

Translate
Hemant_arora
Hemant_aroraAccepted solution
Level 8
Apr 22, 2016 10:39 AM UTC

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>

Translate
askdctmAuthor
Level 9
Apr 26, 2016 7:17 AM UTC

Hi Hemant/Ratna,

Thank you for your replies.

Translate