Hi Danielo,

The environment variable can point to several plugin paths. 

I already have that pointing to a different location, and including more 
> than one means problems when switching between windows and linux.


Why. The environment variables have to be different anyway. In linux you 
must use ":" as seperator and in windows it's ";" ... I'm using both 
systems and have absolutely no problem. 
I'm using different paths in both systems. The environment variables are 
local to your system and not pushed to git .. So I don't see why it should 
cause problems. 

My setup looks like this: 

Windows: 
TW source: D:\git\tiddly\tiddlywiki\TiddlyWiki5

TIDDLYWIKI_PLUGIN_PATH: D:\git\tiddly\wikilabs\plugins
TIDDLYWIKI_EDITION_PATH: D:\git\tiddly\wikilabs\editions

eg: 
uni-link plugin : D:\git\tiddly\wikilabs\plugins\wikilabs\uni-link
                            plugin.info
                            \tiddlers


tiddlywiki.info for an edition that should use uni-link plugin see: 
https://github.com/wikilabs/editions/blob/master/uni-link/tiddlywiki.info

I also use a second edition for development: 
https://github.com/wikilabs/editions/blob/master/uni-link-server/tiddlywiki.info
  
which uses some TW and some more of my own plugins. 

I do have all my editions in one repo
I do have all my plugins in a different repo 

TiddlyWiki reads environment variables from left to right and uses the 
first path, where it finds the plugin or edition. Since you don't want to 
have duplicated soruces, that's the right way to go. .... 

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/4c5043a5-f2e3-4623-b714-cbaeb9673e9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to