3 Replies Latest reply on Mar 9, 2005 4:59 PM by François Duchatelet

    'cvsroot' at Component Level and using URLs instead.

    Damon Sicore Novice

      As I'm working on a template project using the new build, I think it would be better if we removed the 'cvsroot' attribute and replaced 'version' and 'module' with a URL containing all three. We should place that URL at the component level rather than the build level.

      So instead of:

      <build id="jbossas"
       ...
       cvsroot="cvs.sourceforge.net:/cvsroot/jboss"
       ...
       <component id="common"
       ...
       module="jboss-common"
       version="5.0-SNAPSHOT"
       </component>
      </build>
      


      You'd have something like:

      <build id="jbossas"
       ...
       <component id="common"
       ...
       versionURL="cvs:/cvs.sourceforge.net:/cvsroot/jboss:jboss-common:5.0-SNAPSHOT"
       ...
       </component>
      </build>
      


      This will allow:

      1. Allow individual components to be sourced from different repositories
      2. Allow the integration of different types of repositories (other VCSs)


      I understand the URL syntax is arbitrary at this point, but you get the idea. For example, to use svn:

      <build id="jbossas"
       ...
       <component id="common"
       ...
       versionURL="svn+ssh://user@svn.jboss.org/jboss/jems/common"
       ...
       </component>
      </build>
      


      We'd have to put some smart into the cvs url parsing as it isn't standard. But, we can make do.