Nicklas Nordborg wrote:
> > Can you tell me how to create the appropriate file objects when the files
> > are here and not connected to the base datbaase?
> 
> This is not possible. The plugin expects net.sf.basedb.core.File objects
> not java.io.File object. And you can't work with XxxxData (FileData,
> SpotImagesData) objects. These are only used internally in BASE. You
> must use the corresponding objects from the net.sf.basedb.core package
> (File, SpotImages, etc.)
 
Can you please tell me the best way to do that? I've been looking through
the plugin and test code and I'm mystified.
 
I've uploaded the files into the BASE2 directory Root/chad/13298608_532.tif
and Root/chad/images/13298608_635.tif.
 
Somehow, I need to build a connection to the BASE2 server running on the
host base2server' using the base2 username 'chad' and some password. Then I
need to get a reference to those files and pass it to the spot finder.
 
Is there some documentation I can read or can you give me some example code?

I tried to mimic the 'ExampleAnalyzer.java' class but I think it's designed
to work in the gui. I'm now trying to mimic the migrator because it runs on
the commandline. I see that it reads a base.config so I started by copying
the base.config from the server named base2server.

I think I'm on the wrong track because I need to connect to a running base2
server to ask for the files. Is this the case?

 
Thank you!
 
Chad Matsalla
Plant Biotechnology Institute



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
The BASE general discussion mailing list
[EMAIL PROTECTED]
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]

Reply via email to