twcable / gradle-plugin-cq-bundle Goto Github PK
View Code? Open in Web Editor NEWGradle plugins for working with OSGi bundles in Adobe CQ/AEM
License: Apache License 2.0
Gradle plugins for working with OSGi bundles in Adobe CQ/AEM
License: Apache License 2.0
SlingSupport
, SlingServerConfigurations
, etc. are not bundle-specific and are shared with the -package project. They should be moved into their own library/project.
Right now "uninstallBundles" simply uninstalls the bundles in the order it "discovers" them, which is effectively alphabetical. Unfortunately that can also effectively be the opposite order that they should be uninstalled.
It should ask each bundle what other bundles depend on them (or what other bundles it depends on) and build a dependency graph so that it can uninstall from "least connected" to "most connected".
Hello,
Please publish your plugin to the official Gradle plugin repository. I'm sure it will increase adoption and usage.
It's quite simple to do: https://plugins.gradle.org/docs/submit
Thanks,
Change from computing the symbolic name with OsgiHelper.getBundleSymbolicName(Project)
when it's not set explicitly on the object, to first asking the jar's manifest if it's been set in there.
Currently in SlingServersConfiguration.groovy
, the method defaultServers()
uses hard coded values for an local author and publish server. This should be updated to try to pull from the system's environment variables if they are configured.
For Ex.
Could have following environment vars set:
AEM_AUTHOR_MACHINENAME
AEM_AUTHOR_PORT
AEM_AUTHOR_PROTOCOL
AEM_AUTHOR_USERNAME
AEM_AUTHOR_PASSWORD
AEM_PUBLISH_MACHINENAME
AEM_PUBLISH_PORT
AEM_PUBLISH_PROTOCOL
AEM_PUBLISH_USERNAME
AEM_PUBLISH_PASSWORD
The method should try to set values based on the environment variables if they are set. If not then fall back to the hardcoded standard OOTB values.
Right now SlingServersConfiguration
is created for each project, which means that information added by one project (such as publish not being available) has to be "rediscovered" by all the other projects.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.