Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

p1hampi
Level 2
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
asutosh_jena
Correct answer by
Community Advisor
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

5 Replies
asutosh_jena
Correct answer by
Community Advisor
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

asutosh_jena
Community Advisor
Community Advisor

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

p1hampi
Level 2
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.  

asutosh_jena
Community Advisor
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.

Raushan
Level 2
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.