Sorry I didn't chime in sooner. Let me see if I can clear this up.
Basically, the plugin sees only files: c:\path\to\App1\FileTest.cfc
And it needs to translate that path into a coldfusion dot-notation
path. So, if on your coldfusion server that file is known as
"App1.FileTest", then that's what we need the plugin to tell
ColdFusion. We need it to say "Run App1.FileTest"
Therefore, the plugin's job is to turn c:\path\to\App1\FileTest.cfc
into "App1.FileTest".
How's it do that? Well... that depends on a number of things.
The easiest setup is to use the "webroot". Forget workspace. The
eclipse workspace has nothing to do with files. windows users are
probably familiar with "webroot" because almost always it's
c:\inetpub\wwwroot (at least under IIS), and so for a lot of CF
developers they'll keep all their projects in that directory:
c:\inetpub\wwwroot\App1\
c:\inetpub\wwwroot\App2\
you get the picture.
And then in Eclipse, they'll just set up each project independently:
App1 Project
App2 Project
etc.
So let's say you have a project named "My App1" in Eclipse, and it
points to c:\inetpub\wwwroot\App1
And in there you have a file named FileTest.cfc
And CF knows about that file as App1.FileTest
Well, you have two ways of telling the plugin "hey, turn
c:\inetpub\wwwroot\App1\FileTest.cfc" into "App1.FileTest"
Method 1: set up the "webroot" global preference. When you do that,
you tell the plugin "if you find a file with this webroot in the path,
then chop that entire webroot off of the file path, and turn the rest
of it into CFC notation." For example, if the plugin finds a file
named "c:\inetpub\wwwroot\App1\FileTest.cfc", it says "Oh, I see this
file is underneath the webroot set in the global preferences.
Consequently, chop that part of the path off -- turning the resultant
path into App1\FileTest.cfc From there, just knock off the .cfc
extension and convert \ into ".", and voila, we have App1.FileTest
In this manner, if you keep all your applications under a common root,
then you only ever need to set up that one global preference.
If this doesn't work for people, i.e. they have projects all over the
place or in a place that doesn't have a common root, then you'd need
to set the path at the project level. When you do this, you kind of
kick the plugin into a different kind of mode. It's no longer looking
to find a common prefix to knock off of the file path. Instead, you're
essentially telling the plugin: "For the purposes of this project, XXX
is the "root" from which to start deriving a ColdFusion cfc path.
For example, let's say you have an app at c:\projects\App2\, and you
set up an Eclipse project at that same location. And let's you've set
up a mapping in ColdFusion such that location as "App2". So any CFC
files in there would be App2.MyFile
In this scenario, when you set a project cfc root, the plugin will
derive the cfc path by taking whatever you set that property to, and
then just stuff it onto the path of that file, relative to the project
root. For example, if you have c:\projects\App2\subdir\FileTest.cfc,
and yo'uve set the project's cfcroot property as "App2", then the
plugin will see "subdir\FileTest.cfc", prefix it with "App2" (since
that was the project's property for cfcroot), and then turn that into
the pretty cfc name by stripping the extension and converting slashes
to dots.
If you run eclipse with the "-debug" option in your eclipse.ini file,
the plugin will spit out some information into the Error Log view to
give some guidance on how it's deriving cfc names.
HTH.
Marc