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

[Subclipse-users] svn ant commit

From: Tom Henricksen <TomH_at_A-t-g.com>
Date: Mon, 2 Jun 2008 14:31:24 -0500

I am trying to commit a file after we do a build with ant. I am trying
to call out from our main build.xml


<ant antfile="consolidated-commit.xml" dir="../.."


to this file in consolidated-commit.xml.


<?xml version="1.0"?>

<project name="consolidated-commit" default="commit-consolidated-files"

            <!-- all properties are in build.properties -->

            <property file="build.properties" />


            <path id="project.classpath">

                        <pathelement location="${svnjavahl.jar}" />

                        <pathelement location="${svnant.jar}" />

                        <pathelement location="${svnClientAdapter.jar}"



            <!-- load the svn task -->

            <taskdef resource="svntask.properties"


            <target name="commit-consolidated-files">


file="projects\consolidated1.js" message="automated commit" />

file="projects\consolidated2.js" message="automated commit " />





The build runs successfully but these two files are never committed.
Any suggestions?




Tom Henricksen
Advanced Technologies Group, Inc.
Received on 2008-06-02 21:31:43 CEST

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.