cancel
Showing results for 
Search instead for 
Did you mean: 

error in building alfresco SDK using ANT tool

alfrescouser
Champ in-the-making
Champ in-the-making
Hello friends,
I am trying to build Alfresco SDK using ANT tool.

I am Using Apache ANT 1.7.1
                 Tomcat 6.0
                 Windows xp
After setting TOMCAT_HOME, first command ant -f build .xml run successfully.
But for the next command  ant -f continuous.xml distribute  I am getting the error Build Failed.

BUILD FAILED
E:\sdk\Alfresco_Otman\root\continuous.xml:114: Execute failed: java.io.IOExcepti
on: CreateProcess: svn revert E:\sdk\Alfresco\root/projects/repository/con
fig/alfresco/version.properties error=2

Could you please suggest any solution for this.

Thanks,
Madhu
1 REPLY 1

talk2rohan
Champ in-the-making
Champ in-the-making
When i run ant -f continuous.xml distribute
it gives following error….


******************

BUILD FAILED
java.lang.NoSuchMethodError: <init>
        at org.tigris.subversion.javahl.SVNClient.status(Native Method)
        at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapte
r.getStatus(AbstractJhlClientAdapter.java:480)
        at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapte
r.getStatus(AbstractJhlClientAdapter.java:444)
        at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapte
r.getSingleStatus(AbstractJhlClientAdapter.java:435)
        at org.tigris.subversion.svnant.commands.Status.execute(Unknown Source)
        at org.tigris.subversion.svnant.commands.SvnCommand.executeCommand(Unkno
wn Source)
        at org.tigris.subversion.svnant.SvnTask.execute(Unknown Source)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)


******************

how to overcome this issue……Plz help :roll: