TWCable / cq-gradle-plugin

DEPRECATED: A number of plugins for making it easier to work with Gradle and Adobe CQ/AEM
Apache License 2.0
19 stars 6 forks source link

Made createPackage.contentSrc more flexible #26

Closed jdigger closed 9 years ago

jdigger commented 9 years ago

Setting contentSrc on createPackage now works more as you would expect.

Added better logging for installation.

jdigger commented 9 years ago

@sikarwarvimal @jazeren1 Can you please review?

sikarwarvimal commented 9 years ago

@jdigger the changes are not working as expected. Below are the details.

Correct Packaging: image

Current Packaging: After setting the content root path as createPackage.contentSrc = project.file("src/main")

image

sikarwarvimal commented 9 years ago

I think the project should follow the AEM convention for content folder and root folder should start with jcr_root in that case the current changes would be fine?

sikarwarvimal commented 9 years ago

@jdigger version number change?

jdigger commented 9 years ago

Version numbers change in their own commit, along with RELEASE_NOTES.md updates, etc.

jdigger commented 9 years ago

After setting createPackage.contentSrc = project.file("src/main") it should move what is in that directory into the zip. Are you sure the structure you're testing against has jcr_root under src/main?

sikarwarvimal commented 9 years ago

+1 CR and testing.