dist goal fails if top level dir does not end in "jdo"
------------------------------------------------------
Key: JDO-603
URL: https://issues.apache.org/jira/browse/JDO-603
Project: JDO
Issue Type: Bug
Components: site and infrastructure
Affects Versions: JDO 2 maintenance release 1
Reporter: Michelle Caisse
Assignee: Michelle Caisse
Fix For: JDO 2 maintenance release 2
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.