You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Qbyte Consulting <qb...@gmail.com> on 2018/11/28 03:12:01 UTC
Jetty not reloading
I’m finding resources are not dynamically reloading. Jetty config below, what do I need to do?
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.2.0.M0</version>
<configuration>
<httpConnector>
<port>9095</port>
</httpConnector>
<systemProperties>
<systemProperty>
<name>tapestry.execution-mode</name>
<value>development</value>
</systemProperty>
<systemProperty>
<name>version</name>
<value>${project.version}</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
Sent from my iPhone
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Jetty not reloading
Posted by Mats Andersson <ma...@ronsoft.se>.
It seems to be the same problem running the Jetty plugin in IntelliJ,
but a workaround if you edit the files inside IntelliJ is to
CTRL-s followed by CTRL-9
/Mats
On 2018-11-28 13:19, Qbyte Consulting wrote:
> So it turns out IntelliJ doesn’t copy resources to the target folder. Gotta do a mvn compile.
>
> Sent from my iPhone
>
>> On 28 Nov 2018, at 15:34, Mats Andersson <ma...@ronsoft.se> wrote:
>>
>> Usually tapestry.production-mode is used to check for updates less often so how can that help?
>>
>> Maybe tapestry.file-check-interval is defined somewhere? Default is 1s which should be enough in development. Also, make sure resources are actually copied to the target directory when they are changed in the souce. This is needed to make Tapestry aware of changes.
>>
>>
>> /Mats
>>
>>
>>> On 2018-11-28 09:09, Dmitry Gusev wrote:
>>> Hi!
>>>
>>> Make sure you have tapestry.production-mode=true set in one of your
>>> tapestry modules, or set in the system properties section in your pom.xml.
>>>
>>> Execution mode only specifies a list of additional tapestry modules
>>> (usually just one) for runtime configuration.
>>>
>>> On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting <qb...@gmail.com>
>>> wrote:
>>>
>>>> I’m finding resources are not dynamically reloading. Jetty config below,
>>>> what do I need to do?
>>>>
>>>>
>>>> <plugin>
>>>> <groupId>org.eclipse.jetty</groupId>
>>>> <artifactId>jetty-maven-plugin</artifactId>
>>>> <version>9.2.0.M0</version>
>>>> <configuration>
>>>> <httpConnector>
>>>> <port>9095</port>
>>>> </httpConnector>
>>>> <systemProperties>
>>>> <systemProperty>
>>>>
>>>> <name>tapestry.execution-mode</name>
>>>>
>>>> <value>development</value>
>>>> </systemProperty>
>>>> <systemProperty>
>>>>
>>>> <name>version</name>
>>>>
>>>> <value>${project.version}</value>
>>>> </systemProperty>
>>>> </systemProperties>
>>>> </configuration>
>>>> </plugin>
>>>>
>>>>
>>>>
>>>> Sent from my iPhone
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
--
---------------------- Mats Andersson | Ronsoft AB | +46(0)73 368 79 82
Re: Jetty not reloading
Posted by Qbyte Consulting <qb...@gmail.com>.
So it turns out IntelliJ doesn’t copy resources to the target folder. Gotta do a mvn compile.
Sent from my iPhone
> On 28 Nov 2018, at 15:34, Mats Andersson <ma...@ronsoft.se> wrote:
>
> Usually tapestry.production-mode is used to check for updates less often so how can that help?
>
> Maybe tapestry.file-check-interval is defined somewhere? Default is 1s which should be enough in development. Also, make sure resources are actually copied to the target directory when they are changed in the souce. This is needed to make Tapestry aware of changes.
>
>
> /Mats
>
>
>> On 2018-11-28 09:09, Dmitry Gusev wrote:
>> Hi!
>>
>> Make sure you have tapestry.production-mode=true set in one of your
>> tapestry modules, or set in the system properties section in your pom.xml.
>>
>> Execution mode only specifies a list of additional tapestry modules
>> (usually just one) for runtime configuration.
>>
>> On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting <qb...@gmail.com>
>> wrote:
>>
>>> I’m finding resources are not dynamically reloading. Jetty config below,
>>> what do I need to do?
>>>
>>>
>>> <plugin>
>>> <groupId>org.eclipse.jetty</groupId>
>>> <artifactId>jetty-maven-plugin</artifactId>
>>> <version>9.2.0.M0</version>
>>> <configuration>
>>> <httpConnector>
>>> <port>9095</port>
>>> </httpConnector>
>>> <systemProperties>
>>> <systemProperty>
>>>
>>> <name>tapestry.execution-mode</name>
>>>
>>> <value>development</value>
>>> </systemProperty>
>>> <systemProperty>
>>>
>>> <name>version</name>
>>>
>>> <value>${project.version}</value>
>>> </systemProperty>
>>> </systemProperties>
>>> </configuration>
>>> </plugin>
>>>
>>>
>>>
>>> Sent from my iPhone
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Jetty not reloading
Posted by Dmitry Gusev <dm...@gmail.com>.
Yeah, sorry, I wasn't clear, the tapestry.production-mode should be FALSE
in development mode.
On Wed, Nov 28, 2018 at 11:34 AM Mats Andersson <ma...@ronsoft.se>
wrote:
> Usually tapestry.production-mode is used to check for updates less often
> so how can that help?
>
> Maybe tapestry.file-check-interval is defined somewhere? Default is 1s
> which should be enough in development. Also, make sure resources are
> actually copied to the target directory when they are changed in the
> souce. This is needed to make Tapestry aware of changes.
>
>
> /Mats
>
>
> On 2018-11-28 09:09, Dmitry Gusev wrote:
> > Hi!
> >
> > Make sure you have tapestry.production-mode=true set in one of your
> > tapestry modules, or set in the system properties section in your
> pom.xml.
> >
> > Execution mode only specifies a list of additional tapestry modules
> > (usually just one) for runtime configuration.
> >
> > On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting <
> qbyteconsulting@gmail.com>
> > wrote:
> >
> >> I’m finding resources are not dynamically reloading. Jetty config below,
> >> what do I need to do?
> >>
> >>
> >> <plugin>
> >> <groupId>org.eclipse.jetty</groupId>
> >>
> <artifactId>jetty-maven-plugin</artifactId>
> >> <version>9.2.0.M0</version>
> >> <configuration>
> >> <httpConnector>
> >> <port>9095</port>
> >> </httpConnector>
> >> <systemProperties>
> >> <systemProperty>
> >>
> >> <name>tapestry.execution-mode</name>
> >>
> >> <value>development</value>
> >> </systemProperty>
> >> <systemProperty>
> >>
> >> <name>version</name>
> >>
> >> <value>${project.version}</value>
> >> </systemProperty>
> >> </systemProperties>
> >> </configuration>
> >> </plugin>
> >>
> >>
> >>
> >> Sent from my iPhone
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Dmitry Gusev
AnjLab Team
http://anjlab.com
Re: Jetty not reloading
Posted by Mats Andersson <ma...@ronsoft.se>.
Usually tapestry.production-mode is used to check for updates less often
so how can that help?
Maybe tapestry.file-check-interval is defined somewhere? Default is 1s
which should be enough in development. Also, make sure resources are
actually copied to the target directory when they are changed in the
souce. This is needed to make Tapestry aware of changes.
/Mats
On 2018-11-28 09:09, Dmitry Gusev wrote:
> Hi!
>
> Make sure you have tapestry.production-mode=true set in one of your
> tapestry modules, or set in the system properties section in your pom.xml.
>
> Execution mode only specifies a list of additional tapestry modules
> (usually just one) for runtime configuration.
>
> On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting <qb...@gmail.com>
> wrote:
>
>> I’m finding resources are not dynamically reloading. Jetty config below,
>> what do I need to do?
>>
>>
>> <plugin>
>> <groupId>org.eclipse.jetty</groupId>
>> <artifactId>jetty-maven-plugin</artifactId>
>> <version>9.2.0.M0</version>
>> <configuration>
>> <httpConnector>
>> <port>9095</port>
>> </httpConnector>
>> <systemProperties>
>> <systemProperty>
>>
>> <name>tapestry.execution-mode</name>
>>
>> <value>development</value>
>> </systemProperty>
>> <systemProperty>
>>
>> <name>version</name>
>>
>> <value>${project.version}</value>
>> </systemProperty>
>> </systemProperties>
>> </configuration>
>> </plugin>
>>
>>
>>
>> Sent from my iPhone
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Jetty not reloading
Posted by Dmitry Gusev <dm...@gmail.com>.
Hi!
Make sure you have tapestry.production-mode=true set in one of your
tapestry modules, or set in the system properties section in your pom.xml.
Execution mode only specifies a list of additional tapestry modules
(usually just one) for runtime configuration.
On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting <qb...@gmail.com>
wrote:
> I’m finding resources are not dynamically reloading. Jetty config below,
> what do I need to do?
>
>
> <plugin>
> <groupId>org.eclipse.jetty</groupId>
> <artifactId>jetty-maven-plugin</artifactId>
> <version>9.2.0.M0</version>
> <configuration>
> <httpConnector>
> <port>9095</port>
> </httpConnector>
> <systemProperties>
> <systemProperty>
>
> <name>tapestry.execution-mode</name>
>
> <value>development</value>
> </systemProperty>
> <systemProperty>
>
> <name>version</name>
>
> <value>${project.version}</value>
> </systemProperty>
> </systemProperties>
> </configuration>
> </plugin>
>
>
>
> Sent from my iPhone
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Dmitry Gusev
AnjLab Team
http://anjlab.com