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

[Subclipse-users] Error while running SVNANT-commit

From: Hirensinh Chavda <hihiren_at_gawab.com>
Date: 2007-10-10 05:13:10 CEST

Hi friends,

 

I am using SVNAnt to perform the commit operation.

 

I have attched the file that I m using to perform commit. All my library
files are there in one folder.

 

In my local pc this xml works perfectly fine.

 

On the build machine the command svn -commit Proj1.war -m "Test" works
completely fine.

 

But if I try to run commit.xml on build machine then it gives me this error.

 

      [svn] <Commit> started ...

      [svn] svn: 'C:\TEMP\test\commit\Proj1-deployment\Proj1.war' is n

ot under version control

      [svn] <Commit> failed !

 

 

Here is output of ant command with -v option.

 

C:\TEMP\test\commit\commit.xml:17: Can't commit file
C:\TEMP\test\commit\monteca

rlo-deployment\Proj1.war

        at
org.tigris.subversion.svnant.commands.SvnCommand.executeCommand(SvnCo

mmand.java:108)

        at org.tigris.subversion.svnant.SvnTask.execute(SvnTask.java:417)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

        at org.apache.tools.ant.Task.perform(Task.java:364)

        at org.apache.tools.ant.Target.execute(Target.java:341)

        at org.apache.tools.ant.Target.performTasks(Target.java:369)

        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe

cutor.java:40)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

        at org.apache.tools.ant.Main.runBuild(Main.java:668)

        at org.apache.tools.ant.Main.startAnt(Main.java:187)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Caused by: org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris

.subversion.javahl.ClientException: svn: 'C:\TEMP\test\commit\Proj1-deploym

ent\Proj1.war' is not under version control

        at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapte

r.commit(AbstractJhlClientAdapter.java:251)

        at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapte

r.commit(AbstractJhlClientAdapter.java:219)

        at
org.tigris.subversion.svnant.commands.Commit.svnCommitFile(Commit.jav

a:150)

        at
org.tigris.subversion.svnant.commands.Commit.execute(Commit.java:98)

        at
org.tigris.subversion.svnant.commands.SvnCommand.executeCommand(SvnCo

mmand.java:104)

        ... 13 more

Caused by: org.tigris.subversion.javahl.ClientException: svn:
'C:\TEMP\test\comm

it\Proj1-deployment\Proj1.war' is not under version control

        at
org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaH

LObjectFactory.java:435)

        at
org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientI

mpl.java:1224)

        at
org.tmatesoft.svn.core.javahl.SVNClientImpl.commit(SVNClientImpl.java

:435)

        at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapte

r.commit(AbstractJhlClientAdapter.java:245)

        ... 17 more

--- Nested Exception ---

org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion

.javahl.ClientException: svn: 'C:\TEMP\test\commit\Proj1-deployment\monteca

rlo.war' is not under version control

        at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapte

r.commit(AbstractJhlClientAdapter.java:251)

        at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapte

r.commit(AbstractJhlClientAdapter.java:219)

        at
org.tigris.subversion.svnant.commands.Commit.svnCommitFile(Commit.jav

a:150)

        at
org.tigris.subversion.svnant.commands.Commit.execute(Commit.java:98)

        at
org.tigris.subversion.svnant.commands.SvnCommand.executeCommand(SvnCo

mmand.java:104)

        at org.tigris.subversion.svnant.SvnTask.execute(SvnTask.java:417)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

        at org.apache.tools.ant.Task.perform(Task.java:364)

        at org.apache.tools.ant.Target.execute(Target.java:341)

        at org.apache.tools.ant.Target.performTasks(Target.java:369)

        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe

cutor.java:40)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

        at org.apache.tools.ant.Main.runBuild(Main.java:668)

        at org.apache.tools.ant.Main.startAnt(Main.java:187)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Caused by: org.tigris.subversion.javahl.ClientException: svn:
'C:\TEMP\test\comm

it\Proj1-deployment\Proj1.war' is not under version control

        at
org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaH

LObjectFactory.java:435)

        at
org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientI

mpl.java:1224)

        at
org.tmatesoft.svn.core.javahl.SVNClientImpl.commit(SVNClientImpl.java

:435)

        at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapte

r.commit(AbstractJhlClientAdapter.java:245)

        ... 17 more

 

Please help me out.

 

Thanks In advance.

 

Regards,

 Hiren

 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org

Received on Wed Oct 10 05:13:21 2007

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.