I'm trying to add the p4java jar into my Jira instance so I can access our perforce server. I've seen in some documentation that I should just drop it into the WEB-INF/lib folder. Doing this however causes some plugins to fail on launch, mostly the basic built in looking plugins.
Am I misunderstanding where I need to drop this Jar?
Thanks in advance
Groovy supports importing content dynamically using grapes
So a quick search, I saw that p4java is available here
https://mvnrepository.com/artifact/com.perforce/p4java/2019.1.1822775
So you can just call it like this in your script:
@Grapes(
@Grab(group='com.perforce', module='p4java', version='2019.1.1822775')
)
import com.perforce.p4java.*
Thanks, this is exactly what I needed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline 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.