Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Recompiling Groovy files from a script plugin

Gauthier Gaukel August 3, 2023

Hello there,

I have a JAR file from a scriptrunner script plugin and I want to make changes. Now I have the problem that I have to compile the changed file to get the .class file. The problem is, that of course I don't have the classes from the imports and get from groovyc a bunch of errors.

I hope someone can help me.
Thanks in advance

1 answer

1 accepted

0 votes
Answer accepted
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
August 3, 2023

Hi @Gauthier Gaukel

From what you have mentioned, it seems that you are trying to build a Jar file with ScriptRunner as a reference library.

If you want to build this, I suggest looking into the scriptrunner-samples and using the Atlassian SDK.

I hope this helps to solve your question. :-)

Thank you and Kind regards,
Ram

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.6
TAGS
AUG Leaders

Atlassian Community Events