Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Specifying path for crx folder during startup

Avatar

Level 3

We are using a script to startup AEM using the standard java -jar .jar command. The script is located on a different path than the cq jar itself. Because of this, when the cmd is run, the crx-quickstart folder is created in the folder where script is located and not where the jar is. We want the crx folder to be created in the jar path. Anyway to achieve this? Because of certain limitations, we can't place the script file elsewhere.

2 Replies

Avatar

Level 10

I have never read anything that suggest that can be done like this. As you see - the default is where the script is located.

Avatar

Community Advisor

Hi,

I am assuming you have .bat script and in this script is placed C:\dir1\path1\script.bat and your jar is located at C:\dir2\dir3\cq-jar.jar

If your script is running from C:\dir1\path1\ path cq-quickstart folder will be created here but if you'll run your script from C:\dir2\dir3\ path, cq-quickstart folder will be created at C:\dir2\dir3\.

cd C:\dir2\dir3\

C:\dir2\dir3 > C:\dir1\path1\script.bat

this is just for reference, you may try to execute script from cq-jar folder, if helps.

Thanks

Arun