[forge-issues] [JBoss JIRA] (FORGE-1180) Warn when duplicate classes are found in dependencies from separate addons

George Gastaldi (JIRA) jira-events at lists.jboss.org
Thu Sep 5 13:51:03 EDT 2013


George Gastaldi created FORGE-1180:
--------------------------------------

             Summary: Warn when duplicate classes are found in dependencies from separate addons
                 Key: FORGE-1180
                 URL: https://issues.jboss.org/browse/FORGE-1180
             Project: Forge
          Issue Type: Feature Request
          Components: Furnace (Container)
    Affects Versions: 2.0.0.Alpha11
            Reporter: George Gastaldi
             Fix For: 2.x Future


{quote}
<lincolnthree> gastaldi: the APIs will probably conflict if both are used in the same addon. in that case, a classloading-only addon containing the shared APIs must be created
<lincolnthree> gastaldi: this is the only downside of a modular system
<lincolnthree> gastaldi: one of the few downsides :)
<gastaldi> hum
<gastaldi> we need to have some way to query if a class exists in an addon 
<lincolnthree> gastaldi: why?
<gastaldi> so we avoid adding duplicate classes in different addons?
<lincolnthree> gastaldi: duplicate classes in addons is not a bug, per-say
<gastaldi> aka: how the heck would I know that one need to create a shared API for the bean-validation? 
<lincolnthree> gastaldi: what we could do is possibly some runtime analysis of the code and warn when duplicate classes are found in dependencies from separate addons
<lincolnthree> gastaldi: and we could also run this as a service on the forge website
<gastaldi> lincolnthree, so this shared API is just a enhancement, not requirement? 
<lincolnthree> gastaldi: correct
{quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list