[maven-jetty6-plugin] What changes are scanned for?

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[maven-jetty6-plugin] What changes are scanned for?

Wesslan
This is my first post to a Jetty list so if this is more suited in the Jetty
discuss-list, please enlighten me. :-)

I'm trying out the maven-jetty6-plugin and it looks great so far.
I'm using the hot deploy-feature and I'm wondering what changes the plugin
scans for?

I know it scans for
* JSP's (duh)
* Compiled classes
* WEB-INF/web.xml

But, what about
* property-files (like in WEB-INF/ and WEB-INF/classes)
* Changes to libs (WEB-INF/lib)

I use Spring so I found out that it (not suprisingly, how could Jetty
know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
This is a very important file (more important than web.xml) for Spring-users
so it would be nice to somehow specify that this file could be scanned also
(like one can do in Tomcat).

To summarize my questions:
* What does the maven-jetty6-plugin scan for and what does it NOT scan for?
* Is it possible to specify extra files to scan for changes?

Cheers




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

Re: [maven-jetty6-plugin] What changes are scanned for?

Greg Wilkins-5

Wesslan,

this is the right spot to post.

Quick answer - I think Jan is documenting most of this on the Wiki at the moment.
Longer answer - It will scan for anything that maven knows about:

  classes
  resources
  web.xml

It is jasper that scans for changed JSPs (and jasper is just a servlet).

cheers


Wesslan wrote:

> This is my first post to a Jetty list so if this is more suited in the Jetty
> discuss-list, please enlighten me. :-)
>
> I'm trying out the maven-jetty6-plugin and it looks great so far.
> I'm using the hot deploy-feature and I'm wondering what changes the plugin
> scans for?
>
> I know it scans for
> * JSP's (duh)
> * Compiled classes
> * WEB-INF/web.xml
>
> But, what about
> * property-files (like in WEB-INF/ and WEB-INF/classes)
> * Changes to libs (WEB-INF/lib)
>
> I use Spring so I found out that it (not suprisingly, how could Jetty
> know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
> This is a very important file (more important than web.xml) for Spring-users
> so it would be nice to somehow specify that this file could be scanned also
> (like one can do in Tomcat).
>
> To summarize my questions:
> * What does the maven-jetty6-plugin scan for and what does it NOT scan for?
> * Is it possible to specify extra files to scan for changes?
>
> Cheers
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

RE: Re: [maven-jetty6-plugin] What changes are scanned for?

Wesslan
So what you are saying is that the plugin should scan for changes in my
applicationContext.xml?
It is located in "src/main/webapp/WEB-INF/applicationContext.xml" so I think
Maven should know about it.

Regards

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Greg Wilkins
Sent: den 2 maj 2006 13:01
To: [hidden email]
Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are scanned
for?


Wesslan,

this is the right spot to post.

Quick answer - I think Jan is documenting most of this on the Wiki at the
moment.
Longer answer - It will scan for anything that maven knows about:

  classes
  resources
  web.xml

It is jasper that scans for changed JSPs (and jasper is just a servlet).

cheers


Wesslan wrote:
> This is my first post to a Jetty list so if this is more suited in the
Jetty

> discuss-list, please enlighten me. :-)
>
> I'm trying out the maven-jetty6-plugin and it looks great so far.
> I'm using the hot deploy-feature and I'm wondering what changes the plugin
> scans for?
>
> I know it scans for
> * JSP's (duh)
> * Compiled classes
> * WEB-INF/web.xml
>
> But, what about
> * property-files (like in WEB-INF/ and WEB-INF/classes)
> * Changes to libs (WEB-INF/lib)
>
> I use Spring so I found out that it (not suprisingly, how could Jetty
> know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
> This is a very important file (more important than web.xml) for
Spring-users
> so it would be nice to somehow specify that this file could be scanned
also
> (like one can do in Tomcat).
>
> To summarize my questions:
> * What does the maven-jetty6-plugin scan for and what does it NOT scan
for?

> * Is it possible to specify extra files to scan for changes?
>
> Cheers
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

Re: [maven-jetty6-plugin] What changes are scanned for?

jan_bartel
Hi Wesslan,

I've document what the plugin scans for today in the jetty FAQ here:

http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+Maven+Plugin

It won't scan for anything else other than explicitly listed. However,
enough people have asked about Spring and other things that I'm going
to change the plugin so that you'll be able to give it a list of locations
and files to scan in addition.

Stay tuned.

cheers
Jan

Wesslan wrote:

> So what you are saying is that the plugin should scan for changes in my
> applicationContext.xml?
> It is located in "src/main/webapp/WEB-INF/applicationContext.xml" so I think
> Maven should know about it.
>
> Regards
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Greg Wilkins
> Sent: den 2 maj 2006 13:01
> To: [hidden email]
> Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are scanned
> for?
>
>
> Wesslan,
>
> this is the right spot to post.
>
> Quick answer - I think Jan is documenting most of this on the Wiki at the
> moment.
> Longer answer - It will scan for anything that maven knows about:
>
>   classes
>   resources
>   web.xml
>
> It is jasper that scans for changed JSPs (and jasper is just a servlet).
>
> cheers
>
>
> Wesslan wrote:
>
>>This is my first post to a Jetty list so if this is more suited in the
>
> Jetty
>
>>discuss-list, please enlighten me. :-)
>>
>>I'm trying out the maven-jetty6-plugin and it looks great so far.
>>I'm using the hot deploy-feature and I'm wondering what changes the plugin
>>scans for?
>>
>>I know it scans for
>>* JSP's (duh)
>>* Compiled classes
>>* WEB-INF/web.xml
>>
>>But, what about
>>* property-files (like in WEB-INF/ and WEB-INF/classes)
>>* Changes to libs (WEB-INF/lib)
>>
>>I use Spring so I found out that it (not suprisingly, how could Jetty
>>know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
>>This is a very important file (more important than web.xml) for
>
> Spring-users
>
>>so it would be nice to somehow specify that this file could be scanned
>
> also
>
>>(like one can do in Tomcat).
>>
>>To summarize my questions:
>>* What does the maven-jetty6-plugin scan for and what does it NOT scan
>
> for?
>
>>* Is it possible to specify extra files to scan for changes?
>>
>>Cheers
>>
>>
>>
>>
>>-------------------------------------------------------
>>Using Tomcat but need to do more? Need to support web services, security?
>>Get stuff done quickly with pre-integrated technology to make your job
>
> easier
>
>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>_______________________________________________
>>Jetty-support mailing list
>>[hidden email]
>>https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

RE: Re: [maven-jetty6-plugin] What changes are scanned for?

Wesslan
Thanks for the info, Jan!

Wesslan - stayin' tuned! :)

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Jan Bartel
Sent: den 2 maj 2006 13:49
To: [hidden email]
Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are scanned
for?

Hi Wesslan,

I've document what the plugin scans for today in the jetty FAQ here:

http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+M
aven+Plugin

It won't scan for anything else other than explicitly listed. However,
enough people have asked about Spring and other things that I'm going
to change the plugin so that you'll be able to give it a list of locations
and files to scan in addition.

Stay tuned.

cheers
Jan

Wesslan wrote:
> So what you are saying is that the plugin should scan for changes in my
> applicationContext.xml?
> It is located in "src/main/webapp/WEB-INF/applicationContext.xml" so I
think
> Maven should know about it.
>
> Regards
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Greg
Wilkins
> Sent: den 2 maj 2006 13:01
> To: [hidden email]
> Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are
scanned

> for?
>
>
> Wesslan,
>
> this is the right spot to post.
>
> Quick answer - I think Jan is documenting most of this on the Wiki at the
> moment.
> Longer answer - It will scan for anything that maven knows about:
>
>   classes
>   resources
>   web.xml
>
> It is jasper that scans for changed JSPs (and jasper is just a servlet).
>
> cheers
>
>
> Wesslan wrote:
>
>>This is my first post to a Jetty list so if this is more suited in the
>
> Jetty
>
>>discuss-list, please enlighten me. :-)
>>
>>I'm trying out the maven-jetty6-plugin and it looks great so far.
>>I'm using the hot deploy-feature and I'm wondering what changes the plugin
>>scans for?
>>
>>I know it scans for
>>* JSP's (duh)
>>* Compiled classes
>>* WEB-INF/web.xml
>>
>>But, what about
>>* property-files (like in WEB-INF/ and WEB-INF/classes)
>>* Changes to libs (WEB-INF/lib)
>>
>>I use Spring so I found out that it (not suprisingly, how could Jetty
>>know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
>>This is a very important file (more important than web.xml) for
>
> Spring-users
>
>>so it would be nice to somehow specify that this file could be scanned
>
> also
>
>>(like one can do in Tomcat).
>>
>>To summarize my questions:
>>* What does the maven-jetty6-plugin scan for and what does it NOT scan
>
> for?
>
>>* Is it possible to specify extra files to scan for changes?
>>
>>Cheers
>>
>>
>>
>>
>>-------------------------------------------------------
>>Using Tomcat but need to do more? Need to support web services, security?
>>Get stuff done quickly with pre-integrated technology to make your job
>
> easier
>
>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>_______________________________________________
>>Jetty-support mailing list
>>[hidden email]
>>https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

Re: [maven-jetty6-plugin] What changes are scanned for?

jan_bartel
In reply to this post by jan_bartel
FYI

I have updated the plugin to allow a new configuration parameter which
you can use to specify other files and dirs to scan.

You use it like this:

   <configuration>
     <scanTargets>
      <scanTarget>xyz/myfile.txt</scanTarget>
      <scanTarget>ttt/mydir</scanTarget>
     </scanTargets>
   </configuration>

This is checked into SVN trunk now, and the FAQ entry has been updated:
http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+Maven+Plugin 

I have yet to update the plugin's website with this new info.

cheers
Jan


Jan Bartel wrote:

> Hi Wesslan,
>
> I've document what the plugin scans for today in the jetty FAQ here:
>
> http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+Maven+Plugin 
>
>
> It won't scan for anything else other than explicitly listed. However,
> enough people have asked about Spring and other things that I'm going
> to change the plugin so that you'll be able to give it a list of locations
> and files to scan in addition.
>
> Stay tuned.
>
> cheers
> Jan
>
> Wesslan wrote:
>
>> So what you are saying is that the plugin should scan for changes in my
>> applicationContext.xml? It is located in
>> "src/main/webapp/WEB-INF/applicationContext.xml" so I think
>> Maven should know about it.
>>
>> Regards
>>
>> -----Original Message-----
>> From: [hidden email]
>> [mailto:[hidden email]] On Behalf Of Greg
>> Wilkins
>> Sent: den 2 maj 2006 13:01
>> To: [hidden email]
>> Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are
>> scanned
>> for?
>>
>>
>> Wesslan,
>>
>> this is the right spot to post.
>>
>> Quick answer - I think Jan is documenting most of this on the Wiki at the
>> moment.
>> Longer answer - It will scan for anything that maven knows about:
>>
>>   classes
>>   resources
>>   web.xml
>>
>> It is jasper that scans for changed JSPs (and jasper is just a servlet).
>>
>> cheers
>>
>>
>> Wesslan wrote:
>>
>>> This is my first post to a Jetty list so if this is more suited in the
>>
>>
>> Jetty
>>
>>> discuss-list, please enlighten me. :-)
>>>
>>> I'm trying out the maven-jetty6-plugin and it looks great so far.
>>> I'm using the hot deploy-feature and I'm wondering what changes the
>>> plugin
>>> scans for?
>>>
>>> I know it scans for
>>> * JSP's (duh)
>>> * Compiled classes
>>> * WEB-INF/web.xml
>>>
>>> But, what about
>>> * property-files (like in WEB-INF/ and WEB-INF/classes)
>>> * Changes to libs (WEB-INF/lib)
>>>
>>> I use Spring so I found out that it (not suprisingly, how could Jetty
>>> know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
>>> This is a very important file (more important than web.xml) for
>>
>>
>> Spring-users
>>
>>> so it would be nice to somehow specify that this file could be scanned
>>
>>
>> also
>>
>>> (like one can do in Tomcat).
>>>
>>> To summarize my questions:
>>> * What does the maven-jetty6-plugin scan for and what does it NOT scan
>>
>>
>> for?
>>
>>> * Is it possible to specify extra files to scan for changes?
>>>
>>> Cheers
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>
>>
>> easier
>>
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Jetty-support mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

RE: Re: [maven-jetty6-plugin] What changes are scanned for?

Wesslan
I just tried it out and it works great! Thanks!

Cheers,
Peter

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Jan Bartel
Sent: den 2 maj 2006 15:44
To: [hidden email]
Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are scanned
for?

FYI

I have updated the plugin to allow a new configuration parameter which
you can use to specify other files and dirs to scan.

You use it like this:

   <configuration>
     <scanTargets>
      <scanTarget>xyz/myfile.txt</scanTarget>
      <scanTarget>ttt/mydir</scanTarget>
     </scanTargets>
   </configuration>

This is checked into SVN trunk now, and the FAQ entry has been updated:
http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+M
aven+Plugin

I have yet to update the plugin's website with this new info.

cheers
Jan


Jan Bartel wrote:
> Hi Wesslan,
>
> I've document what the plugin scans for today in the jetty FAQ here:
>
>
http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+M
aven+Plugin

>
>
> It won't scan for anything else other than explicitly listed. However,
> enough people have asked about Spring and other things that I'm going
> to change the plugin so that you'll be able to give it a list of locations
> and files to scan in addition.
>
> Stay tuned.
>
> cheers
> Jan
>
> Wesslan wrote:
>
>> So what you are saying is that the plugin should scan for changes in my
>> applicationContext.xml? It is located in
>> "src/main/webapp/WEB-INF/applicationContext.xml" so I think
>> Maven should know about it.
>>
>> Regards
>>
>> -----Original Message-----
>> From: [hidden email]
>> [mailto:[hidden email]] On Behalf Of Greg
>> Wilkins
>> Sent: den 2 maj 2006 13:01
>> To: [hidden email]
>> Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are
>> scanned
>> for?
>>
>>
>> Wesslan,
>>
>> this is the right spot to post.
>>
>> Quick answer - I think Jan is documenting most of this on the Wiki at the
>> moment.
>> Longer answer - It will scan for anything that maven knows about:
>>
>>   classes
>>   resources
>>   web.xml
>>
>> It is jasper that scans for changed JSPs (and jasper is just a servlet).
>>
>> cheers
>>
>>
>> Wesslan wrote:
>>
>>> This is my first post to a Jetty list so if this is more suited in the
>>
>>
>> Jetty
>>
>>> discuss-list, please enlighten me. :-)
>>>
>>> I'm trying out the maven-jetty6-plugin and it looks great so far.
>>> I'm using the hot deploy-feature and I'm wondering what changes the
>>> plugin
>>> scans for?
>>>
>>> I know it scans for
>>> * JSP's (duh)
>>> * Compiled classes
>>> * WEB-INF/web.xml
>>>
>>> But, what about
>>> * property-files (like in WEB-INF/ and WEB-INF/classes)
>>> * Changes to libs (WEB-INF/lib)
>>>
>>> I use Spring so I found out that it (not suprisingly, how could Jetty
>>> know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
>>> This is a very important file (more important than web.xml) for
>>
>>
>> Spring-users
>>
>>> so it would be nice to somehow specify that this file could be scanned
>>
>>
>> also
>>
>>> (like one can do in Tomcat).
>>>
>>> To summarize my questions:
>>> * What does the maven-jetty6-plugin scan for and what does it NOT scan
>>
>>
>> for?
>>
>>> * Is it possible to specify extra files to scan for changes?
>>>
>>> Cheers
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>
>>
>> easier
>>
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Jetty-support mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jetty-support mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

RE: Re: [maven-jetty6-plugin] What changes are scanned for?

mraible
Is it possible to configure <scanTarget> to something like:

                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
                <version>6.0.0</version>
                <configuration>
                    <contextPath>/</contextPath>
                    <scanIntervalSeconds>3</scanIntervalSeconds>
                    <scanTargets>
                        <scanTarget>src/main/webapp/WEB-INF/*.xml</scanTarget>
                    </scanTargets>
                </configuration>

I tried this and it doesn't seem to work.

Matt

Wesslan wrote
I just tried it out and it works great! Thanks!

Cheers,
Peter

-----Original Message-----
From: jetty-support-admin@lists.sourceforge.net
[mailto:jetty-support-admin@lists.sourceforge.net] On Behalf Of Jan Bartel
Sent: den 2 maj 2006 15:44
To: jetty-support@lists.sourceforge.net
Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are scanned
for?

FYI

I have updated the plugin to allow a new configuration parameter which
you can use to specify other files and dirs to scan.

You use it like this:

   <configuration>
     <scanTargets>
      <scanTarget>xyz/myfile.txt</scanTarget>
      <scanTarget>ttt/mydir</scanTarget>
     </scanTargets>
   </configuration>

This is checked into SVN trunk now, and the FAQ entry has been updated:
http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+M
aven+Plugin

I have yet to update the plugin's website with this new info.

cheers
Jan


Jan Bartel wrote:
> Hi Wesslan,
>
> I've document what the plugin scans for today in the jetty FAQ here:
>
>
http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+M
aven+Plugin
>
>
> It won't scan for anything else other than explicitly listed. However,
> enough people have asked about Spring and other things that I'm going
> to change the plugin so that you'll be able to give it a list of locations
> and files to scan in addition.
>
> Stay tuned.
>
> cheers
> Jan
>
> Wesslan wrote:
>
>> So what you are saying is that the plugin should scan for changes in my
>> applicationContext.xml? It is located in
>> "src/main/webapp/WEB-INF/applicationContext.xml" so I think
>> Maven should know about it.
>>
>> Regards
>>
>> -----Original Message-----
>> From: jetty-support-admin@lists.sourceforge.net
>> [mailto:jetty-support-admin@lists.sourceforge.net] On Behalf Of Greg
>> Wilkins
>> Sent: den 2 maj 2006 13:01
>> To: jetty-support@lists.sourceforge.net
>> Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are
>> scanned
>> for?
>>
>>
>> Wesslan,
>>
>> this is the right spot to post.
>>
>> Quick answer - I think Jan is documenting most of this on the Wiki at the
>> moment.
>> Longer answer - It will scan for anything that maven knows about:
>>
>>   classes
>>   resources
>>   web.xml
>>
>> It is jasper that scans for changed JSPs (and jasper is just a servlet).
>>
>> cheers
>>
>>
>> Wesslan wrote:
>>
>>> This is my first post to a Jetty list so if this is more suited in the
>>
>>
>> Jetty
>>
>>> discuss-list, please enlighten me. :-)
>>>
>>> I'm trying out the maven-jetty6-plugin and it looks great so far.
>>> I'm using the hot deploy-feature and I'm wondering what changes the
>>> plugin
>>> scans for?
>>>
>>> I know it scans for
>>> * JSP's (duh)
>>> * Compiled classes
>>> * WEB-INF/web.xml
>>>
>>> But, what about
>>> * property-files (like in WEB-INF/ and WEB-INF/classes)
>>> * Changes to libs (WEB-INF/lib)
>>>
>>> I use Spring so I found out that it (not suprisingly, how could Jetty
>>> know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
>>> This is a very important file (more important than web.xml) for
>>
>>
>> Spring-users
>>
>>> so it would be nice to somehow specify that this file could be scanned
>>
>>
>> also
>>
>>> (like one can do in Tomcat).
>>>
>>> To summarize my questions:
>>> * What does the maven-jetty6-plugin scan for and what does it NOT scan
>>
>>
>> for?
>>
>>> * Is it possible to specify extra files to scan for changes?
>>>
>>> Cheers
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>
>>
>> easier
>>
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Jetty-support mailing list
>>> Jetty-support@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> Jetty-support@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> Jetty-support@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jetty-support mailing list
> Jetty-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jetty-support
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
Jetty-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jetty-support mailing list
Jetty-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

Re: [maven-jetty6-plugin] What changes are scanned for?

jan_bartel
Hi Matt,

At the moment it doesn't support wildcarding, it just expects a list
of files. Could be a good enhancement request to put into jira?

http://jira.codehaus.org/browse/Jetty

cheers
Jan


mraible wrote:

> Is it possible to configure <scanTarget> to something like:
>
>                 <groupId>org.mortbay.jetty</groupId>
>                 <artifactId>maven-jetty-plugin</artifactId>
>                 <version>6.0.0</version>
>                 <configuration>
>                     <contextPath>/</contextPath>
>                     <scanIntervalSeconds>3</scanIntervalSeconds>
>                     <scanTargets>
>                        
> <scanTarget>src/main/webapp/WEB-INF/*.xml</scanTarget>
>                     </scanTargets>
>                 </configuration>
>
> I tried this and it doesn't seem to work.
>
> Matt
>
>
> Wesslan wrote:
>> I just tried it out and it works great! Thanks!
>>
>> Cheers,
>> Peter
>>
>> -----Original Message-----
>> From: [hidden email]
>> [mailto:[hidden email]] On Behalf Of Jan Bartel
>> Sent: den 2 maj 2006 15:44
>> To: [hidden email]
>> Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are
>> scanned
>> for?
>>
>> FYI
>>
>> I have updated the plugin to allow a new configuration parameter which
>> you can use to specify other files and dirs to scan.
>>
>> You use it like this:
>>
>>    <configuration>
>>      <scanTargets>
>>       <scanTarget>xyz/myfile.txt</scanTarget>
>>       <scanTarget>ttt/mydir</scanTarget>
>>      </scanTargets>
>>    </configuration>
>>
>> This is checked into SVN trunk now, and the FAQ entry has been updated:
>> http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+M
>> aven+Plugin
>>
>> I have yet to update the plugin's website with this new info.
>>
>> cheers
>> Jan
>>
>>
>> Jan Bartel wrote:
>>> Hi Wesslan,
>>>
>>> I've document what the plugin scans for today in the jetty FAQ here:
>>>
>>>
>> http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+M
>> aven+Plugin
>>>
>>> It won't scan for anything else other than explicitly listed. However,
>>> enough people have asked about Spring and other things that I'm going
>>> to change the plugin so that you'll be able to give it a list of
>>> locations
>>> and files to scan in addition.
>>>
>>> Stay tuned.
>>>
>>> cheers
>>> Jan
>>>
>>> Wesslan wrote:
>>>
>>>> So what you are saying is that the plugin should scan for changes in my
>>>> applicationContext.xml? It is located in
>>>> "src/main/webapp/WEB-INF/applicationContext.xml" so I think
>>>> Maven should know about it.
>>>>
>>>> Regards
>>>>
>>>> -----Original Message-----
>>>> From: [hidden email]
>>>> [mailto:[hidden email]] On Behalf Of Greg
>>>> Wilkins
>>>> Sent: den 2 maj 2006 13:01
>>>> To: [hidden email]
>>>> Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are
>>>> scanned
>>>> for?
>>>>
>>>>
>>>> Wesslan,
>>>>
>>>> this is the right spot to post.
>>>>
>>>> Quick answer - I think Jan is documenting most of this on the Wiki at
>>>> the
>>>> moment.
>>>> Longer answer - It will scan for anything that maven knows about:
>>>>
>>>>   classes
>>>>   resources
>>>>   web.xml
>>>>
>>>> It is jasper that scans for changed JSPs (and jasper is just a servlet).
>>>>
>>>> cheers
>>>>
>>>>
>>>> Wesslan wrote:
>>>>
>>>>> This is my first post to a Jetty list so if this is more suited in the
>>>>
>>>> Jetty
>>>>
>>>>> discuss-list, please enlighten me. :-)
>>>>>
>>>>> I'm trying out the maven-jetty6-plugin and it looks great so far.
>>>>> I'm using the hot deploy-feature and I'm wondering what changes the
>>>>> plugin
>>>>> scans for?
>>>>>
>>>>> I know it scans for
>>>>> * JSP's (duh)
>>>>> * Compiled classes
>>>>> * WEB-INF/web.xml
>>>>>
>>>>> But, what about
>>>>> * property-files (like in WEB-INF/ and WEB-INF/classes)
>>>>> * Changes to libs (WEB-INF/lib)
>>>>>
>>>>> I use Spring so I found out that it (not suprisingly, how could Jetty
>>>>> know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
>>>>> This is a very important file (more important than web.xml) for
>>>>
>>>> Spring-users
>>>>
>>>>> so it would be nice to somehow specify that this file could be scanned
>>>>
>>>> also
>>>>
>>>>> (like one can do in Tomcat).
>>>>>
>>>>> To summarize my questions:
>>>>> * What does the maven-jetty6-plugin scan for and what does it NOT scan
>>>>
>>>> for?
>>>>
>>>>> * Is it possible to specify extra files to scan for changes?
>>>>>
>>>>> Cheers
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------
>>>>> Using Tomcat but need to do more? Need to support web services,
>>>>> security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job
>>>>
>>>> easier
>>>>
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>>>> Geronimo
>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>> _______________________________________________
>>>>> Jetty-support mailing list
>>>>> [hidden email]
>>>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> Using Tomcat but need to do more? Need to support web services,
>>>> security?
>>>> Get stuff done quickly with pre-integrated technology to make your job
>>>> easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>>> Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Jetty-support mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> Using Tomcat but need to do more? Need to support web services,
>>>> security?
>>>> Get stuff done quickly with pre-integrated technology to make your job
>>>> easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>>> Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Jetty-support mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>>
>>>
>>>
>>> -------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Jetty-support mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>>
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

Re: [maven-jetty6-plugin] What changes are scanned for?

mraible
Thanks - I've added it as an Enhancement Request in JIRA:

http://jira.codehaus.org/browse/JETTY-346

Matt

Jan Bartel wrote
Hi Matt,

At the moment it doesn't support wildcarding, it just expects a list
of files. Could be a good enhancement request to put into jira?

http://jira.codehaus.org/browse/Jetty

cheers
Jan


mraible wrote:
> Is it possible to configure <scanTarget> to something like:
>
>                 <groupId>org.mortbay.jetty</groupId>
>                 <artifactId>maven-jetty-plugin</artifactId>
>                 <version>6.0.0</version>
>                 <configuration>
>                     <contextPath>/</contextPath>
>                     <scanIntervalSeconds>3</scanIntervalSeconds>
>                     <scanTargets>
>                        
> <scanTarget>src/main/webapp/WEB-INF/*.xml</scanTarget>
>                     </scanTargets>
>                 </configuration>
>
> I tried this and it doesn't seem to work.
>
> Matt
>
>
> Wesslan wrote:
>> I just tried it out and it works great! Thanks!
>>
>> Cheers,
>> Peter
>>
>> -----Original Message-----
>> From: jetty-support-admin@lists.sourceforge.net
>> [mailto:jetty-support-admin@lists.sourceforge.net] On Behalf Of Jan Bartel
>> Sent: den 2 maj 2006 15:44
>> To: jetty-support@lists.sourceforge.net
>> Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are
>> scanned
>> for?
>>
>> FYI
>>
>> I have updated the plugin to allow a new configuration parameter which
>> you can use to specify other files and dirs to scan.
>>
>> You use it like this:
>>
>>    <configuration>
>>      <scanTargets>
>>       <scanTarget>xyz/myfile.txt</scanTarget>
>>       <scanTarget>ttt/mydir</scanTarget>
>>      </scanTargets>
>>    </configuration>
>>
>> This is checked into SVN trunk now, and the FAQ entry has been updated:
>> http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+M
>> aven+Plugin
>>
>> I have yet to update the plugin's website with this new info.
>>
>> cheers
>> Jan
>>
>>
>> Jan Bartel wrote:
>>> Hi Wesslan,
>>>
>>> I've document what the plugin scans for today in the jetty FAQ here:
>>>
>>>
>> http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+M
>> aven+Plugin
>>>
>>> It won't scan for anything else other than explicitly listed. However,
>>> enough people have asked about Spring and other things that I'm going
>>> to change the plugin so that you'll be able to give it a list of
>>> locations
>>> and files to scan in addition.
>>>
>>> Stay tuned.
>>>
>>> cheers
>>> Jan
>>>
>>> Wesslan wrote:
>>>
>>>> So what you are saying is that the plugin should scan for changes in my
>>>> applicationContext.xml? It is located in
>>>> "src/main/webapp/WEB-INF/applicationContext.xml" so I think
>>>> Maven should know about it.
>>>>
>>>> Regards
>>>>
>>>> -----Original Message-----
>>>> From: jetty-support-admin@lists.sourceforge.net
>>>> [mailto:jetty-support-admin@lists.sourceforge.net] On Behalf Of Greg
>>>> Wilkins
>>>> Sent: den 2 maj 2006 13:01
>>>> To: jetty-support@lists.sourceforge.net
>>>> Subject: [Jetty-support] Re: [maven-jetty6-plugin] What changes are
>>>> scanned
>>>> for?
>>>>
>>>>
>>>> Wesslan,
>>>>
>>>> this is the right spot to post.
>>>>
>>>> Quick answer - I think Jan is documenting most of this on the Wiki at
>>>> the
>>>> moment.
>>>> Longer answer - It will scan for anything that maven knows about:
>>>>
>>>>   classes
>>>>   resources
>>>>   web.xml
>>>>
>>>> It is jasper that scans for changed JSPs (and jasper is just a servlet).
>>>>
>>>> cheers
>>>>
>>>>
>>>> Wesslan wrote:
>>>>
>>>>> This is my first post to a Jetty list so if this is more suited in the
>>>>
>>>> Jetty
>>>>
>>>>> discuss-list, please enlighten me. :-)
>>>>>
>>>>> I'm trying out the maven-jetty6-plugin and it looks great so far.
>>>>> I'm using the hot deploy-feature and I'm wondering what changes the
>>>>> plugin
>>>>> scans for?
>>>>>
>>>>> I know it scans for
>>>>> * JSP's (duh)
>>>>> * Compiled classes
>>>>> * WEB-INF/web.xml
>>>>>
>>>>> But, what about
>>>>> * property-files (like in WEB-INF/ and WEB-INF/classes)
>>>>> * Changes to libs (WEB-INF/lib)
>>>>>
>>>>> I use Spring so I found out that it (not suprisingly, how could Jetty
>>>>> know...) doesn't scan for changes in my WEB-INF/applicationContext.xml.
>>>>> This is a very important file (more important than web.xml) for
>>>>
>>>> Spring-users
>>>>
>>>>> so it would be nice to somehow specify that this file could be scanned
>>>>
>>>> also
>>>>
>>>>> (like one can do in Tomcat).
>>>>>
>>>>> To summarize my questions:
>>>>> * What does the maven-jetty6-plugin scan for and what does it NOT scan
>>>>
>>>> for?
>>>>
>>>>> * Is it possible to specify extra files to scan for changes?
>>>>>
>>>>> Cheers
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------
>>>>> Using Tomcat but need to do more? Need to support web services,
>>>>> security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job
>>>>
>>>> easier
>>>>
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>>>> Geronimo
>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>> _______________________________________________
>>>>> Jetty-support mailing list
>>>>> Jetty-support@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> Using Tomcat but need to do more? Need to support web services,
>>>> security?
>>>> Get stuff done quickly with pre-integrated technology to make your job
>>>> easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>>> Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Jetty-support mailing list
>>>> Jetty-support@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> Using Tomcat but need to do more? Need to support web services,
>>>> security?
>>>> Get stuff done quickly with pre-integrated technology to make your job
>>>> easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>>> Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Jetty-support mailing list
>>>> Jetty-support@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>>
>>>
>>>
>>> -------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Jetty-support mailing list
>>> Jetty-support@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> Jetty-support@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Jetty-support mailing list
>> Jetty-support@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>>
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support