Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 1489] New - Can not IMPORT or ADD and COMMIT UNVERSIONED COPY to SVN

subclipse
Discussion topic

Back to topic list

[Issue 1489] New - Can not IMPORT or ADD and COMMIT UNVERSIONED COPY to SVN

Author ziten
Full name ziten shrestha
Date 2013-03-07 07:54:41 PST
Message http://subclipse.tig​ris.org/issues/show_​bug.cgi?id=1489
                 Issue #|1489
                 Summary|Can not IMPORT or ADD and COMMIT UNVERSIONED COPY to S
                        |VN
               Component|svnant
                 Version|unspecified
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|svnant
             Assigned to|issues@subclipse
             Reported by|ziten






------- Additional comments from ziten at tigris dot org Thu Mar 7 07:54:40 -0800 2013 -------
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="svnClientAdapt​er.jar"/>
            <include name="svnjavahl.jar"/>
            <include name="svnkit.jar"/>
        </fileset>
    </path>

    <!-- Load the SVN Task -->
    <typedef resource="org/tigris​/subversion/svnant/s​vnantlib.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)

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[Issue 1489] New - Can not IMPORT or ADD and COMMIT UNVERSIONED COPY to SVN ziten ziten shrestha 2013-03-07 07:54:41 PST
Messages per page: