Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Development (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=8)
-   -   Code completion with loaded Java Libraries (http://www.mirthcorp.com/community/forums/showthread.php?t=218021)

jboggs 02-22-2018 01:23 PM

Code completion with loaded Java Libraries
Is there anyway to have the code completion dialog show for custom java libraries? If not, does anyone have any suggestions on how make using java libraries easier? The only thing I could think of was to create code templates with the same signature as the java classes. I'd appreciate any advise :)

narupley 02-22-2018 02:18 PM

Technically yes, the Administrator client will search for any JARs on the classpath ending in "userutil-sources.jar", and automatically parse through the Java source files within to add them to the auto-completion dialog. Note that JARs on the client-side should be signed with a proper CA cert.

jboggs 02-26-2018 09:11 AM

I'm sorry, This might be a dumb question, But would that mean recompiling my jar files after specifying the classpath to be userutil-sources.jar? I've never dealt with Classpaths so my understanding is limited.

kaktus 01-07-2019 04:56 AM

How to sign the jar?
I tried to add my jar to the code completion but unfortunately it didnīt work.
I tried following steps:
1. Compiled my jar file new
2. Renamed it to "myJar_userutil-source.jar"
3. Signed it with a self created certificate (Maybe this is the problem? )
4. Copied the file to ...\Mirth Connect\client-lib
5. Stopped and restarted Mirth Service and load the Administrator new from the Server Manager

When the Administrator starts I get an error:
JAR - Ressourcen in JNLP-File are not signed by same certificate

Does this error occurs because of my self signed certificate?
Or do I have another problem?

All times are GMT -8. The time now is 07:27 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation