I am trying to setup a development environment to use with scriptrunner.
Everything is working but I amtr ying to develop some web resource plugins that require the plugin.resource.directories parameter to be set.
I am launching atlas-run-standalone as follows
atlas-run-standalone --product jira --version 7.9.1 --jvmargs "-Dplugin.script.roots=C:\files\dev\jira\scripts-repository\src\main\resources -Dplugin.resource.directories=C:\files\dev\jira\scripts-repository\src\main\resources -DdisableJiraEmail=false -Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n"
However when inspecting the JVM Input Arguments it shows
-Dplugin.script.roots=C:\files\dev\jira\scripts-repository\src\main\resources -Dplugin.resource.directories=C:\files\dev\jira\scripts-repository\src\main\resources -DdisableJiraEmail=false -Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n -Xmx768m -Xms384m -XX:PermSize=48m -XX:MaxPermSize=128m -Dbaseurl=http://DESKTOP-7JECLGC:2990/jira -Dplugin.root.directories=c:\files\dev\jira\dev-inst\791\amps-standalone-jira-7.9.1 -Dcargo.servlet.uriencoding=UTF-8 -Dcom.atlassian.jira.startup.LauncherContextListener.SYNCHRONOUS=true -Dplugin.resource.directories= -Datlassian.dev.mode=true -Djava.awt.headless=true -Djira.home=c:/files/dev/jira/dev-inst/791/amps-standalone-jira-7.9.1/target/jira/home -Dcargo.datasource.datasource=cargo.datasource.url=jdbc:h2:file:c:/files/dev/jira/dev-inst/791/amps-standalone-jira-7.9.1/target/jira/home/database/h2db|cargo.datasource.driver=org.h2.Driver|cargo.datasource.username=sa|cargo.datasource.password=|cargo.datasource.jndi=jdbc/JiraDS -Datlassian.sdk.version=6.3.15 -Dcatalina.home=c:\files\dev\jira\dev-inst\791\amps-standalone-jira-7.9.1\target\container\tomcat8x\apache-tomcat-8.5.6 -Dcatalina.base=c:\files\dev\jira\dev-inst\791\amps-standalone-jira-7.9.1\target\container\tomcat8x\cargo-jira-home -Djava.io.tmpdir=c:\files\dev\jira\dev-inst\791\amps-standalone-jira-7.9.1\target\container\tomcat8x\cargo-jira-home/temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=c:\files\dev\jira\dev-inst\791\amps-standalone-jira-7.9.1\target\container\tomcat8x\cargo-jira-home/conf/logging.properties
Which indicates that it is being over written somewhere further down the launch process however I have sited other documentation that this should work.
Any ideas would be appreciated
You can set your -Dplugin.resource.directories via atlassian jira properties file.
To run that exe file you need to use cmd with command like below:
C:\Program Files\Atlassian\JIRA\bin>tomcat8w //ES//JIRASoftware170717004605
bold part is your jira service name, you can have it from services.
Then insert the line with your own custom path
-Dplugin.resource.directories=C:\Program Files\Atlassian\Application Data\JIRA\scripts
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.