jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Integration for Eclipse
  • MNGECLIPSE-353

Add runtime Profile activation support

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 0.0.12
  • Component/s: Dependency Resolver, Indexer, UI
  • Labels:
    None

Description

This request is to allow profiles to be activated from within Eclipse UI itself.
(Note: This is not a request for the maven launcher functionality, but rather for profile enablement for dependency and repository management.)

Currently, the only means to activate a profile with property based activatation is to launch eclipse with -vmargs -Dproperty=activatingValue.

One approach might be to:

  • evaluate the effective pom and retrieve the available and activated profiles
  • present a dialog with the available profiles (List: [checkbox] [profilename] activatated profiles checked)
  • allow the user to check and uncheck profiles
  • save this state within plugin metadata
  • update the repository management
  • re-evaluate the dependencies based on the new active profile settings

This functionality is analogous to passing mvn -P switch.

The enhancement was originally discussed here:
http://www.nabble.com/Profile-dependencies-tf3890948s177.html#a11092303

Thanks for considering.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. XML File
    pom.xml
    30/Jun/07 12:45 AM
    2 kB
    Tim Reilly

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Eugene Kuleshov added a comment - 27/Jun/07 11:16 PM

Tim, can you please create and attach sample project that would have several profiles that would result into different dependencies. I have nearly done with this feature but need a test case before I can resolve this issue. Thanks.

Show
Eugene Kuleshov added a comment - 27/Jun/07 11:16 PM Tim, can you please create and attach sample project that would have several profiles that would result into different dependencies. I have nearly done with this feature but need a test case before I can resolve this issue. Thanks.
Hide
Permalink
Tim Reilly added a comment - 28/Jun/07 10:42 AM

Okay, I will create a sample project (hopefully, this evening) and attach.

Show
Tim Reilly added a comment - 28/Jun/07 10:42 AM Okay, I will create a sample project (hopefully, this evening) and attach.
Hide
Permalink
Tim Reilly added a comment - 30/Jun/07 12:45 AM

Let me know if this pom provides a good test case, or if I can provide more.

(btw: I posted or mis-posted this earlier but I don't see anything attached to the issue. Apologies if it's posted twice)

Show
Tim Reilly added a comment - 30/Jun/07 12:45 AM Let me know if this pom provides a good test case, or if I can provide more. (btw: I posted or mis-posted this earlier but I don't see anything attached to the issue. Apologies if it's posted twice)
Hide
Permalink
Eugene Kuleshov added a comment - 15/Sep/07 8:51 PM

Jason, can you please add an integration test for Embedder component that would use pom.xml attached to this issue and make sure that embedder.readProjectWithDependencies() call return correct list of dependencies when active profile is explicitly passed in the embedder/execution request.

Show
Eugene Kuleshov added a comment - 15/Sep/07 8:51 PM Jason, can you please add an integration test for Embedder component that would use pom.xml attached to this issue and make sure that embedder.readProjectWithDependencies() call return correct list of dependencies when active profile is explicitly passed in the embedder/execution request.
Hide
Permalink
Eugene Kuleshov added a comment - 11/Oct/07 2:49 PM

This issue is resolved in the recent Embedder build. I've updated corresponding testcase for Eclipse plugin.

Show
Eugene Kuleshov added a comment - 11/Oct/07 2:49 PM This issue is resolved in the recent Embedder build. I've updated corresponding testcase for Eclipse plugin.

People

  • Assignee:
    Eugene Kuleshov
    Reporter:
    Tim Reilly
Vote (2)
Watch (1)

Dates

  • Created:
    26/Jun/07 10:53 PM
    Updated:
    27/May/08 2:41 PM
    Resolved:
    11/Oct/07 2:49 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.