Optional timestamp printing
Closed this issue · 5 comments
I would like to have an optional switch for AEM package deployment.
So that I can add to my <user>.gradle/gradle.properties
file something like: aem.package.deploy.showTimestamp
.
So when I get back from coffee or a call I can have a look at my console and know when I ran deployment last time.
There is already such feature. Check out instanceStatus task. It contains time when each package was last installed / deployed
My output does not contain this information:
> Task :instanceStatus
Instance 'local-author'
URL: http://localhost:4502
Version: 6.4.8.0 (on-prem)
Status: Running
Debug port: 14502
Process ID: 15996
State check: Passed
Run path: C:\Users\......\instance\author
Run modes: s7connect,crx3,nosamplecontent,author,local,crx3tar
Time zone: Europe/Belgrade (GMT+01:00)
Operating system: Windows 10 amd64 (10.0)
Java: OpenJDK 64-Bit Server VM (1.8.0_275)
Packages installed:
<pck-name>-1.0.0-SNAPSHOT.zip | not built
You mean about packages? Sometimes it need to be configured additionally when GAP is used only to setup instances. Not to build packages. However in that case I could instruct you how do add that info...
My idea was to have smth like this:
So when I get distracted and then I come back I know when I last built my project. (so I don't have to guess did I deployed recently or not)
This could be probably done by a custom Task but I'm not sure how to set it up so it is executed at the very end of the build.
sorry, misunderstood. it is a rather missing Gradle feature however I have a place for such improvement.
and to be honest, I will also appreciate such feature. I will consider adding it to https://github.com/Cognifide/gradle-common-plugin when I will have some time. thanks!