I want to checkout project, get the revision number, build jar with that number in menifest, on the server with a web interface. There are some other minor steps in the whole process, but that's the main goal. everything in the build script is working fine locally, but I always get stuck when it is done on the server. when I try to use svnant task on the project I checked out, it's telling me the parent dir is not a working copy, so I tried a copy first, then the whole project again into that copy, it's still telling me that the parent dir (the first edition) is not a working copy.
what sould I do?
p.s. I have tried all possible combination of , , , . none of them worked. can anyone else get the in svnant work? I always get error as following:
java.lang.NullPointerException 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:288) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) 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) ..........
can anyone help with either question?
Thank you