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

Add build system #4

Closed
anirudhSK opened this issue Sep 4, 2016 · 3 comments · Fixed by #13
Closed

Add build system #4

anirudhSK opened this issue Sep 4, 2016 · 3 comments · Fixed by #13

Comments

@anirudhSK
Copy link
Collaborator

No description provided.

@anirudhSK
Copy link
Collaborator Author

Apache Ant seems like the make equivalent for Java. Apache Maven seems like the automake/autoconf equivalent. ANTLRv4 doesn't seem to have ANT support (http://stackoverflow.com/questions/18949004/is-there-an-antlr4-ant-task), but seems to have Maven support (http://www.antlr.org/api/maven-plugin/latest/). Maybe we should use Maven, even though it might be too heavy weight for us. We can decide this later though.

@anirudhSK
Copy link
Collaborator Author

Ok, ditching this for now, because our heavy handed "javac *.java" is good enough. javac does some fairly sensible and intelligent automatic compilation to handle dependencies (http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html#searching), so this should suffice for now. Besides, it doesn't take too long to build.

@ngsrinivas
Copy link
Collaborator

Fair enough. I'm wondering about creating packages/organizing the classes by directory, since the number of .java files has grown quite a bit. Not the highest priority right now, but still.

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

Successfully merging a pull request may close this issue.

2 participants