[ 
http://jira.codehaus.org/browse/MECLIPSE-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264583#action_264583
 ] 

Dawid Weiss commented on MECLIPSE-687:
--------------------------------------

After inspecting the plugin's source code I've found out that you can simply 
embed <buildCommand> (new style declaration) into <buildcommands> block -- this 
allows one to specify arbitrary complex commands in any order. 

I think this feature could be documented as part of <buildcommands> block, 
because right now it's not possible to figure it out (unless somebody tries it 
blindly or inspects the sources).

> It is impossible to have a (complex) build command before the defaults.
> -----------------------------------------------------------------------
>
>                 Key: MECLIPSE-687
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-687
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.8
>            Reporter: Dawid Weiss
>
> For a project using an external tool builder it is impossible to have it run 
> BEFORE the defaults (like javabuilder). Or I didn't find an intuitive way to 
> do it, correct me if I'm wrong. The builder in question is, for example, an 
> invocation of ANT (which generates additional code to be compiled by javac):
>                 <additionalBuildcommands>
>                    <buildCommand>
>                      <name>org.ui.externaltools.ExternalToolBuilder</name>
>                      <triggers>auto,full,</triggers>
>                      <arguments>
>                        
> <LaunchConfigHandle>&lt;project&gt;/.externalToolBuilders/xxx.launch</LaunchConfigHandle>
>                      </arguments>
>                    </buildCommand>
>                 </additionalBuildcommands>
> Any builders from additionalBuildcommands are appended to the list after the 
> defaults. None of the following solve the problem:
> - adding javabuilder to <additionalBuildcommands> (after external builder),
> - specifying an empty <buildcommands></buildcommands> element to force 
> no-defaults (this would be my expectation to have a custom ordering of build 
> commands in additionalBuildcommands, but no -- no luck),
> - specifying external tool builder in <buildcommands> is impossible because 
> it takes arguments.
> Any other cues?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to