
|
Available Workflow Actions
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Environment:
|
Irida 3354 on Windows XP SP2
|
|
| Build: |
3,354
|
| Severity: |
Extreme
|
Hi,
I need to enable module-specific pre- and postcompile steps in multimodule project. I can curently only define pre- and postcompile steps for the whole project, which doesn't work for me. Please see attached conversation with your support team. Basically, I need to use my JDO bytecode enhancer after my persistent domain module is compiled and before its .class files are included in my web application module's WEB-INF/classes via copying. Until this feature is added, I have to code workarounds to implement in ant.
Here's my conversation with support (most recent first):
Ooh, that's problematic. It just so happens that one of my modules consists of my persistent, JDO-enhanced classes, and one of my modules is a web application that uses them. Currently, the whole build completes, which copies my unenhanced class files to WEB-INF/classes of my web application, then my enhancement step runs, enhancing only the .class files that were built. You can see how this is problematic.
I will enter the enhancement request. What are the chances that it will get fixed before 5.0 goes GA?
--matthew
>----Original Message----
>From: Serge Baranov serge@jetbrains.com
>Sent: Tuesday, June 07, 2005 11:29 AM
>To: Matthew T. Adams
>Cc: support@intellij.com
>Subject: Re: [IDEA-Howto] Configure automatic post-compile step...
>
>
>Hello Matthew,
>
>It's not possible. You can submit a feature request for this here:
>http://jetbrains.net/jira/browse/IDEA .
>
>Serge Baranov
>JetBrains, Inc
>http://www.jetbrains.com
>"Develop with pleasure!"
>
>----Original Message----
>From: "Matthew T. Adams" <matthew.adams@xcalia.com>
>Sent: Tuesday, June 7, 2005, 10:20:54 PM
>To: "'Serge Baranov'" <support@jetbrains.com>
>Subject: [IDEA-Howto] Configure automatic post-compile step...
>
>That works almost as I want it to.
>
>I have a multimodule project, and I would like to configure
>module-specific post-compile steps, not just a post compile
>step for the
>whole project.
>
>For example, if I have modules a, b, and c, I want to run a
>specific ant
>target after the compilation of module b, not after the compilation of
>all of them, as b's post compile step is to invoke a JDO bytecode
>enhancer. Ideally, IDEA should allow me to configure pre and post
>compile steps for the whole project AND each individual module. Given
>this example (modules a, b, & c in multimodule project p) I should be
>able to define actions on events p.precompile, p.postcompile,
>a.precompile, a.postcompile, etc.
>
>How do I do that?
>
>Thanks,
>Matthew
>
>>----Original Message----
>>From: Serge Baranov serge@jetbrains.com
>>Sent: Wednesday, June 01, 2005 1:05 PM
>>To: Matthew Adams
>>Cc: support@intellij.com
>>Subject: Re: [IDEA-Howto] Configure automatic post-compile step...
>>
>>
>>Hello Matthew,
>>
>>It's possible for Ant targets. Add ant build.xml to your project,
>>configure a target which you want to execute, then right lick on the
>>target in the Ant's panel in IDEA and choose when you want it to be
>>automatically executed.
>>
>>Serge Baranov
>>JetBrains, Inc
>>http://www.jetbrains.com
>>"Develop with pleasure!"
>>
>>----Original Message----
>>From: "Matthew Adams" <matthew.adams@xcalia.com>
>>Sent: Thursday, June 2, 2005, 12:02:33 AM
>>To: support@jetbrains.com
>>Subject: [IDEA-Howto] Configure automatic post-compile step...
>>
>>I would like to configure a post-compile step that allows me
>>to invoke other utilities automatically after build so that I
>>can run my JDO enhancer and other utilities as a normal part
>>of my build process. Are there hooks for preCompile and
>>postCompile, similar to maven's preGoal and postGoal?
>>
>>I'm licensed for IDEA 4.5, but am using Irida build #3354 right now.
>>
>>Thanks,
>>Matthew
>>
>>--
>>OS: Windows XP
>>JDK: JDK 1.5.0
>>IDEA: 4.5
>>Build: (Irida) 3354
>>
>>
>>
>>
>>
>>
>
>
>
>Unable to render embedded object: File (42a5e5bd237952713713219) not found.
>
>
>
>
|
|
Description
|
Hi,
I need to enable module-specific pre- and postcompile steps in multimodule project. I can curently only define pre- and postcompile steps for the whole project, which doesn't work for me. Please see attached conversation with your support team. Basically, I need to use my JDO bytecode enhancer after my persistent domain module is compiled and before its .class files are included in my web application module's WEB-INF/classes via copying. Until this feature is added, I have to code workarounds to implement in ant.
Here's my conversation with support (most recent first):
Ooh, that's problematic. It just so happens that one of my modules consists of my persistent, JDO-enhanced classes, and one of my modules is a web application that uses them. Currently, the whole build completes, which copies my unenhanced class files to WEB-INF/classes of my web application, then my enhancement step runs, enhancing only the .class files that were built. You can see how this is problematic.
I will enter the enhancement request. What are the chances that it will get fixed before 5.0 goes GA?
--matthew
>---- Original Message----
>From: Serge Baranov serge@jetbrains.com
>Sent: Tuesday, June 07, 2005 11:29 AM
>To: Matthew T. Adams
>Cc: support@intellij.com
>Subject: Re: [IDEA-Howto] Configure automatic post-compile step...
>
>
>Hello Matthew,
>
>It's not possible. You can submit a feature request for this here:
> http://jetbrains.net/jira/browse/IDEA .
>
>Serge Baranov
>JetBrains, Inc
> http://www.jetbrains.com
>"Develop with pleasure!"
>
>---- Original Message----
>From: "Matthew T. Adams" <matthew.adams@xcalia.com>
>Sent: Tuesday, June 7, 2005, 10:20:54 PM
>To: "'Serge Baranov'" <support@jetbrains.com>
>Subject: [IDEA-Howto] Configure automatic post-compile step...
>
>That works almost as I want it to.
>
>I have a multimodule project, and I would like to configure
>module-specific post-compile steps, not just a post compile
>step for the
>whole project.
>
>For example, if I have modules a, b, and c, I want to run a
>specific ant
>target after the compilation of module b, not after the compilation of
>all of them, as b's post compile step is to invoke a JDO bytecode
>enhancer. Ideally, IDEA should allow me to configure pre and post
>compile steps for the whole project AND each individual module. Given
>this example (modules a, b, & c in multimodule project p) I should be
>able to define actions on events p.precompile, p.postcompile,
>a.precompile, a.postcompile, etc.
>
>How do I do that?
>
>Thanks,
>Matthew
>
>>---- Original Message----
>>From: Serge Baranov serge@jetbrains.com
>>Sent: Wednesday, June 01, 2005 1:05 PM
>>To: Matthew Adams
>>Cc: support@intellij.com
>>Subject: Re: [IDEA-Howto] Configure automatic post-compile step...
>>
>>
>>Hello Matthew,
>>
>>It's possible for Ant targets. Add ant build.xml to your project,
>>configure a target which you want to execute, then right lick on the
>>target in the Ant's panel in IDEA and choose when you want it to be
>>automatically executed.
>>
>>Serge Baranov
>>JetBrains, Inc
>> http://www.jetbrains.com
>>"Develop with pleasure!"
>>
>>---- Original Message----
>>From: "Matthew Adams" <matthew.adams@xcalia.com>
>>Sent: Thursday, June 2, 2005, 12:02:33 AM
>>To: support@jetbrains.com
>>Subject: [IDEA-Howto] Configure automatic post-compile step...
>>
>>I would like to configure a post-compile step that allows me
>>to invoke other utilities automatically after build so that I
>>can run my JDO enhancer and other utilities as a normal part
>>of my build process. Are there hooks for preCompile and
>>postCompile, similar to maven's preGoal and postGoal?
>>
>>I'm licensed for IDEA 4.5, but am using Irida build #3354 right now.
>>
>>Thanks,
>>Matthew
>>
>>--
>>OS: Windows XP
>>JDK: JDK 1.5.0
>>IDEA: 4.5
>>Build: (Irida) 3354
>>
>>
>>
>>
>>
>>
>
>
>
> Unable to render embedded object: File (42a5e5bd237952713713219) not found.
>
>
>
> |
Show » |
| There are no comments yet on this issue.
|
|