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

MCP : Error while running "ant patch" #1

Open
FlatDudeInVR opened this issue Dec 4, 2011 · 3 comments
Open

MCP : Error while running "ant patch" #1

FlatDudeInVR opened this issue Dec 4, 2011 · 3 comments

Comments

@FlatDudeInVR
Copy link

I'm getting a bunch of errors when I run "ant patch". My specs are Ubuntu 11.10 and Sun Java 6.
I'm not a coder so I don't know what to do to fix that.

http://pastebin.com/tBZwFEJ3

By the way, I'll wait for the mod release.

@Floppy
Copy link
Contributor

Floppy commented Dec 9, 2011

Thanks for letting me know. The build script is only tested on OSX currently, so it's possible that it hasn't even decompiled the source code to be able to patch it. I'll try and get hold of a linux machine so I can get it going on there as well.

@FlatDudeInVR
Copy link
Author

I tried on Windows too. Installing the dependencies to run "ant" is a real pain. Patching worked quite well but I had to install patch.exe (with GnuWin32, and Windows UAC was annoying me because of this name "patch") and modify the patch files (switching manually from LF to CR-LF in Notepad++) to prevent the "ant patch" error, I didn't even know what I was making but I made it, ah ah. Finally, it's the re-compiling process that failed with 38 errors and the client doesn't start. Even if it was crashing on Ubuntu, it was easier because Windows is lame for compiling. I'll never try to compile on Windows again.

I'll definitely wait for the mod release. I don't have OSX.

Have good tests. ;)

@Floppy
Copy link
Contributor

Floppy commented Dec 9, 2011

Hm, OK. I picked ant as I figured it was the most likely thing to be on a system set up for java development. Perhaps not. I'll get it going on a windows machine as well so that I can at least improve the instructions. Compiling on Windows is a pan, it's true, unless you're using an IDE. Thanks for the feedback, I'll get it more streamlined soon, and get a binary release set up. Oh for a proper modding API :)

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