Hello all,
My problem statement is that I am developing site and components from eclipse and I have also synced my eclipse with CRX-DE but when I am doing Import from server in eclipse some of my templates and pages getting missed out and due to that i have to create templates and pages again from the scratch.
Please, help me with this.
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
This is the filter.xml where you would want to validate configurations.
Refer - Jackrabbit Filevault - Workspace Filter
The filter element can have an optional mode attribute which specified the import mode used when importing content. the following values are possible:
Import from server would sync the /crx/de contents to local filesystem/eclipse and
Export to server would do the vice versa
If you modify something in eclipse which is not present in /crx/de then you should perform 'Export to server'. In this case, if you do import from server, then you local eclipse changes that are not yet synced would get deleted from filesystem/eclipse.
If you modify something in /crx/de which is not present in eclipse/filesystem then you should perform 'Import to server'.
Views
Replies
Total Likes
check the filter.xml and /vault/definition/.content.xml for missing paths/references?
could you share the relevant logs from Eclipse AEM developer tools console?
Views
Replies
Total Likes
Thank you for the response but can you please tell me which filter.xml I should refer because I have found 4 to 5 filter.xml files.
Views
Replies
Total Likes
check the one which is sibling to 'definition' folder or child of 'vault' folder where you observe the issue either in /apps or /content.
Views
Replies
Total Likes
Yes It has a valid path .
can you tell me which is the best practice to keep your crx and eclipse in sync..
I mean we have creating components from eclipse and we are creating templates and pages from front-ends.
so which step I need to do first
should I import from server first or should i export from eclipse?
Views
Replies
Total Likes
This is the filter.xml where you would want to validate configurations.
Refer - Jackrabbit Filevault - Workspace Filter
The filter element can have an optional mode attribute which specified the import mode used when importing content. the following values are possible:
Import from server would sync the /crx/de contents to local filesystem/eclipse and
Export to server would do the vice versa
If you modify something in eclipse which is not present in /crx/de then you should perform 'Export to server'. In this case, if you do import from server, then you local eclipse changes that are not yet synced would get deleted from filesystem/eclipse.
If you modify something in /crx/de which is not present in eclipse/filesystem then you should perform 'Import to server'.
Views
Replies
Total Likes
Thank you so much. :-)
Views
Replies
Total Likes
Views
Likes
Replies