Skip to content
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

build problems #17

Open
cbfiddle opened this issue Apr 17, 2017 · 11 comments
Open

build problems #17

cbfiddle opened this issue Apr 17, 2017 · 11 comments

Comments

@cbfiddle
Copy link

It has been a while since I have tried to build svgSalamander.
I do not see any instructions on how to do that, so I ran ant in the svg-core directory.
It failed here:

-do-test-run:
[junit] WARNING: multiple versions of ant detected in path for junit
[junit] jar:file:/usr/local/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] and jar:file:/Volumes/L/Java/svgSalamander/repo/libraries/ant.jar!/org/apache/tools/ant/Project.class
[junit] Exception in thread "main" java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close(Ljava/io/Writer;)V
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.registerTestCase(JUnitTestRunner.java:1212)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:934)
[junit] Testsuite: com.kitfox.salamander.javascript.JSTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
[junit]
[junit] Testcase: com.kitfox.salamander.javascript.JSTest:BeforeFirstTest: Caused an ERROR
[junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit]
[junit]
[junit] Test com.kitfox.salamander.javascript.JSTest FAILED (crashed)

@blackears
Copy link
Owner

I've removed the tests as they're not actually being used. If you compile the default target, it should work (although the javadoc will still generate an error).

@cbfiddle
Copy link
Author

cbfiddle commented Apr 17, 2017 via email

@cbfiddle
Copy link
Author

cbfiddle commented Apr 17, 2017 via email

@cbfiddle
Copy link
Author

cbfiddle commented Apr 17, 2017 via email

@cbfiddle
Copy link
Author

cbfiddle commented Apr 17, 2017 via email

@blackears
Copy link
Owner

The binaries are tracked by Git because this project used to be hosted on java.net and they had a system for a while where you checked the site webpage directly into the source tree. This is a holdover from that. It's not really useful any more, but I thought people might want to just grab a compiled binary instead of compiling it themselves.

@blackears
Copy link
Owner

What are the ^M? Are those carriage returns?

@cbfiddle
Copy link
Author

cbfiddle commented Apr 18, 2017 via email

@cbfiddle
Copy link
Author

cbfiddle commented Apr 18, 2017 via email

@blackears
Copy link
Owner

I've added an instruction to the ant file that should create the directory if is it missing. Let me know if this fixes the problem. It is not happening on my machine.

@cbfiddle
Copy link
Author

cbfiddle commented Apr 20, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants