[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN task

From: Res Pons <pons32_at_hotmail.com>
Date: 2006-03-13 01:13:38 CET

This is how I currently use my ant svn task. Do I have to declare and
instantiate a new java task everytime I make repo calls? Or could this be
more flexible? I mean, could I put the classpath element outside of the
java taks, give it an ref id and just call it each time? With each proj, I
reuse repo.url and working folder and once I call the target that contains
the svn task, they get reassigned.

<target=....

<java classname="org.tmatesoft.svn.cli.SVN"
dir="${working.folder}" fork="true">

<classpath>
        <pathelement location="${build.lib}/javasvn.jar" />
        <pathelement location="${build.lib}/javasvn-cli.jar" />
</classpath>
        <arg value="up"/>
        <arg value="--username"/>
        <arg value="${svn.username}"/>
        <arg value="--password"/>
        <arg value="${svn.password}"/>
        <arg value="${working.folder}"/>
</java>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 13 01:14:14 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.