Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n properties in JSF project on IntelliJ #260

Closed
arthurgregorio opened this issue Jul 18, 2018 · 11 comments
Closed

i18n properties in JSF project on IntelliJ #260

arthurgregorio opened this issue Jul 18, 2018 · 11 comments

Comments

@arthurgregorio
Copy link

Im trying to make hotswap agent 1.3 + dcevm on JDK 8u172 reload my i18n properties files after the edition process on intellij but until now, no way to make this thing work...

I defined the propoerties on the agent properties file but i don't know if the way i do will work:

watchResources=${project.root}/src/main/resources;
extraClasspath=${project.root}/target/classes;

I tryed to do in the same way like jrebel, but no hotswap for i18n properties... The project root variable is replaced by the maven resources pluign when i build the project and is a direct reference to the ${basedir} variable from maven..

Any advice?

@skybber
Copy link
Contributor

skybber commented Jul 18, 2018

It should work. I have no issue with it. Properties reloading is done both in Mojarra and MyFaces plugins. What app server are you using?

@arthurgregorio
Copy link
Author

i'm using wildfly 13

Is there any way to see if the file is being picked-up by the hotswap agent?

In jrebel, for example, we have a info on the log saying "the file xyz is being reloaded on path/of/the/file"

@skybber
Copy link
Contributor

skybber commented Jul 18, 2018

You can activate debug level for Mojarra plugin in hotswap-agent.properties. Then you should see this , but you won't ! The implementation for resources reloading is still missing for wildfly. I'm looking for someone to cooperate on this. I can help with this issue, but I don''t use the wildfly!

@arthurgregorio
Copy link
Author

uhmmmmmm!

Is there any documentation to help me how to develop this? ehehehe

It will be a nice feature for adding, i use WF and i can help if you want.

@skybber
Copy link
Contributor

skybber commented Jul 24, 2018

If you are still interested, please can contact me by email.

@arthurgregorio
Copy link
Author

Yes, i'll send a message.

Just for better understanding:

The wildfly plugin doesn't support reload any resource of JSF like managed beans, i18n resources? CDI beans with @Named can be reloaded by hotswap agent on wildfly?

@skybber
Copy link
Contributor

skybber commented Nov 19, 2018

Should be fixed in 1.3.1.SNAPSHOT.

@skybber
Copy link
Contributor

skybber commented Dec 5, 2018

Could you check it please?

@arthurgregorio
Copy link
Author

I will try, when you are planning to launch the 1.3.1-SNAPHOT?

@skybber
Copy link
Contributor

skybber commented Dec 6, 2018

We have no deadlines, but it shouldn't be this year :) Btw I'm updating SNAPSHOTs continuously

@skybber
Copy link
Contributor

skybber commented Dec 30, 2018

I've meant the (1.3.1-SNAPSHOT)[https://github.com/HotswapProjects/HotswapAgent/releases/tag/1.3.1-SNAPSHOT] is updated continuously, so could you check it please?

@skybber skybber closed this as completed Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants