You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Laird Nelson (JIRA)" <ji...@codehaus.org> on 2005/10/11 21:02:11 UTC

[jira] Commented: (MPCHANGELOG-69) Changelog returning 0 entries on Windows with CVS (not CVSNT)

    [ http://jira.codehaus.org/browse/MPCHANGELOG-69?page=comments#action_48357 ] 

Laird Nelson commented on MPCHANGELOG-69:
-----------------------------------------

I found a hideous, hideous workaround for this, which, like everything involving Jelly, relies on some black magic that I don't understand.

Put this or something similar in your maven.xml if you have an environment like the original poster (boy, I hope this is formatted right by JIRA):

<project xmlns:ant="jelly:ant" xmlns:j="jelly:core" xmlns:maven="jelly:maven">

  <j:set var="oldName" value="${systemScope['os.name']}"/>
  ${systemScope.setProperty('oldOSName', oldName)}

  <preGoal name="maven-changelog-plugin:report">
    ${systemScope.setProperty('os.name', 'bogus')}
  </preGoal>

  <postGoal name="maven-changelog-plugin:report">
    <j:set var="oldName" value="${systemScope['oldOSName']}"/>
    ${systemScope.setProperty('os.name', oldName)}
  </postGoal>

</project>

> Changelog returning 0 entries on Windows with CVS (not CVSNT)
> -------------------------------------------------------------
>
>          Key: MPCHANGELOG-69
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-69
>      Project: maven-changelog-plugin
>         Type: Bug
>     Versions: 1.8.2
>  Environment: Windows XP
> maven 1.0.2
> GNU cvs for DOS
> Cygwin cvs
>     Reporter: Daniel Beland
>     Priority: Critical
>      Fix For: 1.9

>
>
> A change as been made for users using CVSNT to add quotes aroud dates on windows. (MPCHANGELOG-47)
> However this add a bug for all other users using either cygwin's CVS or GNU cvs for DOS since it looks at the os.name value we cannot work around it.
> I think it should be added as a plugin property to set if they are using CVSNT to get quotes around the dates.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org