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

[Subclipse-users] svnant 1.3.1: no console output

From: Justin Georgeson <JGeorgeson_at_lgc.com>
Date: Thu, 22 Dec 2011 13:35:35 -0600

I'm updating my Ant script to use svnant tasks instead of using an exec to java -jar jsvn.jar. I renamed the svnantlib.xml file as just antlib.xml so I can declare an xmlns:svn rather than using the taskdef. The current target I'm working on is for updating your sandboxes. I don't see a way to display the update output at the console, only to a log file. With no logfile in my task

<target name="svn.update" depends="init.var" description="Update the current sandbox from Subversion">
                <echo message="**********************************************************"/>
                <echo message="Updating current sandbox: ${basedir}"/>
                <echo message="**********************************************************"/>
                <getSVNUserPassword inputSVNURL="${sandbox.repository.url}"/>
<svn:svn refid="svn.Default">
                        <svn:update dir="${basedir}" recurse="true" revision="${svnRevision}"/>
                </svn:svn>

I don't see any output from the update.

svn.update:
************************************************************************************************
Updating current sandbox: /d01/sandboxes/hbl4218/DS_5000_8_2_0/plugins/com.lgc.petrocalc_at_73
************************************************************************************************

Enter username for accessing HTTP repositories:
justin

Enter password for accessing HTTP repositories:

BUILD SUCCESSFUL
Total time: 35 seconds

If I set a logFile property, then it either has a generic # of files updated/added/deleted summary for svnkit, or the more familiar command-line output (if javahl and svnkit are false). I would think that without a logfile property it would print that info to the console but I don't get anything. Is this intentional or is there something I've messed up somewhere else in my build.xml causing this?

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2899177

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2011-12-22 20:42:49 CET

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

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