You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2013/01/28 08:33:12 UTC

[jira] [Commented] (DERBY-6056) build fails in directory with missing .svn info due to interface change in newer versions of svnversion

    [ https://issues.apache.org/jira/browse/DERBY-6056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13564099#comment-13564099 ] 

Kristian Waagan commented on DERBY-6056:
----------------------------------------

For some reason I don't get any errors when I run 'ant -Dchangenumber="Unversioned directory" clobber'. This is in Cygwin on Windows 7.

Not directly related to this particular problem, but it may be good to clarify what we expect 'changenumber' to be. Is it either a Subversion revision number or the string "???" to indicate that the revision number is unknown for whatever reason?
This can be done by adding, for instance, the target 'linecontainsregexp' with an appropriate regexp in the 'filterchain' under 'loadfile'. Doing this may hide some output that would be clues to obvious error scenarios for the user.
                
> build fails in directory with missing .svn info due to interface change in newer versions of svnversion
> -------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6056
>                 URL: https://issues.apache.org/jira/browse/DERBY-6056
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>            Reporter: Dag H. Wanvik
>            Priority: Minor
>
> In newer versions of svnversion, the output given for an unversioned directory has changed, breaking our build. I see other projects have had similar problems. The old output was (1.6.16):
> $ svnversion
> exported
> The new version output is (1.7.6):
> $ svnversion
> Unversioned directory
> The symptom can be seem providing the value explicitly:
> $ ant -Dchangenumber="Unversioned directory" clobber
> Buildfile: C:\cygwin\home\dwanvik\java\sb\sb4\build.xml
> BUILD FAILED
> Target "directory" does not exist in the project "null". 
> Total time: 0 seconds
> I saw this in my Git sandbox on Windows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira