Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-18 Thread Nan Ge
Thank you Mark and Chris! So that's about something like SCI etc., your replies are very helpful. Thanks again! Regards, Nan

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 12/18/14 9:38 AM, Mark Thomas wrote: > On 18/12/2014 14:18, Christopher Schultz wrote: > >> Mark, can you clarify what behavior will actually change when >> scanAllDirectories="true" is set? > > A JAR file is scanned for SCIs, static res

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-18 Thread Mark Thomas
On 18/12/2014 14:18, Christopher Schultz wrote: > Mark, can you clarify what behavior will actually change when > scanAllDirectories="true" is set? A JAR file is scanned for SCIs, static resources etc. A directory of classes is not. Setting scanAllDirectories causes directories of classes (includ

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 12/18/14 3:44 AM, Mark Thomas wrote: > On 18/12/2014 01:57, Nan Ge wrote: >>> >>> >>> Which part of "WEB-INF/lib is only ever scanned for JARs. >>> Everything else is ignored." did you not understand? >> >> >> Yes, I see that only WEB-I

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-18 Thread Mark Thomas
On 18/12/2014 01:57, Nan Ge wrote: >> >> >> Which part of "WEB-INF/lib is only ever scanned for JARs. Everything >> else is ignored." did you not understand? > > > Yes, I see that only WEB-INF/lib/*.jar files are scanned. > > >>> And which directories/classpath the document indicates when it

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Nan Ge
> > > Which part of "WEB-INF/lib is only ever scanned for JARs. Everything > else is ignored." did you not understand? Yes, I see that only WEB-INF/lib/*.jar files are scanned. > > And which directories/classpath the document indicates when it saying > "If > > true, any directories found on t

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Mark Thomas
On 17/12/2014 10:38, Nan Ge wrote: > On Wed, Dec 17, 2014 at 4:07 PM, Mark Thomas wrote: >> >> On 17/12/2014 01:56, Nan Ge wrote: >> >>> And the directory structure looks like this: >>> F:\PROJECTS\MYAPP >>> ├─src >>> │ └─main >>> │ ├─java >>> │ └─webapp >>> │ └─WEB-INF >>> │

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Nan Ge
On Wed, Dec 17, 2014 at 4:07 PM, Mark Thomas wrote: > > On 17/12/2014 01:56, Nan Ge wrote: > > > And the directory structure looks like this: > > F:\PROJECTS\MYAPP > > ├─src > > │ └─main > > │ ├─java > > │ └─webapp > > │ └─WEB-INF > > │ └─lib > > └─target > > └

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Mark Thomas
On 17/12/2014 01:56, Nan Ge wrote: > And the directory structure looks like this: > F:\PROJECTS\MYAPP > ├─src > │ └─main > │ ├─java > │ └─webapp > │ └─WEB-INF > │ └─lib > └─target > └─myapp //this is my web application context root > ├

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-17 Thread Mark Thomas
On 17/12/2014 02:08, Nan Ge wrote: > On Wed, Dec 17, 2014 at 2:43 AM, Mark Thomas wrote: >> >> On 16/12/2014 18:00, Christopher Schultz wrote: >>> Nan, >>> >>> On 12/16/14 5:37 AM, Nan Ge wrote: I'm using Tomcat8. I'm not quite understand about the description of 'scanAllDirectories' att

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-16 Thread Nan Ge
On Wed, Dec 17, 2014 at 2:43 AM, Mark Thomas wrote: > > On 16/12/2014 18:00, Christopher Schultz wrote: > > Nan, > > > > On 12/16/14 5:37 AM, Nan Ge wrote: > >> I'm using Tomcat8. I'm not quite understand about the description > >> of 'scanAllDirectories' attribute of the component. > >> The doc

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-16 Thread Nan Ge
On Wed, Dec 17, 2014 at 2:00 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > > > Nan, > > On 12/16/14 5:37 AM, Nan Ge wrote: > > I'm using Tomcat8. I'm not quite understand about the description > > of 'scanAllDirectories' attribute of the component. > > The doc says if this attri

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-16 Thread Mark Thomas
On 16/12/2014 18:00, Christopher Schultz wrote: > Nan, > > On 12/16/14 5:37 AM, Nan Ge wrote: >> I'm using Tomcat8. I'm not quite understand about the description >> of 'scanAllDirectories' attribute of the component. >> The doc says if this attribute is set true, 'any directories found >> on th

Re: About scanAllDirectories,JarScanner and expanded JAR

2014-12-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nan, On 12/16/14 5:37 AM, Nan Ge wrote: > I'm using Tomcat8. I'm not quite understand about the description > of 'scanAllDirectories' attribute of the component. > The doc says if this attribute is set true, 'any directories found > on the classpa