Skip to content

Add source files to jar#70

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

Add source files to jar#70
Tarrasch wants to merge 1 commit intomimno:masterfrom
Tarrasch:include-sources-in-jar

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.

2 participants