maven jetty refresh xml

8 messages Options
Embed this post
Permalink
bmoraillon

maven jetty refresh xml

Reply Threaded More More options
Print post
Permalink

Hi appfusers ,

Im' using appfuse2.0 and i enjoy war:inplace maven task.

i suggest you to add a scnatarget this in pom.xml in order to allow jetty:run to check

for .xml or .properties changes :

<configuration>

<contextPath>/</contextPath>

<scanIntervalSeconds>3</scanIntervalSeconds>

<scanTargets>

<scanTarget>src/main/webapp/web-inf</scanTarget>

</scanTargets>

</configuration>

 

What is your opinion about this ?

 

--------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email]
mraible

Re: maven jetty refresh xml

Reply Threaded More More options
Print post
Permalink
Does this fix a problem for you?  Can you describe the problem and how
to reproduce it?

Thanks,

Matt

On 2/28/07, [hidden email]
<[hidden email]> wrote:

>
>
> Hi appfusers ,
>
> Im' using appfuse2.0 and i enjoy war:inplace maven task.
>
> i suggest you to add a scnatarget this in pom.xml in order to allow
> jetty:run to check
>
> for .xml or .properties changes :
>
> <configuration>
>
> <contextPath>/</contextPath>
>
> <scanIntervalSeconds>3</scanIntervalSeconds>
>
> <scanTargets>
>
> <scanTarget>src/main/webapp/web-inf</scanTarget>
>
> </scanTargets>
>
> </configuration>
>
>
>
> What is your opinion about this ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [hidden email] For additional
> commands, e-mail: [hidden email]


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

benoit

Re: maven jetty refresh xml

