
Jitendra S.Tomar wrote...
Hi All,
With all due respect, Package manager isn't easy to use. You have to build own module just like the AEM content packaging. And, I don't think this is a good idea.
@NoKSC,
I have a few questions.
Where do you create content nodes?. Is it in separate CRX?.Does your Java class not run OSGI Container?.
If Java classes are OSGI components & content nodes in a separate CRX, Then I think, you are looking for content migration from one system to another without creating content nodes again.
If Above assumptions are correct, Use Curl which is the easiest way to migrate content from one system to another. Curl command can be executed through Java process.
Let me know if this make sense to you.
---
Jitendra
Thanks Jitendra. I've created a package in package manager manually and I downloaded that package. Once I extract it, I get the file system structure (jcr:root and META-INF folders) and I am creating the nodes inside this structure (jcr_root\content\test\en). So I can zip these and deploy the package back to AEM after I create the content nodes.
My java classes are stand alone and does not run on OSGI container. I have lone simple main method and once I run this method, it will create all the content nodes.
Please let me know if you have any questions.