-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Published 6.7 jar doesn't work #255
Comments
jar files on Maven Central never contain dependencies. Use the jar file in the .zip distribution if you're using ant. |
You build jar with all depended classes only for current beta version? |
Cedric doesn't seem to like this idea anymore and wants users to build the jar manually or start using Maven... Yeah, I know... |
Will be great to add note about using TestNG with Ant to the testng.org. |
Yes, Cedric, would it be possible to add this note on the website? Or better yet, return a full jar for us, poor Ant users. |
Thank you, sir! |
Thanks. |
I updated it at the same time I uploaded the file. |
Good! |
Well, this is probably going to cause me to switch back to JUnit. JCommander is not available via our private dependency management system and it serves up the maven jar for testng (and no others). It's unclear why to me why the ant task needs a command-line processor. |
@stephen-smith It's another thing. Could you create an issue which ask to set JCommander optionnal? But I've no idea if it is something possible. |
The 6.7 jar on Maven repo central http://search.maven.org/#search|ga|1|a%3A%22testng%22 is defective. It doesn't contain com/beust/jcommander package thus when you try to run tests (I use Ant), they fail with
[testng] java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException [testng] Caused by: java.lang.ClassNotFoundException: com.beust.jcommander.ParameterException [testng] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
exception.
The text was updated successfully, but these errors were encountered: