Open GoogleCodeExporter opened 9 years ago
a) We can do this one. If getExtractionDir() fails to find a writable
directory, it will enable "reuse natives" mode and use the working directory to
search for them. If any required natives are not found, an exception will be
raised. The user will have the option to turn on "reuse natives" mode forcibly
in the edge-case that a writable directory is found but natives are bundled
anyway.
b) This cannot be implemented, but IMO its a non-issue since a mismatch can
only occur in "reuse natives" mode (see item a) which means you bundled the
wrong natives with your app.
c) If running in "reuse natives" mode (see item a), then the natives jar is not
required since the natives are not extracted in the first place. Otherwise the
natives are required, and an exception will be thrown if they are missing.
d) In other words, "reuse natives" mode was not enabled.
This will satisfy 2 use cases from what I see:
1) User makes a regular release and an app store release. The regular release
has a natives jar and the natives are not bundled in the working directory. The
app store release has no natives jar and includes the natives in the working
directory.
2) User makes a single release for both regular release and app store release.
A natives jar is not used and the natives are in the working directory, for
this case, "reuse natives" mode must be forcibly enabled.
Original comment by ShadowIs...@gmail.com
on 4 Aug 2012 at 9:19
Yep :)
Original comment by normen667
on 6 Aug 2012 at 11:07
Original issue reported on code.google.com by
normen667
on 29 Jul 2012 at 1:34