Eclipse launch configurations for bootstrap code
------------------------------------------------

         Key: MNG-2449
         URL: http://jira.codehaus.org/browse/MNG-2449
     Project: Maven 2
        Type: Improvement

  Components: Bootstrap & Build  
    Versions: 2.1    
    Reporter: Jochen Kuhnle
    Priority: Minor
 Attachments: bootstrap-installer-patch.txt, bootstrap-mini-patch.txt

While looking at some problems in the bootstrap process, I created a few 
eclipse launch files. Maybe we could include them, so the next developer has an 
easier start.

The two patches contain three launch files and the following readme:

Eclipse Launch Configurations
-----------------------------

This directory contains Eclipse launch configurations for debugging the
Maven 2 bootstrap process.

To use these configurations, you have to the following:

1.      Define the variable m2dev_repo with the location of your development
        repository, e.g. "~/.m2dev/repository". You can do this in 
        Window->Preferences->Run/Debug->String substitution.

2.      Define the variable m2dev_prefix with the location of your development
        maven installation, e.g. "~/bin".

3.      Change the Eclipse output directory to something other than
        "target/classes" (e.g. "output/classes"), because bootstrapping cleans
        out "target", leaving you with no class files to debug...
        
To debug the bootstrap phases, run the launch configs in the following order:

1.      bootstrap-mini install
2.      bootstrap-mini package
3.      bootstrap-installer (in module bootstrap-installer)


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