Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JDO 2 maintenance release 1 (2.1)
-
None
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.