Reply Threaded More More options
Print post
Permalink
yes, i could not have jetty automatically reload my changes in a
web-in/*.xml file
(i'm using war:inplace feature)
Jetty reload automatically when changing *.java file.
So i add
<scanTargets>

<scanTarget>src/main/webapp/web-inf</scanTarget>

</scanTargets>

in order to force jetty reloading when changing *.xml file


Matt Raible a écrit :

> Does this fix a problem for you?  Can you describe the problem and how
> to reproduce it?
>
> Thanks,
>
> Matt
>
> On 2/28/07, [hidden email]
> <[hidden email]> wrote:
>>
>>
>> Hi appfusers ,
>>
>> Im' using appfuse2.0 and i enjoy war:inplace maven task.
>>
>> i suggest you to add a scnatarget this in pom.xml in order to allow
>> jetty:run to check
>>
>> for .xml or .properties changes :
>>
>> <configuration>
>>
>> <contextPath>/</contextPath>
>>
>> <scanIntervalSeconds>3</scanIntervalSeconds>
>>
>> <scanTargets>
>>
>> <scanTarget>src/main/webapp/web-inf</scanTarget>
>>
>> </scanTargets>
>>
>> </configuration>
>>
>>
>>
>> What is your opinion about this ?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> [hidden email] For additional
>> commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

mraible

Re: maven jetty refresh xml

Reply Threaded More More options
Print post
Permalink
Which files?  I'd like to try and reproduce.  I was using this feature
yesterday and it seems to work properly when editing web.xml.

Matt

On 2/28/07, Benoit Moraillon <[hidden email]> wrote:

> yes, i could not have jetty automatically reload my changes in a
> web-in/*.xml file
> (i'm using war:inplace feature)
> Jetty reload automatically when changing *.java file.
> So i add
> <scanTargets>
>
> <scanTarget>src/main/webapp/web-inf</scanTarget>
>
> </scanTargets>
>
> in order to force jetty reloading when changing *.xml file
>
>
> Matt Raible a écrit :
> > Does this fix a problem for you?  Can you describe the problem and how
> > to reproduce it?
> >
> > Thanks,
> >
> > Matt
> >
> > On 2/28/07, [hidden email]
> > <[hidden email]> wrote:
> >>
> >>
> >> Hi appfusers ,
> >>
> >> Im' using appfuse2.0 and i enjoy war:inplace maven task.
> >>
> >> i suggest you to add a scnatarget this in pom.xml in order to allow
> >> jetty:run to check
> >>
> >> for .xml or .properties changes :
> >>
> >> <configuration>
> >>
> >> <contextPath>/</contextPath>
> >>
> >> <scanIntervalSeconds>3</scanIntervalSeconds>
> >>
> >> <scanTargets>
> >>
> >> <scanTarget>src/main/webapp/web-inf</scanTarget>
> >>
> >> </scanTargets>
> >>
> >> </configuration>
> >>
> >>
> >>
> >> What is your opinion about this ?
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> >> [hidden email] For additional
> >> commands, e-mail: [hidden email]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://raibledesigns.com
benoit

Re: maven jetty refresh xml

Reply Threaded More More options
Print post
Permalink
Yes it works for web.xml but if you edit menu-config.xml or
faces-config.xml.

it does not reload.


Matt Raible a écrit :

> Which files?  I'd like to try and reproduce.  I was using this feature
> yesterday and it seems to work properly when editing web.xml.
>
> Matt
>
> On 2/28/07, Benoit Moraillon <[hidden email]> wrote:
>> yes, i could not have jetty automatically reload my changes in a
>> web-in/*.xml file
>> (i'm using war:inplace feature)
>> Jetty reload automatically when changing *.java file.
>> So i add
>> <scanTargets>
>>
>> <scanTarget>src/main/webapp/web-inf</scanTarget>
>>
>> </scanTargets>
>>
>> in order to force jetty reloading when changing *.xml file
>>
>>
>> Matt Raible a écrit :
>> > Does this fix a problem for you?  Can you describe the problem and how
>> > to reproduce it?
>> >
>> > Thanks,
>> >
>> > Matt
>> >
>> > On 2/28/07, [hidden email]
>> > <[hidden email]> wrote:
>> >>
>> >>
>> >> Hi appfusers ,
>> >>
>> >> Im' using appfuse2.0 and i enjoy war:inplace maven task.
>> >>
>> >> i suggest you to add a scnatarget this in pom.xml in order to allow
>> >> jetty:run to check
>> >>
>> >> for .xml or .properties changes :
>> >>
>> >> <configuration>
>> >>
>> >> <contextPath>/</contextPath>
>> >>
>> >> <scanIntervalSeconds>3</scanIntervalSeconds>
>> >>
>> >> <scanTargets>
>> >>
>> >> <scanTarget>src/main/webapp/web-inf</scanTarget>
>> >>
>> >> </scanTargets>
>> >>
>> >> </configuration>
>> >>
>> >>
>> >>
>> >> What is your opinion about this ?
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail:
>> >> [hidden email] For additional
>> >> commands, e-mail: [hidden email]
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

mraible

Re: maven jetty refresh xml

Reply Threaded More More options
Print post
Permalink
Can you enter an issue for this in JIRA?  I'll make sure it gets into
the next release.

http://issues.appfuse.org/secure/CreateIssue!default.jspa

Matt

On 2/28/07, Benoit Moraillon <[hidden email]> wrote:

> Yes it works for web.xml but if you edit menu-config.xml or
> faces-config.xml.
>
> it does not reload.
>
>
> Matt Raible a écrit :
> > Which files?  I'd like to try and reproduce.  I was using this feature
> > yesterday and it seems to work properly when editing web.xml.
> >
> > Matt
> >
> > On 2/28/07, Benoit Moraillon <[hidden email]> wrote:
> >> yes, i could not have jetty automatically reload my changes in a
> >> web-in/*.xml file
> >> (i'm using war:inplace feature)
> >> Jetty reload automatically when changing *.java file.
> >> So i add
> >> <scanTargets>
> >>
> >> <scanTarget>src/main/webapp/web-inf</scanTarget>
> >>
> >> </scanTargets>
> >>
> >> in order to force jetty reloading when changing *.xml file
> >>
> >>
> >> Matt Raible a écrit :
> >> > Does this fix a problem for you?  Can you describe the problem and how
> >> > to reproduce it?
> >> >
> >> > Thanks,
> >> >
> >> > Matt
> >> >
> >> > On 2/28/07, [hidden email]
> >> > <[hidden email]> wrote:
> >> >>
> >> >>
> >> >> Hi appfusers ,
> >> >>
> >> >> Im' using appfuse2.0 and i enjoy war:inplace maven task.
> >> >>
> >> >> i suggest you to add a scnatarget this in pom.xml in order to allow
> >> >> jetty:run to check
> >> >>
> >> >> for .xml or .properties changes :
> >> >>
> >> >> <configuration>
> >> >>
> >> >> <contextPath>/</contextPath>
> >> >>
> >> >> <scanIntervalSeconds>3</scanIntervalSeconds>
> >> >>
> >> >> <scanTargets>
> >> >>
> >> >> <scanTarget>src/main/webapp/web-inf</scanTarget>
> >> >>
> >> >> </scanTargets>
> >> >>
> >> >> </configuration>
> >> >>
> >> >>
> >> >>
> >> >> What is your opinion about this ?
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail:
> >> >> [hidden email] For additional
> >> >> commands, e-mail: [hidden email]
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://raibledesigns.com
benoit

Re: maven jetty refresh xml

Reply Threaded More More options
Print post
Permalink
i forgot to congratulate all contributors for your the work made on
appfuse 2.0 !

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

mraible

Re: maven jetty refresh xml

Reply Threaded More More options
Print post
Permalink
This issue has been fixed in SVN.

http://issues.appfuse.org/browse/APF-671

Matt

On 2/28/07, Benoit Moraillon <[hidden email]> wrote:
> i forgot to congratulate all contributors for your the work made on
> appfuse 2.0 !
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]