orbinson / aem-groovy-console

The AEM Groovy Console provides an interface for running Groovy scripts in the AEM container. Scripts can be created to manipulate content in the JCR, call OSGi services, or execute arbitrary code using the CQ, Sling, or JCR APIs.
https://orbinson.github.io/aem-groovy-console/
Other
16 stars 3 forks source link

Load Script #54

Open stejan opened 2 months ago

stejan commented 2 months ago

Hi. If I install aem-groovy-console-all-19.0.5.zip and can now load all scripts from any place because of #29

What is the right place to put all files? Is it /conf/groovyconsole/scripts or should it still be /var/groovyconsole/scripts

What is the idea?

royteeuwen commented 2 months ago

Hey @stejan ,

The right place to be future-proof would be /conf/groovyconsole/scripts. This will work out-of-the-box when deploying in AEMaaCS.

Using /var has implications because replication is not possible OOTB without setting up extra permissions for the replication user

stejan commented 2 months ago

Ok Thank you very much. Then I will also move all files to the /conf but doesn't it make sense to change back the Load Scripts path to /conf/groovyconsole/scripts or make it configurable in OSGI?