You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2010/09/22 23:13:33 UTC

[jira] Created: (SLING-1795) Add a way to transform the bundle list in some arbitrary manner

Add a way to transform the bundle list in some arbitrary manner
---------------------------------------------------------------

                 Key: SLING-1795
                 URL: https://issues.apache.org/jira/browse/SLING-1795
             Project: Sling
          Issue Type: New Feature
          Components: Maven Plugins
            Reporter: Justin Edelson
            Assignee: Justin Edelson


for the purpose of using instrumented bundles, the bundle list should be able to be transformed in some way. Currently, I'm thinking groovy scripts, but will investigate using an actual rules engine instead.

an example rule is
if the groupId is "org.apache.sling"
and the version ends with "-SNAPSHOT"
set the classifier to "emma"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1795) [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920740#action_12920740 ] 

Justin Edelson commented on SLING-1795:
---------------------------------------

done in r1022267 and documented on wiki.

> [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-1795
>                 URL: https://issues.apache.org/jira/browse/SLING-1795
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Maven Launchpad Plugin 2.0.8
>
>
> for the purpose of using instrumented bundles, the bundle list should be able to be transformed in some way. Currently, I'm thinking groovy scripts, but will investigate using an actual rules engine instead.
> an example rule is
> if the groupId is "org.apache.sling"
> and the version ends with "-SNAPSHOT"
> set the classifier to "emma"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1795) [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson updated SLING-1795:
----------------------------------

    Summary: [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner  (was: Add a way to transform the bundle list in some arbitrary manner)

> [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-1795
>                 URL: https://issues.apache.org/jira/browse/SLING-1795
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> for the purpose of using instrumented bundles, the bundle list should be able to be transformed in some way. Currently, I'm thinking groovy scripts, but will investigate using an actual rules engine instead.
> an example rule is
> if the groupId is "org.apache.sling"
> and the version ends with "-SNAPSHOT"
> set the classifier to "emma"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1795) Add a way to transform the bundle list in some arbitrary manner

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913934#action_12913934 ] 

Felix Meschberger commented on SLING-1795:
------------------------------------------

What is the use case of this ?
Will this be another bundle to install or part of some maven plugin only (as implied by the Component) ?

> Add a way to transform the bundle list in some arbitrary manner
> ---------------------------------------------------------------
>
>                 Key: SLING-1795
>                 URL: https://issues.apache.org/jira/browse/SLING-1795
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> for the purpose of using instrumented bundles, the bundle list should be able to be transformed in some way. Currently, I'm thinking groovy scripts, but will investigate using an actual rules engine instead.
> an example rule is
> if the groupId is "org.apache.sling"
> and the version ends with "-SNAPSHOT"
> set the classifier to "emma"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-1795) [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson resolved SLING-1795.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: Maven Launchpad Plugin 2.0.8

> [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-1795
>                 URL: https://issues.apache.org/jira/browse/SLING-1795
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Maven Launchpad Plugin 2.0.8
>
>
> for the purpose of using instrumented bundles, the bundle list should be able to be transformed in some way. Currently, I'm thinking groovy scripts, but will investigate using an actual rules engine instead.
> an example rule is
> if the groupId is "org.apache.sling"
> and the version ends with "-SNAPSHOT"
> set the classifier to "emma"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1795) [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914198#action_12914198 ] 

Justin Edelson commented on SLING-1795:
---------------------------------------

actually, that rule doesn't work, but that's because Maven doesn't read LATEST from the local repository. still, I think that's a valid use case

> [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-1795
>                 URL: https://issues.apache.org/jira/browse/SLING-1795
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> for the purpose of using instrumented bundles, the bundle list should be able to be transformed in some way. Currently, I'm thinking groovy scripts, but will investigate using an actual rules engine instead.
> an example rule is
> if the groupId is "org.apache.sling"
> and the version ends with "-SNAPSHOT"
> set the classifier to "emma"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1795) [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914195#action_12914195 ] 

Justin Edelson commented on SLING-1795:
---------------------------------------

another use case is to always run tests against the latest version of all sling bundles. that rule looks like this:

rule "use LATEST for all Sling bundles"
	
	when
		$bundleList : BundleList()
		$startLevel : StartLevel() from $bundleList.startLevels
		$bundle : Bundle(groupId == "org.apache.sling")
			from $startLevel.bundles
	then
		$bundle.version = "LATEST"
		
end

> [maven-launchpad-plugin] Add a way to transform the bundle list in some arbitrary manner
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-1795
>                 URL: https://issues.apache.org/jira/browse/SLING-1795
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> for the purpose of using instrumented bundles, the bundle list should be able to be transformed in some way. Currently, I'm thinking groovy scripts, but will investigate using an actual rules engine instead.
> an example rule is
> if the groupId is "org.apache.sling"
> and the version ends with "-SNAPSHOT"
> set the classifier to "emma"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1795) Add a way to transform the bundle list in some arbitrary manner

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914035#action_12914035 ] 

Justin Edelson commented on SLING-1795:
---------------------------------------

> What is the use case of this ? 
see http://markmail.org/message/fzwhiqmmcm5stal5

as discussed there, to run the integration tests against emma instrumented bundles, you either need an alternate bundle list or to transform the bundle list. I mentioned a very specific implementation of this transformation concept in that thread, but in thinking about it more feel that this should be done in as generic manner as possible.

> Will this be another bundle to install or part of some maven plugin only (as implied by the Component) ?
This is a build-time process and involves some changes to maven-launchpad-plugin.

> Add a way to transform the bundle list in some arbitrary manner
> ---------------------------------------------------------------
>
>                 Key: SLING-1795
>                 URL: https://issues.apache.org/jira/browse/SLING-1795
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> for the purpose of using instrumented bundles, the bundle list should be able to be transformed in some way. Currently, I'm thinking groovy scripts, but will investigate using an actual rules engine instead.
> an example rule is
> if the groupId is "org.apache.sling"
> and the version ends with "-SNAPSHOT"
> set the classifier to "emma"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.