[jira] Updated: (GERONIMO-2757) Enhance plugin schema to allow for multiple versions of a plugin

2007-07-12 Thread Jason Warner (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Warner updated GERONIMO-2757:
---

Attachment: Geronimo-2757ExportSimplified.patch

I attached another patch that accomplishes the same goal as the previous patch 
for the export functionality.  This time, though, the UI is greatly simplified. 
 This results in more simplified functionality for the geronimo-plugin.xml in 
that only one version can be specified.

 Enhance plugin schema to allow for multiple versions of a plugin
 

 Key: GERONIMO-2757
 URL: https://issues.apache.org/jira/browse/GERONIMO-2757
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Plugins
Affects Versions: 2.0-M5
Reporter: Paul McMahan
Assignee: Jason Warner
 Fix For: 2.0-M7

 Attachments: geronimo-2757.patch, Geronimo-2757.patch, 
 Geronimo-2757.patch, Geronimo-2757Export.patch, 
 Geronimo-2757ExportSimplified.patch, Geronimo-2757Update.patch


 plugins-1.1.xsd currently allows for a single version of a plugin to be 
 described from within a plugin element.   For example, if there were a 
 different version of plugin for each version of geronimo then the plugin 
 catalog would like something like:
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 geronimo-version1.1/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 geronimo-version1.2/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 geronimo-version2.0/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 [...]
 /plugin
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/default-repository
 Plugins are usually not compatible across versions of Geronimo for various 
 reasons, probably the most prominent of which is Geronimo's reliance on 
 serialized java objects in CAR files.  Browsing a catalog that contains a 
 plugin element for each version of Geronimo's plugins from the  admin 
 console or from the CLI  would be confusing because of the many (seemingly 
 redundant) entries.  Therefore the collection of Geronimo plugins is 
 distributed across a set of catalogs, one per version of Geronimo, and each 
 version of Geronimo points at a version specific plugin catalog.
 Modifying the plugin schema so that a plugin element can allow the plugin's 
 module-id and source-repository to depend on the geronimo-version would 
 allow there to be much fewer entries in a consolidated plugin catalog.  A 
 plugin catalog that is created using this modified schema might look 
 something like (this is just a sample) :
 plugin
 geronimo-version version=1.1
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 /geronimo-version
 geronimo-version version=1.2
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 /geronimo-version
 geronimo-version version=2.0
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 /geronimo-version
 [...]
 /plugin
 Also, for this to work a customized list of prerequisite elements would 
 probably have to be supported inside the geronimo-version element as well, 
 since those might also be version specific.
 Once this improvement is in place it will be easier to maintain Geronimo's 
 plugin collection since each version of Geronimo won't require a separate 
 catalog.  Also it will be easier for end users and other external sources to 
 refer to Geronimo's plugin catalog since the repository URL will no longer be 
 version specific.

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



[jira] Updated: (GERONIMO-2757) Enhance plugin schema to allow for multiple versions of a plugin

2007-07-11 Thread Jason Warner (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Warner updated GERONIMO-2757:
---

Attachment: Geronimo-2757Export.patch

This patch fixes the export so that the geronimo-versions element is now 
included.

 Enhance plugin schema to allow for multiple versions of a plugin
 

 Key: GERONIMO-2757
 URL: https://issues.apache.org/jira/browse/GERONIMO-2757
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Plugins
Affects Versions: 2.0-M5
Reporter: Paul McMahan
Assignee: Jason Warner
 Fix For: 2.0-M7

 Attachments: geronimo-2757.patch, Geronimo-2757.patch, 
 Geronimo-2757.patch, Geronimo-2757Export.patch, Geronimo-2757Update.patch


 plugins-1.1.xsd currently allows for a single version of a plugin to be 
 described from within a plugin element.   For example, if there were a 
 different version of plugin for each version of geronimo then the plugin 
 catalog would like something like:
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 geronimo-version1.1/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 geronimo-version1.2/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 geronimo-version2.0/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 [...]
 /plugin
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/default-repository
 Plugins are usually not compatible across versions of Geronimo for various 
 reasons, probably the most prominent of which is Geronimo's reliance on 
 serialized java objects in CAR files.  Browsing a catalog that contains a 
 plugin element for each version of Geronimo's plugins from the  admin 
 console or from the CLI  would be confusing because of the many (seemingly 
 redundant) entries.  Therefore the collection of Geronimo plugins is 
 distributed across a set of catalogs, one per version of Geronimo, and each 
 version of Geronimo points at a version specific plugin catalog.
 Modifying the plugin schema so that a plugin element can allow the plugin's 
 module-id and source-repository to depend on the geronimo-version would 
 allow there to be much fewer entries in a consolidated plugin catalog.  A 
 plugin catalog that is created using this modified schema might look 
 something like (this is just a sample) :
 plugin
 geronimo-version version=1.1
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 /geronimo-version
 geronimo-version version=1.2
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 /geronimo-version
 geronimo-version version=2.0
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 /geronimo-version
 [...]
 /plugin
 Also, for this to work a customized list of prerequisite elements would 
 probably have to be supported inside the geronimo-version element as well, 
 since those might also be version specific.
 Once this improvement is in place it will be easier to maintain Geronimo's 
 plugin collection since each version of Geronimo won't require a separate 
 catalog.  Also it will be easier for end users and other external sources to 
 refer to Geronimo's plugin catalog since the repository URL will no longer be 
 version specific.

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



[jira] Updated: (GERONIMO-2757) Enhance plugin schema to allow for multiple versions of a plugin

2007-06-21 Thread Jason Warner (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Warner updated GERONIMO-2757:
---

Attachment: Geronimo-2757Update.patch

Patch added that incorporates changes to the Installer UI, that ability to add 
more than one source-repository to a given geronimo-versions element, and a fix 
for a big that resulted in prerequisites being displayed twice.

 Enhance plugin schema to allow for multiple versions of a plugin
 

 Key: GERONIMO-2757
 URL: https://issues.apache.org/jira/browse/GERONIMO-2757
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Plugins
Affects Versions: 2.0-M5
Reporter: Paul McMahan
Assignee: Jason Warner
 Fix For: 2.0-M7

 Attachments: geronimo-2757.patch, Geronimo-2757.patch, 
 Geronimo-2757.patch, Geronimo-2757Update.patch


 plugins-1.1.xsd currently allows for a single version of a plugin to be 
 described from within a plugin element.   For example, if there were a 
 different version of plugin for each version of geronimo then the plugin 
 catalog would like something like:
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 geronimo-version1.1/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 geronimo-version1.2/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 geronimo-version2.0/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 [...]
 /plugin
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/default-repository
 Plugins are usually not compatible across versions of Geronimo for various 
 reasons, probably the most prominent of which is Geronimo's reliance on 
 serialized java objects in CAR files.  Browsing a catalog that contains a 
 plugin element for each version of Geronimo's plugins from the  admin 
 console or from the CLI  would be confusing because of the many (seemingly 
 redundant) entries.  Therefore the collection of Geronimo plugins is 
 distributed across a set of catalogs, one per version of Geronimo, and each 
 version of Geronimo points at a version specific plugin catalog.
 Modifying the plugin schema so that a plugin element can allow the plugin's 
 module-id and source-repository to depend on the geronimo-version would 
 allow there to be much fewer entries in a consolidated plugin catalog.  A 
 plugin catalog that is created using this modified schema might look 
 something like (this is just a sample) :
 plugin
 geronimo-version version=1.1
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 /geronimo-version
 geronimo-version version=1.2
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 /geronimo-version
 geronimo-version version=2.0
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 /geronimo-version
 [...]
 /plugin
 Also, for this to work a customized list of prerequisite elements would 
 probably have to be supported inside the geronimo-version element as well, 
 since those might also be version specific.
 Once this improvement is in place it will be easier to maintain Geronimo's 
 plugin collection since each version of Geronimo won't require a separate 
 catalog.  Also it will be easier for end users and other external sources to 
 refer to Geronimo's plugin catalog since the repository URL will no longer be 
 version specific.

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



[jira] Updated: (GERONIMO-2757) Enhance plugin schema to allow for multiple versions of a plugin

2007-06-07 Thread Donald Woods (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Donald Woods updated GERONIMO-2757:
---

Assignee: Jason Warner  (was: Donald Woods)

I needed this patch applied so I could then integrate other plugin 
fixes/enhancements and not break this patch file.
Part 1 - Committed revision 545320 in trunk.
Applied the May 16th patch and updated ExportConfigHandler to not cause a NPE 
due to optional attributes under the new geronimo-version element.
Jason, assigning back to you for the other required Console updates.

 Enhance plugin schema to allow for multiple versions of a plugin
 

 Key: GERONIMO-2757
 URL: https://issues.apache.org/jira/browse/GERONIMO-2757
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Plugins
Affects Versions: 2.0-M5
Reporter: Paul McMahan
Assignee: Jason Warner
 Fix For: 2.0-M7

 Attachments: geronimo-2757.patch, Geronimo-2757.patch, 
 Geronimo-2757.patch


 plugins-1.1.xsd currently allows for a single version of a plugin to be 
 described from within a plugin element.   For example, if there were a 
 different version of plugin for each version of geronimo then the plugin 
 catalog would like something like:
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 geronimo-version1.1/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 geronimo-version1.2/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 geronimo-version2.0/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 [...]
 /plugin
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/default-repository
 Plugins are usually not compatible across versions of Geronimo for various 
 reasons, probably the most prominent of which is Geronimo's reliance on 
 serialized java objects in CAR files.  Browsing a catalog that contains a 
 plugin element for each version of Geronimo's plugins from the  admin 
 console or from the CLI  would be confusing because of the many (seemingly 
 redundant) entries.  Therefore the collection of Geronimo plugins is 
 distributed across a set of catalogs, one per version of Geronimo, and each 
 version of Geronimo points at a version specific plugin catalog.
 Modifying the plugin schema so that a plugin element can allow the plugin's 
 module-id and source-repository to depend on the geronimo-version would 
 allow there to be much fewer entries in a consolidated plugin catalog.  A 
 plugin catalog that is created using this modified schema might look 
 something like (this is just a sample) :
 plugin
 geronimo-version version=1.1
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 /geronimo-version
 geronimo-version version=1.2
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 /geronimo-version
 geronimo-version version=2.0
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 /geronimo-version
 [...]
 /plugin
 Also, for this to work a customized list of prerequisite elements would 
 probably have to be supported inside the geronimo-version element as well, 
 since those might also be version specific.
 Once this improvement is in place it will be easier to maintain Geronimo's 
 plugin collection since each version of Geronimo won't require a separate 
 catalog.  Also it will be easier for end users and other external sources to 
 refer to Geronimo's plugin catalog since the repository URL will no longer be 
 version specific.

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



[jira] Updated: (GERONIMO-2757) Enhance plugin schema to allow for multiple versions of a plugin

2007-05-16 Thread Jason Warner (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Warner updated GERONIMO-2757:
---

Attachment: geronimo-2757.patch

Here's the latest patch with two known bugs fixed.

 Enhance plugin schema to allow for multiple versions of a plugin
 

 Key: GERONIMO-2757
 URL: https://issues.apache.org/jira/browse/GERONIMO-2757
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Plugins
Affects Versions: 2.0-M5
Reporter: Paul McMahan
 Assigned To: Jason Warner
 Attachments: geronimo-2757.patch, Geronimo-2757.patch, 
 Geronimo-2757.patch


 plugins-1.1.xsd currently allows for a single version of a plugin to be 
 described from within a plugin element.   For example, if there were a 
 different version of plugin for each version of geronimo then the plugin 
 catalog would like something like:
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 geronimo-version1.1/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 geronimo-version1.2/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 geronimo-version2.0/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 [...]
 /plugin
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/default-repository
 Plugins are usually not compatible across versions of Geronimo for various 
 reasons, probably the most prominent of which is Geronimo's reliance on 
 serialized java objects in CAR files.  Browsing a catalog that contains a 
 plugin element for each version of Geronimo's plugins from the  admin 
 console or from the CLI  would be confusing because of the many (seemingly 
 redundant) entries.  Therefore the collection of Geronimo plugins is 
 distributed across a set of catalogs, one per version of Geronimo, and each 
 version of Geronimo points at a version specific plugin catalog.
 Modifying the plugin schema so that a plugin element can allow the plugin's 
 module-id and source-repository to depend on the geronimo-version would 
 allow there to be much fewer entries in a consolidated plugin catalog.  A 
 plugin catalog that is created using this modified schema might look 
 something like (this is just a sample) :
 plugin
 geronimo-version version=1.1
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 /geronimo-version
 geronimo-version version=1.2
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 /geronimo-version
 geronimo-version version=2.0
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 /geronimo-version
 [...]
 /plugin
 Also, for this to work a customized list of prerequisite elements would 
 probably have to be supported inside the geronimo-version element as well, 
 since those might also be version specific.
 Once this improvement is in place it will be easier to maintain Geronimo's 
 plugin collection since each version of Geronimo won't require a separate 
 catalog.  Also it will be easier for end users and other external sources to 
 refer to Geronimo's plugin catalog since the repository URL will no longer be 
 version specific.

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



[jira] Updated: (GERONIMO-2757) Enhance plugin schema to allow for multiple versions of a plugin

2007-04-16 Thread Jason Warner (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Warner updated GERONIMO-2757:
---

Attachment: Geronimo-2757.patch

Forgot to do an svn add when creating the original patch.  The required file 
should now be included in the patch.

 Enhance plugin schema to allow for multiple versions of a plugin
 

 Key: GERONIMO-2757
 URL: https://issues.apache.org/jira/browse/GERONIMO-2757
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Plugins
Affects Versions: 2.0-M5
Reporter: Paul McMahan
 Assigned To: Jason Warner
 Attachments: Geronimo-2757.patch, Geronimo-2757.patch


 plugins-1.1.xsd currently allows for a single version of a plugin to be 
 described from within a plugin element.   For example, if there were a 
 different version of plugin for each version of geronimo then the plugin 
 catalog would like something like:
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 geronimo-version1.1/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 geronimo-version1.2/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 geronimo-version2.0/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 [...]
 /plugin
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/default-repository
 Plugins are usually not compatible across versions of Geronimo for various 
 reasons, probably the most prominent of which is Geronimo's reliance on 
 serialized java objects in CAR files.  Browsing a catalog that contains a 
 plugin element for each version of Geronimo's plugins from the  admin 
 console or from the CLI  would be confusing because of the many (seemingly 
 redundant) entries.  Therefore the collection of Geronimo plugins is 
 distributed across a set of catalogs, one per version of Geronimo, and each 
 version of Geronimo points at a version specific plugin catalog.
 Modifying the plugin schema so that a plugin element can allow the plugin's 
 module-id and source-repository to depend on the geronimo-version would 
 allow there to be much fewer entries in a consolidated plugin catalog.  A 
 plugin catalog that is created using this modified schema might look 
 something like (this is just a sample) :
 plugin
 geronimo-version version=1.1
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 /geronimo-version
 geronimo-version version=1.2
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 /geronimo-version
 geronimo-version version=2.0
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 /geronimo-version
 [...]
 /plugin
 Also, for this to work a customized list of prerequisite elements would 
 probably have to be supported inside the geronimo-version element as well, 
 since those might also be version specific.
 Once this improvement is in place it will be easier to maintain Geronimo's 
 plugin collection since each version of Geronimo won't require a separate 
 catalog.  Also it will be easier for end users and other external sources to 
 refer to Geronimo's plugin catalog since the repository URL will no longer be 
 version specific.

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



[jira] Updated: (GERONIMO-2757) Enhance plugin schema to allow for multiple versions of a plugin

2007-04-02 Thread Jason Warner (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Warner updated GERONIMO-2757:
---

Attachment: Geronimo-2757.patch

The plugin feature has been updated to use a geronimo-versions element that 
allows for specifying specific prereqs and repos for each version.  The changes 
mantain backwards compatibility so as not to affect exisiting xml documents.  
The new xml uses a name of plugins-1.2.xsd and a corresponding namespace.

 Enhance plugin schema to allow for multiple versions of a plugin
 

 Key: GERONIMO-2757
 URL: https://issues.apache.org/jira/browse/GERONIMO-2757
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Plugins
Affects Versions: 2.0-M5
Reporter: Paul McMahan
 Assigned To: Jason Warner
 Attachments: Geronimo-2757.patch


 plugins-1.1.xsd currently allows for a single version of a plugin to be 
 described from within a plugin element.   For example, if there were a 
 different version of plugin for each version of geronimo then the plugin 
 catalog would like something like:
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 geronimo-version1.1/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 geronimo-version1.2/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 [...]
 /plugin
 plugin
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 geronimo-version2.0/geronimo-version
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 [...]
 /plugin
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/default-repository
 default-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/default-repository
 Plugins are usually not compatible across versions of Geronimo for various 
 reasons, probably the most prominent of which is Geronimo's reliance on 
 serialized java objects in CAR files.  Browsing a catalog that contains a 
 plugin element for each version of Geronimo's plugins from the  admin 
 console or from the CLI  would be confusing because of the many (seemingly 
 redundant) entries.  Therefore the collection of Geronimo plugins is 
 distributed across a set of catalogs, one per version of Geronimo, and each 
 version of Geronimo points at a version specific plugin catalog.
 Modifying the plugin schema so that a plugin element can allow the plugin's 
 module-id and source-repository to depend on the geronimo-version would 
 allow there to be much fewer entries in a consolidated plugin catalog.  A 
 plugin catalog that is created using this modified schema might look 
 something like (this is just a sample) :
 plugin
 geronimo-version version=1.1
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.1/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.1/source-repository
 /geronimo-version
 geronimo-version version=1.2
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/1.2/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-1.2/source-repository
 /geronimo-version
 geronimo-version version=2.0
 
 module-idorg.apache.geronimo.configs/ca-helper-tomcat/2.0/car/module-id
 
 source-repositoryhttp://geronimo.apache.org/plugins/geronimo-2.0/source-repository
 /geronimo-version
 [...]
 /plugin
 Also, for this to work a customized list of prerequisite elements would 
 probably have to be supported inside the geronimo-version element as well, 
 since those might also be version specific.
 Once this improvement is in place it will be easier to maintain Geronimo's 
 plugin collection since each version of Geronimo won't require a separate 
 catalog.  Also it will be easier for end users and other external sources to 
 refer to Geronimo's plugin catalog since the repository URL will no longer be 
 version specific.

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