fix: raven test #2
Reference in New Issue
Block a user
Delete Branch "AdrianLong/raven:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The error in raven test has to do with incorrect arguments being passed through the command line into java.
current:
java Xms128.0 MiB Xmx512.0 MiB PROJECT_ROOT/src/text
correct:
java -Xms128m -Xmx512m -cp PROJECT_ROOT/src/text \test.Test
Additionally the default classes for assets were wrong. Java does not consider files directly inside of the main and test folders as inside of a package of that folder name.
With regards to
27f784e1f0, remember thatDIR_SRCusesPROJECT_ROOTto construct itself sincedafc6ea885.You likely have
PROJECT_ROOTdoubled.The easiest solution here is to probably expand the
ByteSizeto a size in bytes asusize, then just append that number. It doesn't need to be human readable. IIRC,-Xmsand-Xmxdefault to bytes if there's no unit suffix.WIP: masterto fix: raven test67381eb071to05390a8f0bBuild fails. Cannot remove
assets/test/Main.java. Required byinclude_bytes!()inmain.rs, line 150.Please also remove the Fences
println!inmain::test(),java::JVM::run().I don't think that the help menu needs to be in README.md, but it can stay at least for now.
There's a reason that there's a help menu that auto-updates with the cli edits. We'd have to remember to manually update the README every time there's a change, or an added command.