yuxiangtong / svntask

Automatically exported from code.google.com/p/svntask
Other
0 stars 0 forks source link

version 1.0.5 throwing an exception #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. downloaded 1.0.5 and put the svnkit.jar and svntask.jar in tools
directory of my project.
2. copied the example target into my build.xml file
3. ant version - failed -- see below
4. downloaded 1.0.4 and put the svnkit.jar and svntask.jar in tools
directory of my project.
5. ant version then worked as expected.

What is the expected output?

ant version
Buildfile: build.xml

version:
      [svn] info /home/rick.feldmann/dev/buildmaster
     [echo] revisionVersion 29555

BUILD SUCCESSFUL
Total time: 0 seconds

What do you see instead?

ant version
Buildfile: build.xml

version:

BUILD FAILED
/home/rick.feldmann/dev/buildmaster/build.xml:370:
java.lang.UnsupportedClassVersionError: Bad version number in .class file

Total time: 0 seconds

What version of the product are you using? 1.0.5 failed - 1.0.4 successful

On what operating system? fedora core 9, ant 1.7.0

Please provide any additional information below.

<target name="version">
    <taskdef resource="com/googlecode/svntask/svntask.xml" >
        <classpath>
            <fileset dir="tools">
                <include name="svnkit.jar" />
                <include name="svntask.jar" />
            </fileset>
        </classpath>
    </taskdef>
    <svn>
        <info path="." revisionProperty="revisionVersion" />
    </svn>
    <echo message="revisionVersion ${revisionVersion}" />
</target>

Original issue reported on code.google.com by r...@rf-consulting.com on 22 Jun 2009 at 2:36

GoogleCodeExporter commented 9 years ago
someone else reported something like this. i'm on vacation right now, so i 
can't do 
this for you. so, do me a favor and try downloading a new copy of svnkit.jar 
from 
http://svnkit.com. then try with that version and let me know if that helps. 
also, 
which version of the jvm are you using? try with jdk 1.6 as well.

Original comment by latch...@gmail.com on 22 Jun 2009 at 2:56

GoogleCodeExporter commented 9 years ago
Enjoy your vacation.

1.0.4 is working - so far.  I'll do some more testing and see what I can find 
out.

Original comment by r...@rf-consulting.com on 22 Jun 2009 at 3:22

GoogleCodeExporter commented 9 years ago
I just uploaded 1.0.6. let me know if it works for you. thanks.

Original comment by latch...@gmail.com on 25 Jun 2009 at 6:21

GoogleCodeExporter commented 9 years ago

Original comment by latch...@gmail.com on 25 Jun 2009 at 6:21