Re: Re: What's the difference, again

Geoff Longman <[email protected]> Tue, 7 Feb 2006 11:25:21 -0500
Newsgroups gmane.comp.ide.eclipse.spindle.devel
Message-ID <[email protected]>
> So, to clear:
>
> root.search -> returns all resources in the root and subfolders.
> resource.search -> returns all resources in the same folder as the
> resource(including the resource itself ??????)
>
> Is this correct ?

Yes, I was incorrect in the first email, sorry. I will review that doc
this evening to ensure there aren't any more inconsistencies.

as for (including the resource itself ??????) my gut reaction is to
say yes but I will confirm.

Geoff

On 2/7/06, Hugo Palma <[email protected]> wrote:
> Yes it does.
>
> In a email you sent before you said:
>
> A root search has the scope of all the resources it contains.
> A resource search's scope is restricted to the resources in the same
> 'folder'.
>
>  Now you said that the search is "over all the resource in the root". Maybe
> it's me but it's sounding like a contradiction.
>
> So, to clear:
>
> root.search -> returns all resources in the root and subfolders.
> resource.search -> returns all resources in the same folder as the
> resource(including the resource itself ??????)
>
> Is this correct ?
>
>
>
> On 07/02/06, Geoff Longman <[email protected]> wrote:
> > both search and lookup are for non java resources only.
> >
> > Tapestry resources (really org.apache.hivemind.Resource's) are non
> > java stuff only.
> >
> > Really the only java resources are .java files and .class files. Both
> > are covered by IJavaType & IJavaTypeFinder.
> >
> > Does this make sense?
> >
> > Geoff
> >
> > On 2/7/06, Hugo Palma <[email protected]> wrote:
> > > And lookup will only look for non java resources right ? As Search will
> > > search for every resource, java and non java.
> > >
> > > Did i get it right ?
> > >
> > >
> > > On 07/02/06, Geoff Longman <[email protected]> wrote:
> > > > no problem!
> > > >
> > > > Just so I'm sure you are crystal clear on lookup/search....
> > > >
> > > > Search is over all the resource in the root.
> > > >
> > > > Lookup is on only the resources that have the same path (minus the
> > > > name) as a given resource.
> > > >
> > > > Geoff
> > > >
> > > > On 2/7/06, Hugo Palma <[email protected]> wrote:
> > > > > I guess today is also "send email and figure out answer" too......
> > > > >
> > > > > Nevermind again, sorry.........
> > > > >
> > > > >
> > > > > On 07/02/06, Hugo Palma < [email protected]> wrote:
> > > > > > I guess today is differences day :o)
> > > > > >
> > > > > > So, why do you need a lookup and a search in resources ? What's
> the
> > > > > difference between performing a lookup and performing a search ?
> > > > > >
> > > > > >
> > > > > > Cheers
> > > > > >
> > > > > > Hugo
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > The Spindle guy.          http://spindle.sf.net
> > > > Get help with Spindle:
> > > >
> > >
> http://lists.sourceforge.net/mailman/listinfo/spindle-user
> > > > Blog:
> > > http://jroller.com/page/glongman
> > > > Feature Updates:           http://spindle.sf.net/updates
> > > >
> > >
> > >
> >
> >
> > --
> > The Spindle guy.          http://spindle.sf.net
> > Get help with Spindle:
> >
> http://lists.sourceforge.net/mailman/listinfo/spindle-user
> > Blog:
> http://jroller.com/page/glongman
> > Feature Updates:           http://spindle.sf.net/updates
> >
>
>


--
The Spindle guy.          http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Blog:                     http://jroller.com/page/glongman
Feature Updates:          http://spindle.sf.net/updates


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642