Skip to content

Conversation

dkimitsa
Copy link
Contributor

there are three commits:
1 - fixes #286 by completing #287 in sake of delivering the fix
2- fixes #285 -- obeys not @NotNull otherwise idea halt the plugin
3- adds logic not extracting same file on every launch and do clear cache when new files extracted just to avoid bug cases when incompatible data stays in cache, check post by @dthommes

@florianf
Copy link
Collaborator

Perfect, thx!

@florianf florianf merged commit a67781c into MobiVM:master Apr 30, 2018
Copy link
Contributor

@keesvandieren keesvandieren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also tried to make it clear my ~/.robovm/cache, but it did not work as I would have expected. Here is what I did:

  • clone github.com/MobiVM/robovm
  • run mvn clean install
  • run cd plugins/gradle
  • run ./gradlew install
  • create a new project using gdx-setup.jar, only check 'ios' platform
  • import this project in IDE
  • in build.gradle, change plugin dependency to com.mobidevelop.robovm:robovm-gradle-plugin:2.3.4-SNAPSHOT and roboVMVersion = '2.3.4-SNAPSHOT'
  • in ios/build.gradle, inside robovm tag, add: iosSkipSigning = true
  • run ./gradlew createIPA

Observations:

  • ls -sathl ~/.robovm/ still shows last modified date of 12 Oct 2017.

I think this should have cleared the cache dir?

@@ -416,16 +417,18 @@ public static Sdk getSdk() {
private static void extractArchive(String archive, File dest) {
archive = "/" + archive;
TarArchiveInputStream in = null;
boolean isSnapshot = Version.getVersion().toLowerCase().contains("snapshot");
// boolean isSnapshot = Version.getVersion().toLowerCase().contains("snapshot");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dkimitsa this can be removed

@dkimitsa dkimitsa deleted the bugfix_286_285 branch June 14, 2018 06:41
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.

Apps won't run on simulator if embedded frameworks are present Install failure disables run button
3 participants