ANT build fails with SVN 1.7.3 client installed
Brought to you by:
mguessan
I had to upgrade my SVN client in order to work properly with my works SVN server but this newer client causes the following failure in the build process for davmail:
svnrelease:
[svn] <WcVersion> started ...
[svn] svn: This client is too old to work with working copy '/Users/chris/src/davmail/trunk'; please get a newer Subversion client
[svn] svn: This client is too old to work with working copy '/Users/chris/src/davmail/trunk'; please get a newer Subversion client
[svn] <WcVersion> failed !
Resolving this issue may not be an urgent issue but it would be helpful because others will run into this problem shortly.
Updated svnkit in subversion, can you please try again ?
I keep up-to-date on the source in SVN and attempt the builds pretty regularly. Some of the changes that were made a couple weeks ago have gotten me past the original failure that I reported but the ANT build now reports the following error:
MacBook-Air:trunk chris$ ant
Buildfile: /Users/chris/src/davmail/trunk/build.xml
check-java6:
svnrelease:
[svn] <WcVersion> started ...
BUILD FAILED
/Users/chris/src/davmail/trunk/build.xml:41: java.lang.NoClassDefFoundError: org/antlr/runtime/RecognitionException
at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine$2.runSynchronized(SqlJetEngine.java:280)
at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.runSynchronized(SqlJetEngine.java:215)
at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.readSchema(SqlJetEngine.java:274)
at org.tmatesoft.sqljet.core.table.engine.SqlJetEngine.getOptions(SqlJetEngine.java:297)
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDbRoot.<init>(SVNWCDbRoot.java:71)
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1581)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.detectWcGeneration(SvnOperationFactory.java:914)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.getImplementation(SvnOperationFactory.java:828)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:768)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:166)
at org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:360)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:297)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:279)
at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:480)
at org.tigris.subversion.svnclientadapter.svnkit.SvnKitClientAdapter.getStatus(SvnKitClientAdapter.java:141)
at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:444)
at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getSingleStatus(AbstractJhlClientAdapter.java:435)
at org.tigris.subversion.svnant.commands.WcVersion.getWorkingCopySumary(Unknown Source)
at org.tigris.subversion.svnant.commands.WcVersion.execute(Unknown Source)
at org.tigris.subversion.svnant.commands.SvnCommand.executeCommand(Unknown Source)
at org.tigris.subversion.svnant.SvnTask.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.RecognitionException
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1064)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 38 more
Total time: 1 second
Very sorry for the long delay in responded. I didn't see the email from sourceforge with you question when it was sent to I just now got your question. I will monitor my email a bit closer so you won't have to wait so long for responses going forward. Thank you for your support and dedication to this project. Davmail is a wonderful tool!!!
Ok, added missing antlr runtime
Perfect. I updated my code base just now and everything builds successfully. Thank you.
Resolved in revision 1932.