You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michelle Caisse (JIRA)" <ji...@apache.org> on 2008/08/01 20:06:31 UTC
[jira] Created: (JDO-603) dist goal fails if top level dir does not
end in "jdo"
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.
[jira] Commented: (JDO-603) dist goal fails if top level dir does
not end in "jdo"
Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623075#action_12623075 ]
Craig Russell commented on JDO-603:
-----------------------------------
Good idea. The dist goal should not continue if the directory is wrongly named.
> 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.
[jira] Commented: (JDO-603) dist goal fails if top level dir does
not end in "jdo"
Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622917#action_12622917 ]
Michelle Caisse commented on JDO-603:
-------------------------------------
We should test on dist that the directory has the proper name format and issue an error message if it does not.
> 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.
[jira] Resolved: (JDO-603) dist goal fails if top level dir does
not end in "jdo"
Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michelle Caisse resolved JDO-603.
---------------------------------
Resolution: Fixed
Completed: At revision: 687454
> 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.