You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Alex Ott (JIRA)" <ji...@apache.org> on 2012/10/29 10:49:12 UTC
[jira] [Created] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Alex Ott created CONNECTORS-560:
-----------------------------------
Summary: Can't perform 'ant make-deps' because of unknown command 'svn patch'
Key: CONNECTORS-560
URL: https://issues.apache.org/jira/browse/CONNECTORS-560
Project: ManifoldCF
Issue Type: Bug
Components: Build
Affects Versions: ManifoldCF next
Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
Reporter: Alex Ott
When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
patch-source-via-svn:
[exec] Unknown command: 'patch'
[exec] Type 'svn help' for usage.
BUILD FAILED
/media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
/media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
the problem arise due "older" version of Subversion, comparing with version used by other developers.
Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Resolved] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright resolved CONNECTORS-560.
------------------------------------
Resolution: Fixed
Fix Version/s: ManifoldCF 1.1
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
> Assignee: Karl Wright
> Fix For: ManifoldCF 1.1
>
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Comment Edited] (CONNECTORS-560) Can't perform 'ant
make-deps' because of unknown command 'svn patch'
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485958#comment-13485958 ]
Karl Wright edited comment on CONNECTORS-560 at 10/29/12 11:12 AM:
-------------------------------------------------------------------
'patch' is only definitely available on unix systems. Also, the DEPENDENCIES.txt and README.txt specifically state that you need svn 1.7 or greater.
It would certainly be beneficial to check up-front for correct svn client version. If you do want to implement a conditional use of patch, it would obviously need to confirm that patch really is installed rather than just assuming that it is.
was (Author: kwright@metacarta.com):
'patch' is only definitely available on unix systems. Also, the DEPENDENCIES.txt and README.txt specifically state that you need svn 1.7 or greater.
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Commented] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485976#comment-13485976 ]
Karl Wright commented on CONNECTORS-560:
----------------------------------------
r1403256 adds a condition check for svn version 1.7. (This, of course, is not going to work once svn goes to 1.8 or above.) If you would like to provide additional conditional logic for determining whether standard patch exists and can be run, and for applying a patch, please provide. Ant is not terribly well suited for this kind of coding, unfortunately.
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
> Assignee: Karl Wright
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Comment Edited] (CONNECTORS-560) Can't perform 'ant
make-deps' because of unknown command 'svn patch'
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485976#comment-13485976 ]
Karl Wright edited comment on CONNECTORS-560 at 10/29/12 11:55 AM:
-------------------------------------------------------------------
r1403256 adds a condition check for svn version 1.7. (This, of course, is not going to work once svn goes to 1.8 or above.) If you would like to provide additional conditional logic for determining whether standard patch exists and can be run, and for applying a diff using patch, please provide. Ant is not terribly well suited for this kind of coding, unfortunately.
was (Author: kwright@metacarta.com):
r1403256 adds a condition check for svn version 1.7. (This, of course, is not going to work once svn goes to 1.8 or above.) If you would like to provide additional conditional logic for determining whether standard patch exists and can be run, and for applying a patch, please provide. Ant is not terribly well suited for this kind of coding, unfortunately.
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
> Assignee: Karl Wright
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Commented] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498832#comment-13498832 ]
Karl Wright commented on CONNECTORS-560:
----------------------------------------
Not receiving any confirmation, I'm marking this ticket as resolved.
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
> Assignee: Karl Wright
> Fix For: ManifoldCF 1.1
>
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Commented] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485958#comment-13485958 ]
Karl Wright commented on CONNECTORS-560:
----------------------------------------
'patch' is only definitely available on unix systems. Also, the DEPENDENCIES.txt and README.txt specifically state that you need svn 1.7 or greater.
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Assigned] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright reassigned CONNECTORS-560:
--------------------------------------
Assignee: Karl Wright
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
> Assignee: Karl Wright
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Commented] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Posted by "Alex Ott (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485970#comment-13485970 ]
Alex Ott commented on CONNECTORS-560:
-------------------------------------
for example, we were affected by http://subversion.tigris.org/issues/show_bug.cgi?id=4091 :-(
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
> Assignee: Karl Wright
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Commented] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485963#comment-13485963 ]
Karl Wright commented on CONNECTORS-560:
----------------------------------------
I am curious what svn 1.7 client bug prevents use? All of Nokia uses 1.7 without issue.
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Commented] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485989#comment-13485989 ]
Karl Wright commented on CONNECTORS-560:
----------------------------------------
r1403270 adds code that (I think) executes standard patch on unix systems if svn 1.7 or higher is not available. Please try this to let me know if it works for you.
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
> Assignee: Karl Wright
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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
[jira] [Commented] (CONNECTORS-560) Can't perform 'ant make-deps'
because of unknown command 'svn patch'
Posted by "Alex Ott (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485960#comment-13485960 ]
Alex Ott commented on CONNECTORS-560:
-------------------------------------
requirement for is too restrictive, it's not always possible to upgrade (for example, there is no such package in Linux repository). Another example - there is a bug in SVN 1.7 that prevents us from upgrading to it...
> Can't perform 'ant make-deps' because of unknown command 'svn patch'
> --------------------------------------------------------------------
>
> Key: CONNECTORS-560
> URL: https://issues.apache.org/jira/browse/CONNECTORS-560
> Project: ManifoldCF
> Issue Type: Bug
> Components: Build
> Affects Versions: ManifoldCF next
> Environment: Debian Linux testing, Ant 1.8.2, SVN 1.6.17
> Reporter: Alex Ott
>
> When I'm trying to perform bootstrap for Maven, I'm getting following error during execution of 'ant make-core-deps':
> patch-source-via-svn:
> [exec] Unknown command: 'patch'
> [exec] Type 'svn help' for usage.
> BUILD FAILED
> /media/add/ott/work/manifoldcf/build.xml:3137: The following error occurred while executing this line:
> /media/add/ott/work/manifoldcf/common-build.xml:38: exec returned: 1
> the problem arise due "older" version of Subversion, comparing with version used by other developers.
> Can we implement fallback to standard 'patch' command if 'svn patch' isn't available...
--
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