Eclipse plugin config editor needs to look inside the module to determine the 
actual module group-id,  name, and version
------------------------------------------------------------------------------------------------------------------------

                 Key: CDV-607
                 URL: https://jira.terracotta.org/jira//browse/CDV-607
             Project: Community Development
          Issue Type: Bug
          Components: Eclipse Plugin
            Reporter: Juris Galang
            Assignee: Issue Review Board


Currently the Eclipse plugin will generate a list of modules to load at runtime 
based on the filename of the module jar file found. That is if, the jar file is 
named: foobar-1.0.0.jar it will create an entry  like so: <module name="foobar" 
version="1.0.0" group-id="..."/>

However since it's possible for a module to have a jar filename that has no 
relation whatsoever to its symbolic name, the current behavior for the Eclipse 
plugin will be inadequate, and it would be possible to generate a configuration 
(using the plugin) that will still cause TC to find the module - causing 
confusion.

Instead of fixing this however, I'd recommend that we stop supporting having a 
module jar filename completely disconnected from its symbolic name. that is if 
the jar filename is foobar-1.0.0.jar then we should be able to reasonably 
expect that the symbolic name is [group-id].foobar 

To support  module naming compatibility between OSGi and Maven, we will still 
have to translate from underscore characters from the symbolic name (this is an 
OSGi requirement) to dash (this is a Maven convention for jar filenames) - so, 
a module with a symbolic name: [group-id].foo_bar and version 1.0.0 will be 
packaged in a jar named foo-bar-1.0.0.jar 



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to