No more synchronization of output directory
Hello all,
Since build #856, it seems that there is no more synchronization of the
output directory when compiling my project.
I have some gif and png images in my source tree along my classes.
Everything gets compiled to a directory called classes.
I'm using jikes for compiling, and I have checked the "synchronize output
directory", as usual.
And here is my resource patern :
.\.(properties|xml|html);.\.(gif|png|jpeg|jpg)
But when I compile or build, the new icons (or ones with a modified name)
won't be copied in the classes folder.
The synchronization only works when I rebuild the whole project !
Before #856, it also used to work when I simply launched a compile or simple
build.
Do I have to file an SCR for that ? or am I missing something ?
As a side note, when compiling/building/rebuilding, even if no classes have
changed, it should always check whether the resources have benn modified.
Because simply adding a new resource, it won't be copied if there's no
modification in any class. I should file a request for that as well, right ?
Guillaume
Please sign in to leave a comment.
Guillaume Laforge wrote:
I actually LOSE my resources from the output directory,
I have submitted this bug :
http://www.intellij.net/tracker/idea/viewSCR?publicId=14069
please add your comments to it.
Edo
Yep, it is a known issue and has just been fixed. Looks like you are using "compile", not "make".
The workaround is:
Go to <output-dir>/.dependency-info and delete "resource_compiler_timestamp.dat" file.
Then invoke "make project" (not "compile directory", but "make project").
Use only "make project" for further compilations.
--
Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"