Ant task After Compile problem?
When I mark an Ant task as Running On...After Compile, it seems to run even
if IDEA detects that no files need to be compiled (i.e., no files changed).
Is this a bug, or as designed?
Also, is there a way to associate the Running On...After Compile to a
specific package, i.e., only run the Ant task if files in a specific package
were actually compiled?
;ted
Please sign in to leave a comment.
It could behave both ways - no one is preferable since one can assign any task to run. Currently it runs the "after" task always.
There's no such functionality currently. It is also difficult to determine whether all files from the specified package are already
compiled because we don't have any special hooks in javac compiler and some package can span several modules.
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"