tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From César Hernández Mendoza <cesargu...@gmail.com>
Subject Re: TomEE maven plugin updateOnlyExtension
Date Tue, 14 May 2019 02:26:34 GMT
Hi Felipe,

Sometimes browser need instead of F5 a hard refresh [1]
If you still have this issue it would be interesting to check your web.xml
and/or a sample repo that replicates the issue.

[1]
https://fabricdigital.co.nz/assets/How-to-hard-refresh-browser-infographic.jpg

El jue., 9 may. 2019 a las 5:40, Felipe Jaekel (<fkjaekel@gmail.com>)
escribió:

> Hi,
>
> I'm testing the TomEE maven plugin on a JSF project. I
> added <updateOnlyExtension>.xhtml</updateOnlyExtension>.
>
> When I change a xhtml I see on the console
> [INFO] [Updating]
>
> /home/fjaekel/java/Eclipse/photon/workspace/PacsWeb/src/main/webapp/page/consultaExame.xhtml
> to
>
> /home/fjaekel/java/Eclipse/photon/workspace/PacsWeb/target/apache-tomee/webapps/ResultadosWeb/page/consultaExame.xhtml
>
> But when I hit F5 on the browser the page is not updated.
>
> Am I missing something?
> Thanks
>
> Plugin config: ${tomee.version} is 7.0.5
> <plugin>
> <groupId>org.apache.tomee.maven</groupId>
> <artifactId>tomee-maven-plugin</artifactId>
> <version>${tomee.version}</version>
> <configuration>
> <reloadOnUpdate>true</reloadOnUpdate>
> <synchronization>
> <!-- extensions triggering a redeployment -->
> <extensions>
> <extension>.class</extension>
> </extensions>
> <updateOnlyExtensions>
> <updateOnlyExtension>.xhtml</updateOnlyExtension>
> <updateOnlyExtension>.js</updateOnlyExtension>
> <updateOnlyExtension>.css</updateOnlyExtension>
> </updateOnlyExtensions>
> </synchronization>
> <tomeeVersion>${tomee.version}</tomeeVersion>
> <tomeeClassifier>plus</tomeeClassifier>
> <checkStarted>true</checkStarted>
> <config>${project.basedir}/src/test/tomee/conf</config>
> <libs>
> <lib>mysql:mysql-connector-java:5.1.47</lib>
> <lib>org.firebirdsql.jdbc:jaybird-jdk18:3.0.4</lib>
> </libs>
> </configuration>
> </plugin>
>


-- 
Atentamente:
César Hernández.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message