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 source files to jar #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tarrasch
Copy link

This makes is easier for people importing the jar to drill down through
definitions in the Java IDE of their choice.

This will also present javadocs in your IDE when available.

This makes is easier for people importing the jar to drill down through
definitions in the Java IDE of their choice.
@Tarrasch
Copy link
Author

I forgot to mention. I was highly inspired by this StackOverflow when writing this: http://stackoverflow.com/questions/5063630/generate-jars-with-source-code-using-ant

@mimno
Copy link
Owner

mimno commented Jul 1, 2016

How much does this affect the file size? There are some cases (the R interface, for example) where it's good to keep the jar small. That might be the exception, however.

@Tarrasch
Copy link
Author

Tarrasch commented Jul 1, 2016

Using du --human-readable dist/mallet.jar, I get from 2.2M (before) to 5,7M (after)

@Tarrasch
Copy link
Author

Tarrasch commented Jul 5, 2016

@mimno, is there any other information I need/should provide?

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

Successfully merging this pull request may close these issues.

None yet

2 participants