"Steven Morrison" <sgmorrison@gmail.com> wrote on 10/12/2006 01:39:31 PM:
> I am writing an ant build system that updates then compiles a
> project's supporting projects, then the current project. The ant code
> I have is of the form:
> 
>    <property name="workspace" value="${basedir}/.." />
>    <property name="buildorder" value="supportingProject, thisProject" />
> 
>    <target name="update-all" depends="prepare">
>       <foreach list="${buildorder}" delimiter="," target="svn-update"
> param="project.name" />
>    </target>
> 
>    <target name="svn-update">
>       <svn>
>          <update dir="${workspace}/${project.name}"/>
>       </svn>
>    </target>
> 
> Running "ant update-all" within the project's directory (so that
> build.xml is in "."), execution fails with the following message:
> 
> Buildfile: build.xml
> update-all:
> svn-update:
>       [svn] Using command line interface
> Svn : Updating
> up -r HEAD C:\Documents and Settings\sgmorrison\workspace\thisProject
> --non-interactive
> svn: Working copy 'C:\Documents and
> Settings\sgmorrison\workspace\thisProject' locked
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for 
details)
I am not sure I agree that is the problem, although it might be.  The 
output from Subversion seems to indicate that the correct path is being 
used.  If there were a problem with spaces, I'd expect the Subversion 
error message to show a truncated path name.  I know Subversion and 
svnClientAdapter can handle this in general.  I haven't ever used svnAnt 
so cannot really say much more.
Did you try running svn cleanup?
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Oct 13 02:32:45 2006