SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-24-2010, 08:38 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Question SageTV V7 plugins and classpaths

If I have two sageTV plugins and one needs commons lang V1.0 library JAR and another commons lang V2.0 linrary JAR.....

...both plugins will either get V1.0 or V2.0 and so one plugin will not get the version it needs.

To put it another way - each V7 plugin and sageTV all share the same java classpath right?

It probably makes no difference if the plugins state their dependencies - the class path is the class path.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #2  
Old 06-24-2010, 09:06 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by michaeldjcox View Post
If I have two sageTV plugins and one needs commons lang V1.0 library JAR and another commons lang V2.0 linrary JAR.....

...both plugins will either get V1.0 or V2.0 and so one plugin will not get the version it needs.

To put it another way - each V7 plugin and sageTV all share the same java classpath right?

It probably makes no difference if the plugins state their dependencies - the class path is the class path.

Michael
Actually that is why you define a min version in your manifest. Most avoid defining a max version unless they absolutely know that a newer version doesn't work. In most cases it will unless there was a major api change. So yes stating dependencies does matter as long as the manifest is correct for plugins you should be fine.

In you example if one plugin had a min version of 1.0 and another had a min version of 2.0 2.0 would be used for both versions.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV Graph Plugins babgvant SageTV v7 Customizations 15 08-27-2010 01:15 AM
Plugins, SageTV and UAC in vista/win7 michaeldjcox SageTV Customizations 1 11-22-2009 05:54 AM
Can SageTV Linux use same plugins as SageTV XP Windows? TechBill SageTV Linux 3 10-02-2007 12:59 AM
do older plugins work with sagetv 4.0 ? georges Hardware Support 1 01-31-2006 10:12 AM


All times are GMT -6. The time now is 07:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.