download with projectname in svn ant

160 Views Asked by At

Hi I wanted to download one javaproject form svn repository. for that I am using ant script to getch the project from the URL. Following is my ant script.

<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant.classpath" />

    <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" classpathref="svnant.classpath" />
    <target name="checkout">
        <svn  javahl="false" svnkit="true" >
            <checkout url="https://svndomain:8080/svn/proejcts/tags/DBproject/client/java/de.db.urlloader.config.test"  destpath="../Checkout" />
        </svn>
    </target>

Here de.db.urlloader.config.test is the java project.

But what happens is here it does download only the contents inside the java project into the Checkout folder. It does not download with the project name. I want the output in the following way

Checkout ->de.db.urlloader.config.test->contents of the java project

Now the output comes in the following way

  Checkout ->contents of the java project
0

There are 0 best solutions below