forked from trifork/erjang
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support building self-contained Erjang+OTP jar file
Usage: Edit the file erjang_cfg.properties `erjang.otp.root` and make it point to an R13-based release before running `ant jar otpjar`. Remember, Erjang does not work with R14-based releases yet, because the file driver changed API and we've not updated that. The current code in ClassPathResource.java is ugly and slow: implementation of `file:list_dir/1` iterate through the entire classpath. ... and `file:file_info/1` opens the .jar every time it is called. Should maybe cache some directory-like structure, but those are really only called during boot so be careful to cache for too long.
- Loading branch information
1 parent
9b3148f
commit 4d194ef
Showing
8 changed files
with
375 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.