5 Replies Last post: Mar 27, 2013 10:58 AM by Eugene Zhuravlev  
aa  bb Newbie 3 posts since
Mar 16, 2013
Currently Being Moderated

Mar 16, 2013 10:33 PM

FreeMarker realoding problem

I have problem with intellij idea 12, everytime i edit FreeMarker (.ftl) file and run application again it doesnt reload file and instead keeps using old version of file.

 

If I close my project open it with idea 11 run application, and then go back to idea 12 (or keep using 11) everything works fine.

 

Invalidating cache doesnt work either.

 

anyone know what might cause the problem and how to solve it?

Peter Gromov Apprentice 726 posts since
Sep 12, 2002
Currently Being Moderated
Mar 17, 2013 11:25 AM in response to: aa bb
Re: FreeMarker realoding problem

What's the value of Settings | Compiler | Resource patterns?

Do you compile your project before run?

If you invoke Compile (Ctrl+Shift+F9) on the ftl file before running the project explicitly, do you get the same issue?

Peter Gromov Apprentice 726 posts since
Sep 12, 2002
Currently Being Moderated
Mar 18, 2013 1:39 AM in response to: aa bb
Re: FreeMarker realoding problem

Could you please try disabling Settings | Compiler | Use external build and rebuild project? Does this help?

Eugene Zhuravlev JetBrains 3,973 posts since
Oct 12, 2001
Currently Being Moderated
Mar 27, 2013 10:58 AM in response to: aa bb
Re: FreeMarker realoding problem

Please make sure the module where your resource file is located, is not imported from maven pom.xml. If this is the case, then all resources are processed according to settings specified in the pom.xml and not in Settings | Compiler | Resources. For all non pom.xml-originated modules standard IDEA's resources configuration applies.

 

Eugene.

More Like This

  • Retrieving data ...