Expand my Community achievements bar.

SOLVED

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

Avatar

Level 9

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.

1 Accepted Solution

Avatar

Correct answer by
Level 8

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>

View solution in original post

3 Replies

Avatar

Level 10

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.

Avatar

Correct answer by
Level 8

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>

Avatar

Level 9

Hi Hemant/Ratna,

Thank you for your replies.