Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-603

dist goal fails if top level dir does not end in "jdo"

    XMLWordPrintableJSON

Details

    Description

      The algorithm used to compute the dist directory requires that the top-level directory terminate in the string "jdo". The algorithm is codified in this line of trunk/project.properties:
      jdo.releases.dir = ${basedir.substring(0, basedir.lastIndexOf('jdo'))}jdo/releases

      This, for example, takes c:/jdoFooBar/branches/2.1.1 and converts it to c:/jdo/releases. It will fail completely for c:/code/branches/2.1.1.

      A fix allowing an arbitrary string as the local tree top level directory is difficult because it needs to work for both <topdir>/trunk/ and <topdir>/branches/<version>. The solution is to document the requirements for the directory name in <topdir>/HowToReleaseJDO.html.

      Attachments

        Activity

          People

            mcaisse Michelle Caisse
            mcaisse Michelle Caisse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: