From 07f330967ffde70f01e591dc9d45e734a2b3e9e0 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 20 Apr 2012 16:05:04 -0600 Subject: [PATCH] update readme.txt based on recent feedback from the mailing list This clarifies the need to include both openjdk.pro and vm.pro when building with OpenJDK and ProGuard. It also makes -dontusemixedcaseclassnames the default in the ProGuard command and gives different names to the C++ files used in the embedding and bootimage examples to avoid confusion. --- readme.txt | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/readme.txt b/readme.txt index 03b3b28d04..9b0c1d28e1 100644 --- a/readme.txt +++ b/readme.txt @@ -260,7 +260,9 @@ an LZMA-enabled version: You can reduce the size futher for embedded builds by using ProGuard and the supplied openjdk.pro configuration file (see "Embedding with -ProGuard and a Boot Image" below). Also see app.mk in +ProGuard and a Boot Image" below). Note that you'll still need to use +vm.pro in that case -- openjdk.pro just adds additional constraints +specific to the OpenJDK port. Also see app.mk in git://oss.readytalk.com/avian-swt-examples.git for an example of using Avian, OpenJDK, ProGuard, and UPX in concert. @@ -364,7 +366,7 @@ method. Note the bootJar function, which will be called by the VM to get a handle to the embedded jar. We tell the VM about this jar by setting the boot classpath to "[bootJar]". - $ cat >main.cpp <embedded-jar-main.cpp <main.cpp <bootimage-main.cpp <