Re: [jetty-user] Re: Filtering types of files that trigger auto reload of a webapp in the maven plugin
Jakub Skoczen <[email protected]>
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <[email protected]> |
Here are the interesting bits -- pretty standard.
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<stopPort>9966</stopPort>
<stopKey>jetty-stop</stopKey>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webXml>${project.build.directory}/web.xml</webXml>
<scanTargetPatterns>
<scanTargetPattern>
<directory>${project.build.outputDirectory}</directory>
<excludes>
<exclude>**/*.html</exclude>
</excludes>
</scanTargetPattern>
</scanTargetPatterns>
</configuration>
</plugin>
But, as I mentioned, after looking at the maven-jetty-plugin src code
is seems to me that the scanTarget/Patterns are applied after built-in
"scan target" and there's no way to put filters there. But I might be
wrong (I hope).
On Wed, Aug 18, 2010 at 3:27 PM, Jesse McConnell
<[email protected]> wrote:
> On Wed, Aug 18, 2010 at 08:15, Jakub Skoczen <[email protected]> wrote:
>> On Wed, Aug 18, 2010 at 3:11 PM, Jesse McConnell
>> <[email protected]> wrote:
>>> last time I used netbeans was....well it was the 90's so no idea...
>>>
>>> fwiw I have no idea who wrote that plugin either, but he/she would be
>>> the person to ask
>>
>> This is the standard maven-jetty-plugin we're talking about here and
>> the fact that I'm using netbeans is completely orthogonal to this. But
>> thanks anyway :)
>>
>
> oh well that is different :)
>
> so your using the excludes options on the scanTargetPlatform?
>
> care to cut and paste your plugin configuration that isn't working and
> we can take a look?
>
> cheers,
> jesse
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
--
Cheers,
Jakub
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email