Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
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

Level 10

Here is the docs on this:

https://docs.adobe.com/docs/en/crx/2-3/how_to/how_to_use_the_vlttool.html#Export

all of the commands and parameters are listed. 

Avatar

Level 10

Also - see this article where it uses vlt to sync code between the JCR and eclipse: 

https://helpx.adobe.com/experience-manager/using/creating-aem-project-using-eclipse.html

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