Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not IMPORT or ADD and COMMIT UNVERSIONED COPY to SVN [Tigris #1489] #18

Open
markphip opened this issue Sep 15, 2016 · 0 comments
Open
Labels

Comments

@markphip
Copy link
Contributor

Description

We are running Hudson ver.  1.395 as CI server and StarTeam as Repository. We 
are planning to move to Subversion as Repository(Hudson Server Plugin 2.3.3 
installed). There is no issue in checking out from SVN server using SVNAnt (ver 
1.3.1)script in Hudson, however we can’t  IMPORT or ADD and COMMIT UNVERSIONED 
COPY to SVN. 
<project name="***">        
    … 
    <path id="svn.classpath">
        <!--pathelement location="${svn.lib}/svnant.jar"/-->
        <fileset dir="${svn.lib}">
            <include name="svnant.jar"/>
            <include name="ganymed.jar"/>
            <include name="jna.jar"/>
            <include name="svnClientAdapter.jar"/>
            <include name="svnjavahl.jar"/>
            <include name="svnkit.jar"/>
        </fileset>
    </path> 

    <!-- Load the SVN Task -->
    <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" 
classpathref="svn.classpath" />

    <!-- SVN Checkout -->
    <target name="svn-checkout">
        <svn username="${svn-user}" password="${svn-password}" 
svnkit="true" javahl="false">
            <checkout url="${svn-url}" revision="HEAD" 
destPath="${env.WORKSPACE}" />
            <info target="${env.WORKSPACE}"/>
        </svn>
    </target>

    <!-- SVN Add & Commit -->   
    <target name="svn-add">
        <svn username="${svn-user}" password="${svn-password}" 
svnkit="true" javahl="false">
            <add dir="${env.WORKSPACE}" force="true"/>
            <info target="${env.WORKSPACE}"/>
        </svn>
    </target>

    <target name="svn-commit">  
        <svn username="${svn-user}" password="${svn-password}" 
svnkit="true" javahl="false">
            <commit dir="${env.WORKSPACE}" 
message="${svn.message}"/>
            <info target="${env.WORKSPACE}"/>
        </svn>
    </target>

However we can do all the task of checkout, add, commit, import unversioned or 
underversioned copy using TortoiseSVN(1.7.11) or command line and ant script 
using CollabNer Subverison Client(1.7.8)

Metadata Imported from Tigris (Issue 1489)

  • Creation Date: 2013-03-07 07:54:40
  • Reporter: ziten
  • Subcomponent: svnant
  • Version: unspecified
  • Milestone: not determined
  • Keywords:
  • Cc:
@markphip markphip added the bug label Sep 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant