[mevenide-dev] [jira] Updated: (MEVENIDE-435) cannot debug tests when surefire's argLine paramter used in pom

"Arne And (JIRA)" <jira-yCVjj/[email protected]> Fri, 5 Sep 2008 03:49:49 -0500 (CDT)
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <7999351.1220604589175.JavaMail.haus-jira@codehaus01.managed.contegix.com>
     [ http://jira.codehaus.org/browse/MEVENIDE-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arne And updated MEVENIDE-435:
------------------------------

    Attachment: SurefirePlugin.java

Suggested solution, having an 'externalArgLine' readOnly property which also defaults to ${argLine}, and an 'inheritArgLine' boolean defaulting to true. If user sets 'argLine', it will be appended to 'externalArgLine' if 'inheritArgLine' is true. The inherit can of course be turned off if desirable. See attached suggested implementation. Not sure if it is the ultimate solution, but at least it worked for me, and gives the user of the plugin the possibility to decide what argLine to use

> cannot debug tests when surefire's argLine paramter used in pom
> ---------------------------------------------------------------
>
>                 Key: MEVENIDE-435
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-435
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_2.1.1
>            Reporter: Milos Kleint
>            Assignee: Milos Kleint
>             Fix For: NB_2.4
>
>         Attachments: SurefirePlugin.java
>
>
> the debug switches are passed to the surefire plugin via the -DargLine=-Xdebug...... property.
> However when user defines the argLine parameter for surefire plugin in the pom, the system property is not being evaluated. 
> There's currently no solution to the problem. One idea that needs some prottyping is to add a method to the embedder that would be able to run the build on top of MavenProject instance instead of a pom file. That we we could dynamically inject the additional debug switches dynamicaly when constructing the MavenProject instance.

-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email