Skip to content

Add source files to jar - #70

Open
Tarrasch wants to merge 1 commit into
mimno:masterfrom
Tarrasch:include-sources-in-jar
Open

Tarrasch wants to merge 1 commit into
mimno:masterfrom
Tarrasch:include-sources-in-jar

Conversation

@Tarrasch

Copy link
Copy Markdown

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
Copy Markdown
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

mimno commented Jul 1, 2016

Copy link
Copy Markdown
Owner

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

Tarrasch commented Jul 1, 2016

Copy link
Copy Markdown
Author

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

@Tarrasch

Tarrasch commented Jul 5, 2016

Copy link
Copy Markdown
Author

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

This branch has not been deployed

No deployments
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.

2 participants