[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="../.."
target="commit-consolidated-files"/>

 

to this file in consolidated-commit.xml.

 

<?xml version="1.0"?>

<project name="consolidated-commit" default="commit-consolidated-files"
basedir="projects">

            <!-- 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}"
/>

            </path>

            

            <!-- load the svn task -->

            <taskdef resource="svntask.properties"
classpathref="project.classpath"/>

 

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

                        <svn>

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

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

                        </svn>

            </target>

</project>

 

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

 

Thanks,

 

Tom Henricksen
Consultant
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.