Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
11.4k views
in Java FTP by (180 points)
How do I get rid of this error?

Failed to calculate version: For input string: "@major_ver@"

6 Answers

0 votes
by (162k points)
Can you describe how you got the error?

Did you build the jar file yourself or are you using the one supplied?

How do I get rid of this error?

Failed to calculate version: For input string: "@major_ver@"
0 votes
by (180 points)
I ran the FTPClientTest program in Eclipse.


Lan
0 votes
by (162k points)
Did you build the jar, or use the supplied one?

I ran the FTPClientTest program in Eclipse.


Lan
0 votes
by (162k points)
There's a bug in the build.xml file ... we're looking into it

Did you build the jar, or use the supplied one?

I ran the FTPClientTest program in Eclipse.


Lan
0 votes
by (162k points)
There's not a bug. However if you want to build edtFTPj yourself, you *must* use ant and the build.xml supplied.

You can't build in eclipse, as ant does some substitutions of version numbers into the code.

There's a bug in the build.xml file ... we're looking into it

Did you build the jar, or use the supplied one?

I ran the FTPClientTest program in Eclipse.


Lan
0 votes
by (51.6k points)
Actually, you can build and run it from within the Eclipse debugger. You'll find that it stops with the '@major_ver@' error a couple of times, but you can just continue past those errors and everything should work fine.

The other option, of course, is to manually substitute @major_ver@.

- Hans (EDT Support)

Categories

...