Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
5 subscribers
Views
2887 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Appian 17.1 Plugin common libraries
thanosm
over 7 years ago
Hello all,
We're setting up new Appian 17.1 installation for development and i would like to know if it's possible to develop java libraries with common functionality for a number of plugins by loading these common java libraries through the Appian.ear lib folder instead of having to add the same java library to each and every plugin separately.
Regards,
Thanos Michos
OriginalPostID-262983
Discussion posts and replies are publicly visible
0
Jim Schweitzer
Certified Lead Developer
over 7 years ago
I would just add externalize the reference to the appian jars in the classpath, then you don't have to bundle it with the plugin jar. It'll just use the libs that are present on the target system
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
thanosm
over 7 years ago
How would you go about doing that? In previous versions i have not been able to accomplish that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jim Schweitzer
Certified Lead Developer
over 7 years ago
I just have a separate common location where I keep the appian jars on the dev machine (could be an appian install folder, or just a copy). They just use "Add External Jars" to point to that common location in configure build path in eclipse.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
thanosm
over 7 years ago
Thanks for that info! I take it that Appian still does not allow the use of Jars from its Appian.ear\\lib folder by custom plugins.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eliot Gerson
Appian Employee
over 7 years ago
@thanosm, as stated in the documentation, "only use Appian's public Java API to invoke Appian functionality" in plugins. You can find the public API here:
docs.appian.com/.../
. As long as you adhere to the guidelines in the documentation, you should be fine.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel