Hi,
I am new to Adobe CQ now AEM, I have been struggling to implement a one shot install for an existing project but so far not been able to succeed.
This is what I have currently
Now what I expect to do is to cutdown this two step process to one. Can someone explain the steps in an easy to understand way.
Appreciate any replies!!!
Regards,
Neha
Solved! Go to Solution.
Views
Replies
Total Likes
Make jar part of install (/apps/<projectname>/install) directory in repository. Then create a package including jar file.
Views
Replies
Total Likes
Make jar part of install (/apps/<projectname>/install) directory in repository. Then create a package including jar file.
Views
Replies
Total Likes
Hi,
I would advice to switch over a full mavenized workflow. If you use the archtetypes as described in the documentation [1], it will create a structure, where the code (one or multiple bundles) are embedded into a content package. It's build in a way, that you can compile, build and deploy in a single step.
Jörg
Views
Replies
Total Likes
Hi,
I followed the same link but doing so only allows me to package my code in one bundle..based on what I understand.
How do I have four bundles in the multi mode project, where do i place the code files apart from the one already in place.
Am I doing something wrong??
Regards,
Neha
Views
Replies
Total Likes
Hi,
Thanks for a superb link, I actually have four bundles to package, how do i do that..?
Regards,
Neha
Views
Replies
Total Likes
Hi,
I followed a different approach could anybody validate this as this behave in an erratic way.
ERROR(This usually occurs when the bundles do not get installed properly.)
org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 8 in the generated java file
Only a type can be imported. org.apache.sling.hc.util.HealthCheckFilter resolves to a package
Can anybody help me understand whats happening here.
Views
Replies
Total Likes