AEM + Filevault + Intellij集成 [英] AEM+Filevault+Intellij integration

查看:182
本文介绍了AEM + Filevault + Intellij集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用filevault将crx映射到本地文件系统的AEM 6.2。我也在svn中为ui.apps提供了我的代码,它位于intellij中。

I am working on AEM 6.2 with crx mapped to local file system using filevault. I also have my code in svn for ui.apps which is in intellij.

问题:如果我更改任何组件对话框,首先我需要将我的crx与本地文件系统同步,然后将更改从文件系统复制到svn文件夹。

Problem: If i change any component dialog, first i need to sync my crx with local file system and then copy changes from file system to svn folder.

我尝试使用vlt命令集成intellij但获取消息

I tried to integrate intellij using vlt commands but getting message


文件受版本控制

File is under version control

有没有办法可以将所有三个组合在一起,所以从IDE我可以更新代码库?

Is there a way i can club all three together so from IDE i can update code repository?

推荐答案

您可以使用 IntelliVault 插件将内容推送到CRX或从CRX中提取内容。

You can use the IntelliVault plugin to push content to or pull it from CRX.

在这样的设置中,CRX的实际位置并不重要。您可以在版本控制下保留一组文件,IDE插件允许您随时向/从CRX推送/拉出。它使用引擎盖下的Vault命令行工具。

In such a setup it doesn't matter where your CRX actually sits. You keep a set of files under version control and the IDE plugin allows you to push/pull to/from CRX whenever you want to. It uses the Vault command line tool under the hood.

这可能不是你所问的,但它对我有用。

It's probably not exactly what you're asking about but it works for me.

另一种选择是使用 AEM Sync 命令行。这是一个Node包,可用于监听文件更改。让它在后台运行,您在IDE中所做的更改将自动反映在AEM中。注意大的变化,比如切换Git分支。如果您在AEM同步运行时碰巧更改了大量文件,这些可能会导致AEM同步并可能干扰AEM本身。

Another option is to use AEM Sync from the command line. It's a Node package that you can use to listen to file changes. Have it running in the background and changes you make in your IDE will be automatically reflected in AEM. Be careful about large changes such as switching Git branches. These can kill AEM Sync and potentially interfere with AEM itself if you happen to change a very large number of files while AEM Sync is running.

这篇关于AEM + Filevault + Intellij集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