vlt export command. | Community
Skip to main content
New Participant
January 16, 2017
Solved

vlt export command.

  • January 16, 2017
  • 3 replies
  • 1615 views

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..

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 Prince_Shivhare

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

3 replies

Prince_Shivhare
Prince_ShivhareAccepted solution
New Participant
January 16, 2017

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

smacdonald2008
New Participant
January 16, 2017

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

smacdonald2008
New Participant
January 16, 2017

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.