Expand my Community achievements bar.

SOLVED

vlt export command.

Avatar

Level 1

I am trying to export a component created in crx/de under apps/myProject/components/testComponent to eclipse workspace under src/main/content/jcr_root/apps/myProject/components//testComponent. using below command.

vlt export http://localhost:4502/crx apps/myProject/components/testComponent   /apps/myProject.

and configured root in filter.xml as bleow.

<filter root="/apps/myProject" />

Its creating new folder structure jcr_root/apps/myProject/components/testComponent under src/main/content along with META-INF folder.

I just want to export the newly created testComponent in existing folder structure.. 

Please let me know what I am missing..

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,
 

Scott has already given you URL to see all the points.

If you want to export the newly created testComponent in existing folder structure in eclipse then you will have to first specified credentials.

so in the command line, navigate to your folder and type the command:

vlt --credentials admin:admin co --force http://localhost:4502/crx

Ex. if you have testComponent in apps/myProject/components/testComponent.

then navigate to ui.apps\src\main\content and type the above command which is in bold.

and then refresh the eclipse folder structure.

hope this helps you.

- Prince

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi,
 

Scott has already given you URL to see all the points.

If you want to export the newly created testComponent in existing folder structure in eclipse then you will have to first specified credentials.

so in the command line, navigate to your folder and type the command:

vlt --credentials admin:admin co --force http://localhost:4502/crx

Ex. if you have testComponent in apps/myProject/components/testComponent.

then navigate to ui.apps\src\main\content and type the above command which is in bold.

and then refresh the eclipse folder structure.

hope this helps you.

- Prince