You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vit Popelka (JIRA)" <ji...@codehaus.org> on 2009/01/07 10:48:19 UTC

[jira] Created: (SCM-432) Goal scm:export does not work for Subversion repository

Goal scm:export does not work for Subversion repository
-------------------------------------------------------

                 Key: SCM-432
                 URL: http://jira.codehaus.org/browse/SCM-432
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-plugin
    Affects Versions: 1.1
         Environment: Windows XP SP3; Sun Java DK 1.5.0_14; Maven 2.0.9
            Reporter: Vit Popelka


Execution of goal scm:export failed with message:

[INFO] [scm:export {execution: export-field-wsdl}]
[INFO] Executing: cmd.exe /X /C "svn --non-interactive export svn://...../wsdl C:\.../wsdl"
[INFO] Working directory: C:\...\field-wsdl
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: Destination directory exists; please remove the directory or use --force to overwrite
svn: 'C:\...\wsdl' already exists



-- 
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

        

[jira] Updated: (SCM-432) Goal scm:export does not work for Subversion repository

Posted by "Vit Popelka (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vit Popelka updated SCM-432:
----------------------------

    Attachment: export.patch

Patch for subversion provider (may cause problems with other providers)

> Goal scm:export does not work for Subversion repository
> -------------------------------------------------------
>
>                 Key: SCM-432
>                 URL: http://jira.codehaus.org/browse/SCM-432
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.1
>         Environment: Windows XP SP3; Sun Java DK 1.5.0_14; Maven 2.0.9
>            Reporter: Vit Popelka
>         Attachments: export.patch
>
>
> Execution of goal scm:export failed with message:
> [INFO] [scm:export {execution: export-field-wsdl}]
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive export svn://...../wsdl C:\.../wsdl"
> [INFO] Working directory: C:\...\field-wsdl
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: Destination directory exists; please remove the directory or use --force to overwrite
> svn: 'C:\...\wsdl' already exists

-- 
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

        

[jira] Closed: (SCM-432) Goal scm:export does not work for Subversion repository

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran closed SCM-432.
------------------------

      Assignee: Dan Tran
    Resolution: Duplicate

this is a duplicate of SCM-375

> Goal scm:export does not work for Subversion repository
> -------------------------------------------------------
>
>                 Key: SCM-432
>                 URL: http://jira.codehaus.org/browse/SCM-432
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.1
>         Environment: Windows XP SP3; Sun Java DK 1.5.0_14; Maven 2.0.9
>            Reporter: Vit Popelka
>            Assignee: Dan Tran
>             Fix For: 1.1.1
>
>         Attachments: export.patch
>
>
> Execution of goal scm:export failed with message:
> [INFO] [scm:export {execution: export-field-wsdl}]
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive export svn://...../wsdl C:\.../wsdl"
> [INFO] Working directory: C:\...\field-wsdl
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: Destination directory exists; please remove the directory or use --force to overwrite
> svn: 'C:\...\wsdl' already exists

-- 
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

        

[jira] Updated: (SCM-432) Goal scm:export does not work for Subversion repository

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran updated SCM-432:
-------------------------

    Fix Version/s: 1.1.1

> Goal scm:export does not work for Subversion repository
> -------------------------------------------------------
>
>                 Key: SCM-432
>                 URL: http://jira.codehaus.org/browse/SCM-432
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.1
>         Environment: Windows XP SP3; Sun Java DK 1.5.0_14; Maven 2.0.9
>            Reporter: Vit Popelka
>             Fix For: 1.1.1
>
>         Attachments: export.patch
>
>
> Execution of goal scm:export failed with message:
> [INFO] [scm:export {execution: export-field-wsdl}]
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive export svn://...../wsdl C:\.../wsdl"
> [INFO] Working directory: C:\...\field-wsdl
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: Destination directory exists; please remove the directory or use --force to overwrite
> svn: 'C:\...\wsdl' already exists

-- 
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

        

[jira] Commented: (SCM-432) Goal scm:export does not work for Subversion repository

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160472#action_160472 ] 

Dan Tran commented on SCM-432:
------------------------------

since it may cause problem with other providers, we should do this work at svn provider's export command level, where we check for non empty directory and remove it according.  note we do not want to remove directory which has files.

> Goal scm:export does not work for Subversion repository
> -------------------------------------------------------
>
>                 Key: SCM-432
>                 URL: http://jira.codehaus.org/browse/SCM-432
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.1
>         Environment: Windows XP SP3; Sun Java DK 1.5.0_14; Maven 2.0.9
>            Reporter: Vit Popelka
>         Attachments: export.patch
>
>
> Execution of goal scm:export failed with message:
> [INFO] [scm:export {execution: export-field-wsdl}]
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive export svn://...../wsdl C:\.../wsdl"
> [INFO] Working directory: C:\...\field-wsdl
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: Destination directory exists; please remove the directory or use --force to overwrite
> svn: 'C:\...\wsdl' already exists

-- 
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

        

[jira] Commented: (SCM-432) Goal scm:export does not work for Subversion repository

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160475#action_160475 ] 

Dan Tran commented on SCM-432:
------------------------------

second thought,  from svn provider perspective, its may not like this kind of code

            //svn barbs if outputDirectory exists
            File outputDir = new File( outputDirectory );
            if ( outputDir.list().length == 0 )
            {
                outputDir.delete();
            }

since it assumes the client to do that work prior using export command.

Perhaps we should make exception to do it at plugin level with check for svn

> Goal scm:export does not work for Subversion repository
> -------------------------------------------------------
>
>                 Key: SCM-432
>                 URL: http://jira.codehaus.org/browse/SCM-432
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.1
>         Environment: Windows XP SP3; Sun Java DK 1.5.0_14; Maven 2.0.9
>            Reporter: Vit Popelka
>         Attachments: export.patch
>
>
> Execution of goal scm:export failed with message:
> [INFO] [scm:export {execution: export-field-wsdl}]
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive export svn://...../wsdl C:\.../wsdl"
> [INFO] Working directory: C:\...\field-wsdl
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: Destination directory exists; please remove the directory or use --force to overwrite
> svn: 'C:\...\wsdl' already exists

-- 
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

        

[jira] Commented: (SCM-432) Goal scm:export does not work for Subversion repository

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160477#action_160477 ] 

Dan Tran commented on SCM-432:
------------------------------

another option is SCM-434

> Goal scm:export does not work for Subversion repository
> -------------------------------------------------------
>
>                 Key: SCM-432
>                 URL: http://jira.codehaus.org/browse/SCM-432
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.1
>         Environment: Windows XP SP3; Sun Java DK 1.5.0_14; Maven 2.0.9
>            Reporter: Vit Popelka
>         Attachments: export.patch
>
>
> Execution of goal scm:export failed with message:
> [INFO] [scm:export {execution: export-field-wsdl}]
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive export svn://...../wsdl C:\.../wsdl"
> [INFO] Working directory: C:\...\field-wsdl
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: Destination directory exists; please remove the directory or use --force to overwrite
> svn: 'C:\...\wsdl' already exists

-- 
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