Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Any suitable IntelliJ Idea Plugin for AEM to push and pull from JCR

Avatar

Level 2

Hi Everyone, 

Hope you all are doing good and safe.

I want to push and pull from IntelliJ idea to JCR and vice versa.

I am using below configuration, IntelliJ Idea community edition 2021.1, JDK 11.0.9, Maven 3.6.3, Windows 10. I have gone through Repo tool  and  IntelliVault documents but no luck.

In 1st Repo tool URL, Configuration for Windows is not so elaborative. Do I need to downgrade the configuration mentioned ? As IntelliVault is deprecated in current mentioned IntelliJ version. Can you please provide solution. Do let me know if you need more details regarding this.

Thanks in advance. 

Regards,

Pavan 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @p1hampi 

 

This does not work with IntelliJ 2021 version. You need to downgrade to 2019.2 version and it will work.

 

Download the vault-cli jar from here: https://repo1.maven.org/maven2/org/apache/jackrabbit/vault/vault-cli/

Preferably https://repo1.maven.org/maven2/org/apache/jackrabbit/vault/vault-cli/3.2.8/vault-cli-3.2.8-bin.zip 

Extract it and keep it somewhere in the file system based on OS (Windows you can keep it in C drive, for Mac you can keep it under /User/username/Applications

 

Now download the intellivault plugin from https://plugins.jetbrains.com/plugin/download?rel=true&updateId=44439 and install it manually in intellij 2019.2 version.

Navigate to IntellijIdea -> Plugins -> Settings -> Install Plugin from disk

Restart the Application.

 

Now Navigate to intellivault settings in Intellij Application and configure the Vault directory:

The path will be absolute path to your bin folder where you kept the extracted vault application.

asutosh_jena_0-1621224027422.png

This should enable the pull/push from CRX using Intellij Idea.

 

Right click on the folder which you want to pull/push in code base and you will be able to see the below options.

asutosh_jena_1-1621224212268.png

 

https://plugins.jetbrains.com/plugin/7328-intellivault

https://github.com/shsteimer/IntelliVault

 

Steps to setup:

https://medium.com/@darakhshansheikh/integrate-aem-crx-repository-with-intellij-using-intellivault-p...

 

Thanks!

 

View solution in original post

7 Replies

Avatar

Correct answer by
Community Advisor

Hi @p1hampi 

 

This does not work with IntelliJ 2021 version. You need to downgrade to 2019.2 version and it will work.

 

Download the vault-cli jar from here: https://repo1.maven.org/maven2/org/apache/jackrabbit/vault/vault-cli/

Preferably https://repo1.maven.org/maven2/org/apache/jackrabbit/vault/vault-cli/3.2.8/vault-cli-3.2.8-bin.zip 

Extract it and keep it somewhere in the file system based on OS (Windows you can keep it in C drive, for Mac you can keep it under /User/username/Applications

 

Now download the intellivault plugin from https://plugins.jetbrains.com/plugin/download?rel=true&updateId=44439 and install it manually in intellij 2019.2 version.

Navigate to IntellijIdea -> Plugins -> Settings -> Install Plugin from disk

Restart the Application.

 

Now Navigate to intellivault settings in Intellij Application and configure the Vault directory:

The path will be absolute path to your bin folder where you kept the extracted vault application.

asutosh_jena_0-1621224027422.png

This should enable the pull/push from CRX using Intellij Idea.

 

Right click on the folder which you want to pull/push in code base and you will be able to see the below options.

asutosh_jena_1-1621224212268.png

 

https://plugins.jetbrains.com/plugin/7328-intellivault

https://github.com/shsteimer/IntelliVault

 

Steps to setup:

https://medium.com/@darakhshansheikh/integrate-aem-crx-repository-with-intellij-using-intellivault-p...

 

Thanks!

 

Avatar

Community Advisor

@p1hampi Let me know if the above steps did not work for you.

Avatar

Level 2

@Asutosh_Jena_, Thanks for the solution provided . It is working fine after downgrading of IntelliJ IDE and upgrading vault-cli as you mentioned. Apart from this, can you please tell me why upgraded version of IDE not supporting plugins? It would be great to know as most software providers suggesting to upgrade/ use updated version for more ease of coding.  

Avatar

Community Advisor

@p1hampi I see it's deprecated. Might the owner/developer is panning to come up with any new tool or somekind of any other approach.

https://plugins.jetbrains.com/plugin/7328-intellivault

 

Also it's removed from market place for Intellij.

Avatar

Level 2

it won't work in IntelliJ 2021, you have to downgrade. you can use IntelliJ vault and one more suggestion while pulling from the vault, before pushing code to git you will see lots of unnecessary property like

jcr:created by, jcr:lastmodified  to clean that you can use crx cleaner plugin it will remove this node from dialog.xml. 

Avatar

Level 1

You can use e AEM Repo Tool and configure external commands using this guide.

 

NOTE: If you are using windows, remember to set "$UnixSeparators($FilePath$)$" in repo command in order to make it work.

 

If you are aiming for a paid good solution you can use AEM IDE.

Avatar

Level 1

You can use e AEM Repo Tool and configure external commands using this guide.

 

NOTE: If you are using windows, remember to set "$UnixSeparators($FilePath$)$" in repo command in order to make it work.

 

If you are aiming for a paid good solution you can use AEM IDE.