Hi,
On the Windows platform, can you configure ImageJ to look for plugins in multiple folders? How do you do it? I can change the plugins folder by adding the following to ImageJ.cfg: -Dplugins.dir=H:\plugins -cp ij.jar ij.ImageJ and that works. But if I include another folder: -Dplugins.dir=C:\Program Files\ImageJ\plugins;H:\plugins -cp ij.jar ij.ImageJ Then I get an error that ImageJ can't find the main class. I thought the space between "Program" and "Files" might be an issue so I tried -Dplugins.dir=C:\Program/Files\ImageJ\plugins;H:\plugins -cp ij.jar ij.ImageJ But then I see no plugins at all. I also tried quotes, but then it does not launch at all. Does anyone have any suggestions? Thanks! Jennifer |
Hi,
On Tue, 22 Jan 2008, Jennifer West wrote: > On the Windows platform, can you configure ImageJ to look for plugins in > multiple folders? No. ImageJ only supports one plugin folder. Hth, Dscho |
Correction to what I write below:
There is a utility called NTFS links that can create NTS soft links and this way you could even "mount" another drive in a subdirectory of the plugins folder! (Did not try it myself!) http://alax.info/blog/ntfslinks Hi there, at least under an unix-ish operating system/file system there is no real problem to set a (soft/hard) link so that the 2nd directory would appear and behave as a subdirectory of the regular plugins folder. Interestingly, NTFS has a "hard link" support too, but there seems to be no GUI or command line support. Also it seems - in contrast to unix filesystem - that NTFS hard linking only works within ONE filesystem, not accross any of the mounted filesystems as with Unix. http://www.flexhex.com/docs/articles/hard-links.phtml Mit freundlichen Grüßen / Best regards Joachim Wesner ____________________________________________ Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht Wetzlar HRB 2432 Geschäftsführer: Dr. Stefan Träger | Dr. Wolf-Otto Reuter | Dr. David Roy Martyr | Colin Davis Johannes Schindelin <Johannes.Schinde An [hidden email]> [hidden email] Gesendet von: Kopie ImageJ Interest Group Thema <[hidden email]. multiple plugin folders, was Re: GOV> changing the location of the plugins folder 23.01.2008 13:54 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Hi, On Tue, 22 Jan 2008, Jennifer West wrote: > On the Windows platform, can you configure ImageJ to look for plugins in > multiple folders? No. ImageJ only supports one plugin folder. Hth, Dscho ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |
In reply to this post by Jennifer West
Hi Jennifer,
I just tested the probable solution on Windows using "NTFSlink" I suggested, it seems as long as your other drive is another harddrive with NTFS it works great, (created another directoy on a second drive, copied some plugins there, linke dthis directory into the IJ plugins directory with NTFS link and restarted IJ and the new directory appears in the plugin list and I can start these plugins). However, it probably wil not work if your H:\ is a network drive (in my cases of a drive mounted from a Samba/Linux server I cannot set a NTFS hardlink)! Maybe this helps Sincerely Joachim Jennifer West <[hidden email] OBA.CA> An Gesendet von: [hidden email] ImageJ Interest Kopie Group <[hidden email]. Thema GOV> changing the location of the plugins folder 22.01.2008 23:30 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Hi, On the Windows platform, can you configure ImageJ to look for plugins in multiple folders? How do you do it? I can change the plugins folder by adding the following to ImageJ.cfg: -Dplugins.dir=H:\plugins -cp ij.jar ij.ImageJ and that works. But if I include another folder: -Dplugins.dir=C:\Program Files\ImageJ\plugins;H:\plugins -cp ij.jar ij.ImageJ Then I get an error that ImageJ can't find the main class. I thought the space between "Program" and "Files" might be an issue so I tried -Dplugins.dir=C:\Program/Files\ImageJ\plugins;H:\plugins -cp ij.jar ij.ImageJ But then I see no plugins at all. I also tried quotes, but then it does not launch at all. Does anyone have any suggestions? Thanks! Jennifer ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |
Free forum by Nabble | Edit this page |