Project
IntelliJ IDEA
Priority
Major
Type
Feature
Fix versions
No Fix versions
State
Fixed
Assignee
Nikolay Chashnikov
Subsystem
Ant
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Henning Andersen
    6 years ago (05 Sep 2005 12:49)
  • Updated by   Evgeniy Schepotiev
    2 years ago (27 Apr 2010 15:26)
  • Jira: IDEADEV-2373
    (history, comments)
 
IDEA-30062 IDEA 5.0: Ant "after compilation" runs after J2EE EAR build
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
In IDEA 4.5, enabling "after compilation" on an ant target makes it run after compilation, but before a J2EE modules EAR file is built. This allows enhancing classes for JDO, building an extra jar to include etc.

In IDEA 5.0, the ant target runs after the J2EE build which makes little sense.

Environment: Windows XP, IDEA integrated with JBoss using the JBoss plugin
Comments (3)
 
History
 
Linked Issues (?)
 
Alexey Kudravtsev
  Alexey Kudravtsev
30 Jan 2006 16:49
6 years ago
I think we won't change the sequence of tasks, since this can break other clients relying on the present execution order.
There are two suggestions I can think of:
  • You setup J2EE build output to exploded directory, and your (after compile) ant task does instrumentation and packs result into EAR file.
  • Or, you implement your custom compiler which makes necessary modifications in class files during IDEA make process. Please see
http://www.jetbrains.com/idea/openapi/5.0/com/intellij/openapi/compiler/ClassInstrumentingCompiler.html
Juan Carlos Estibariz
  Juan Carlos Estibariz
30 Jan 2006 20:33
6 years ago
What if you provide another option, like "before J2EE build", which would correspond to the old "after compilation"?
Nikolay Chashnikov
  Nikolay Chashnikov
02 Nov 2009 19:36
2 years ago
Now there is option "run ant task after build" for artifacts.
Related Changes
Resolved Date
2 years ago (02 Nov 2009 19:36)
State
OpenFixed
Fixed In build
<lost change>