maven jetty refresh xml

View: New views
8 Messages — Rating Filter:   Alert me  

maven jetty refresh xml

by bmoraillon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: users-unsubscribe@... For additional commands, e-mail: users-help@...

Re: maven jetty refresh xml

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does this fix a problem for you?  Can you describe the problem and how
to reproduce it?

Thanks,

Matt

On 2/28/07, benoit.moraillon@...
<benoit.moraillon@...> 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:
> users-unsubscribe@... For additional
> commands, e-mail: users-help@...


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: maven jetty refresh xml

by benoit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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, benoit.moraillon@...
> <benoit.moraillon@...> 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:
>> users-unsubscribe@... For additional
>> commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: maven jetty refresh xml

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <b.moraillon@...> 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, benoit.moraillon@...
> > <benoit.moraillon@...> 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:
> >> users-unsubscribe@... For additional
> >> commands, e-mail: users-help@...
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>


--
http://raibledesigns.com

Re: maven jetty refresh xml

by benoit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <b.moraillon@...> 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, benoit.moraillon@...
>> > <benoit.moraillon@...> 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:
>> >> users-unsubscribe@... For additional
>> >> commands, e-mail: users-help@...
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: maven jetty refresh xml

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <b.moraillon@...> 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 <b.moraillon@...> 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, benoit.moraillon@...
> >> > <benoit.moraillon@...> 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:
> >> >> users-unsubscribe@... For additional
> >> >> commands, e-mail: users-help@...
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@...
> >> For additional commands, e-mail: users-help@...
> >>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>


--
http://raibledesigns.com

Re: maven jetty refresh xml

by benoit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i forgot to congratulate all contributors for your the work made on
appfuse 2.0 !

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: maven jetty refresh xml

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This issue has been fixed in SVN.

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

Matt

On 2/28/07, Benoit Moraillon <b.moraillon@...> wrote:
> i forgot to congratulate all contributors for your the work made on
> appfuse 2.0 !
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...