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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

naveed_syed
naveed_syed
Offline

Badges

Badges
7

Accepted Solutions

Accepted Solutions
1

Likes

Likes
0

Posts

Posts
9

Discussions

Discussions
0

Questions

Questions
9

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by naveed_syed
Customize the badges you want to showcase on your profile
Re: Reading File Names from JCR repository
Avatar
Ignite 3
Level 2
naveed_syed
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
naveed_syed
- Adobe Experience Manager
Thanks for your response. I understood that service written is not able to read files from the JCR path. In my service there is simple java code of reading files from the folder in this manner:File folder = new File(" PATH TO THE JCR"); File[] listOfFiles = folder.listFiles(); System.out.println("Folder files :: "+listOfFiles); ArrayList fragmentList = new ArrayList(); for (int i = 0; i < listOfFiles.length; i++) { if (listOfFiles[i].isFile()) { String fileName = listOfFiles[i].getName();I presu...

Views

649

Likes

0

Replies

0
Reading File Names from JCR repository
Avatar
Ignite 3
Level 2
naveed_syed
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
naveed_syed
- Adobe Experience Manager
I am trying to read file names from a path in JCR repository.My component jsp is as follows:<%@include file="/libs/foundation/global.jsp"%><%@ page import="java.util.ArrayList" %><%= properties.get("title", currentPage.getTitle()) %><% com.cts.gto.dex.ListFragments FragmentsList = sling.getService(com.cts.gto.dex.ListFragments.class); ArrayList myList = FragmentsList.getList("//apps//DexScraper//fragments") ; String fragname = myList.get(0); System.out.println("Fragment Name is::"+fragname);%> B...

Views

2.5K

Likes

0

Replies

5
Re: Maven is throwing build error although repository is configured
Avatar
Ignite 3
Level 2
naveed_syed
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
naveed_syed
- Adobe Experience Manager
The issue is finally resolved. The problem is not with the version of maven.Here is the solution:Go to content folder of your project. Open up the pom.xml from content. In the plugins for group id: com.day.jcr.vault change the filter source to filter.xmlsrc/main/content/META-INF/vault/filter.xmlThis will resolve the issue.Thanks all.

Views

4.9K

Likes

0

Replies

0
Re: Maven is throwing build error although repository is configured
Avatar
Ignite 3
Level 2
naveed_syed
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
naveed_syed
- Adobe Experience Manager
Please find POM.xml for your reference: 4.0.0 com.adobe.cq key 1.0-SNAPSHOT pom Custom AEM Service - Reactor Project Maven Multimodule project for Custom AEM Service. localhost 4502 org.apache.felix maven-scr-plugin 1.7.4 org.apache.felix maven-bundle-plugin 2.3.6 org.apache.maven.plugins maven-compiler-plugin org.apache.maven.plugins maven-resources-plugin 2.5 org.apache.sling maven-sling-plugin 2.0.6 com.day.jcr.vault content-package-maven-plugin 0.0.20 org.eclipse.m...

Views

4.9K

Likes

0

Replies

0
Re: Maven is throwing build error although repository is configured
Avatar
Ignite 3
Level 2
naveed_syed
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
naveed_syed
- Adobe Experience Manager
@Ahmed Now I get different error message after following your steps:D:\Dex\Key\key>mvn eclipse:eclipse[INFO] Scanning for projects...[WARNING] The POM for com.day.jcr.vault:content-package-maven-plugin:jar:0.0.14is missing, no dependency information available[ERROR] The build could not read 1 project -> [Help 1][ERROR][ERROR] The project com.adobe.cq:key-content:1.0-SNAPSHOT (D:\Dex\Key\key\content\pom.xml) has 2 errors[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-packa...

Views

4.9K

Likes

0

Replies

0
Re: Maven is throwing build error although repository is configured
Avatar
Ignite 3
Level 2
naveed_syed
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
naveed_syed
- Adobe Experience Manager
Maven repository configuration is in place but still am getting the error.And this is where from I am building the maven project. In the same path POM is present.D:\Dex\Key\key>mvn eclipse:eclipse[INFO] Scanning for projects...Please find the screen prints attached for the same.

Views

4.9K

Likes

0

Replies

0
Maven is throwing build error although repository is configured
Avatar
Ignite 3
Level 2
naveed_syed
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
naveed_syed
- Adobe Experience Manager
hi, im trying to follow this tutorial to create a basic AEM servicehttp://helpx.adobe.com/experience-manager/using/first-osgi.htmlin the section Create an Adobe CQ archetype project im getting an error when i try to run the command:mvn eclipse:eclipse im getting this error:D:\Dex\Key\key>mvn eclipse:eclipse[INFO] Scanning for projects...Downloading: http://repo1.maven.org/maven2/com/day/jcr/vault/content-package-maven-plugin/0.0.20/content-package-maven-plugin-0.0.20.pom[WARNING] The POM for com...

Views

7.5K

Likes

0

Replies

7
Exception handling through custom components
Avatar
Ignite 3
Level 2
naveed_syed
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
naveed_syed
- Adobe LiveCycle
Please let me know if there is any info about handling exceptions using custom components? Please share if any sample references are available.Many Thanks.

Views

280

Likes

0

Replies

0
Re: Error using RenderPDFForm service from within Workbench
Avatar
Ignite 3
Level 2
naveed_syed
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
naveed_syed
- Adobe LiveCycle
There could be some variable that is set as Output parameter but is not used in the process then in those cases this error is seen

Views

191

Likes

0

Replies

0