-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: <stripArchives> does not work from robovm.xml #127
Comments
Do you by chance have a small sample app? |
Not right now. I don't think that you need that to prove it. Just define something like this in your robovm.xml:
I found out that this has no impact by any means as in AbstractTaget on line 526 seems to be StripArchivesConfig.DEFAULT. I tried to figure that problem out by myself, but I'm confused how the ConfigConverter stuff works. |
@intrigus Can you take a look at this? |
I'm busy currently but I'm trying to have a look at it soon. |
Also running into this issue. In |
Had some formatting issues, but created a PR for this: #133 |
Merged the PR, so closing this. |
* master: Set next development version of Gradle plugin, 2.3.2-SNAPSHOT Set release version of Gradle plugin, 2.3.1 Set next development version of IDEA plugin, 2.3.2 Set release version of IDEA plugin, 2.3.1 Set next development version of Eclipse plugin, 2.3.2 Set release version of Eclipse plugin, 2.3.1 [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release robovm-2.3.1 Fixing MobiVM#127 <stripArchives> config ignored (MobiVM#133) Exposing dump-intermediates builder option to gradle plugin configuration (MobiVM#131) Dirty fix for MobiVM#126, waiting if libimobiledvice fixes libimobiledevice/ideviceinstaller#70 Ignore linker warnings New upstream simlauncher binary, should support XCode 8.3. removed resource rules as it causes “invalid resource directory (directory or signature have been modified)” error on frameworks with resources signed (MobiVM#120) Xcode project generator, IBInspectable annotation, for Idea plugin only (check build menu) (MobiVM#114) Fix of following Tom-Ski comment (MobiVM#119) # Conflicts: # plugins/ibxcode/pom.xml # plugins/ibxcode/src/main/java/org/robovm/ibxcode/IBException.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/IBXcodeProject.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/Utils.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/consts/AnnotationsTypes.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/consts/ClassNames.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/consts/StringConsts.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/FrameworkExportData.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBActionExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBClassExportData.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBOutletCollectionExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBOutletExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IClassExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/XCodeProjectExporter.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/parser/IBClassHierarchyData.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/parser/IBClassHierarchyResolver.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/parser/IBClassMemberParser.java # plugins/idea/pom.xml # plugins/idea/src/main/java/org/robovm/idea/actions/GenerateXCodeProjectAction.java # plugins/idea/src/main/java/org/robovm/idea/ibxcode/RoboVmIbXcodeProjectTask.java # pom.xml
* master: Set next development version of Gradle plugin, 2.3.2-SNAPSHOT Set release version of Gradle plugin, 2.3.1 Set next development version of IDEA plugin, 2.3.2 Set release version of IDEA plugin, 2.3.1 Set next development version of Eclipse plugin, 2.3.2 Set release version of Eclipse plugin, 2.3.1 [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release robovm-2.3.1 Fixing MobiVM#127 <stripArchives> config ignored (MobiVM#133) Exposing dump-intermediates builder option to gradle plugin configuration (MobiVM#131) Dirty fix for MobiVM#126, waiting if libimobiledvice fixes libimobiledevice/ideviceinstaller#70 Ignore linker warnings New upstream simlauncher binary, should support XCode 8.3. removed resource rules as it causes “invalid resource directory (directory or signature have been modified)” error on frameworks with resources signed (MobiVM#120) Xcode project generator, IBInspectable annotation, for Idea plugin only (check build menu) (MobiVM#114) Fix of following Tom-Ski comment (MobiVM#119) # Conflicts: # plugins/ibxcode/pom.xml # plugins/ibxcode/src/main/java/org/robovm/ibxcode/IBException.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/IBXcodeProject.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/Utils.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/consts/AnnotationsTypes.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/consts/ClassNames.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/consts/StringConsts.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/FrameworkExportData.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBActionExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBClassExportData.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBOutletCollectionExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBOutletExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IClassExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/XCodeProjectExporter.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/parser/IBClassHierarchyData.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/parser/IBClassHierarchyResolver.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/parser/IBClassMemberParser.java # plugins/idea/pom.xml # plugins/idea/src/main/java/org/robovm/idea/actions/GenerateXCodeProjectAction.java # plugins/idea/src/main/java/org/robovm/idea/ibxcode/RoboVmIbXcodeProjectTask.java # pom.xml
* XCode project generator + integration with Idea plugin * added support for @IBInspectable annotation * added IBInspectable support to XCode project generator * reverted version to match trunk * updated dependency in Idea pom file to include ibxcode module * Debugger module added Added launch plugin with arguments Integrated to idea * Debugger work in progress * JDWP work in progress. Lack of class info data * JDWP work in progress. jdb able to connect to this stub * JDWP work in progress. more JDWP command handlers * JDWP work in progress. added Mach-o parser to get information from binary * JDWP work in progress. class info is parsed from mach-o data * JDWP work in progress. field info and method info parsing added * JDWP work in progress. Field/Method/Class info reworked a bit * JDWP work in progress. Capabilities handlers added * debugger work in progress * debugger work in progress * debugger work in progress * debugger work in progress - picked list of interfaces for class * debugger work in progress - added injection of bcHookInstrumented calls * debugger work in progress - JDWP event filtering reworked to keep order of modifiers * debugger work in progress - huge rethink/rework * debugger work in progress - adapting shutdowns, partial rework * debugger work in progress - added basic synchronization around state * debugger work in progress - class info reworked to include array and primitive ones, not tested to be runnable * debugger work in progress - rework in progress. finding the final structure * debugger work in progress - thread part, can compile now * debugger work in progress - day of instance variables * debugger work in progress - thread/threadgroup/string instances * debugger work in progress - added stubs to missing JDPW commands * debugger work in progress - missing handlers (stubs) and instantiation of string and array * debugger work in progress - fixed broken compilation * debugger work in progress - JDPW handlers implementation in progress * debugger work in progress - instance get/set values added * debugger work in progress - another JDPW handlers implemented * JDPW ref type interfaces implemented * JDPW ref type clazz instance implemented * JDPW ref type: handlers *withSignatures implemented to return empty string * JDPW class type: set static fields implemented * debugger work in progress - using llvm.dbg.declare is able to deliver DWARF info about variables. there are problems in resolving variables as it is not clear how to get some Locals. Probably there is need to look in SOOT for modification/support. Also there is lot of data reported wrong: e.g. arguments are reported as auto vars and there is only one dummy type reported * debugger work in progress - LLVM extended with method to get back DWARF debug info from object five. !!!! WARNING !!!! .dylib is not included into commit yet !!!! * changes to core files: 1) Clazz extended with api to keep attachements inside 2) CompilePluggin.afterObjectFile extended to pass ObjectFile itself 3) ClassCompiler plugin reworked to generate debug information object file local auto variables looks to be mess due to data received from Soot doesn't work as expected (e.g. start/end units point to wrong locations) some local variable location was not clear how to resolve. as due optimization there is multiple allocas for same variable index (that soot reports for local variables) also there are bunch of issues with native method that got into processing but shall not (currently results in warnings) * debug info o files linked to binary now * debugger work in progress - stack frame implementation in progress * debugger work in progress - thread related JDWP handles implemented * New upstream simlauncher binary, should support XCode 8.3. * Fix of following Tom-Ski comment (#119) Some of the updates to ios 10 are a little annoying if you want to support anything lower than 10 Due to inheritance trees, Im not sure if anything can be done about it For example, GKLocalPlayer has been around since 4.1, but GKBasePlayer (which GKLocalPlayer now inherits from) is a 10+ api only. This causing a crash when loading up GKLocalPlayer on versions lower than 10+ as the GKBasePlayer class is not found In this specific case, you can bind GKLocalPlayer and ignore the java side inheritance to brand new breaking API, to be compliant on all ios versions * Ignore linker warnings * debugger start up - reworked memory reader to handle segments as it looks like it requires to read __CODE segment. Also small fixes applied to start everything * debugger start up - fixed bug when there was no errno in log from hooks * debugger start up - fixed lot of runtime bugs, currently debugger is able to fetch string, initialize thread objects * debugger start up - added llvm.used to debug data genaration too keep debug data from being sliced out by linker as there is no active reference to it in code * debugger start up - fixed bugs in debug reading and related buffer code (debug info is now readable) * debugger start up - exception are ignored in VM/BC till internal initialization of VM is complete as required to fix wait_for_resume (currently any exception during initialization breaks it) * debugger start up - reworked method signature (short form now) * debugger start up - tonns of fixes: connecting hooks and jdwp, jdb is able to work with simple requests * debugger start up - fixed event delivery to JDWP * debugger start up - breakpoint set implemented and working, stepping implemented (not tested), local variables are not working, in progress * debugger start up - reverted method info to mark it as native in case there is no debug information about it. this will keep debugger client away from trying to fetch missing information and fail * debugger start up - fixed output of debug information * debugger start up - fixed injection to not incert hooksInstrumented before arguments got copiet to frame, arguments are now detected and reported to DWARF, variables are sorted by byteCodeIndex this keeps arguments on top of the list * debugger start up - local variables are kind of working, stepping working and lot of minor fixes * debugger start up - integrated with idea, completely buggy but runnable * debugger start up - invoke method implemented and wokring as toString() in idea * debugger start up - ugly bug with hooksInstrumented line number offset * debugger start up - another bp bug: attach line number metadata otherwise stack entry will have previous line number index * debugger start up - fixed stop on class load filter match (idea is happy) implemented new instance call * debugger start up - fixed operations with arrays * debugger start up - fixed release run (was broken by debugger launcher) * debugger start up - fixed debugger hands on bad access why getting to unallocated memory * debugger start up - sp-fp emit changed in way to export the value as global (to be able to pick with debugger from binary) * debugger start up - trick to keep .spfpoffset variables from being discarded by linker * debugger start up - forcing llvm to emit sp-fp offset * debugger start up - debugger can start on device now * debugger start up - implemented sp-fp offset for arm targets * debugger start up - fixed bug of debugger logger. with each run it was adding new handles and doubles number of lines being printed * debugger start up - compiler plugin was extended with helloClass method to allow plugin to evaluate unmodified class. Fixed issue when tonns of warning were risen on debug info for method not found * fixed bug when field value was not retrieved if declared in superclass * debugger start up - fixed start on devices (these changes looks to be reverted) * debugger start up - fixed read out of locals on arm32 platform (these changes looks to be reverted and lost previous time) * debugger start up - switched to own soot fork that solves variable resolution, fixed issue with crash when breakpoint was set before arguments is copied into local variable space * Merge branch 'master' into debugger, updated version to 2.3.2-SNAPSHOT * master: Set next development version of Gradle plugin, 2.3.2-SNAPSHOT Set release version of Gradle plugin, 2.3.1 Set next development version of IDEA plugin, 2.3.2 Set release version of IDEA plugin, 2.3.1 Set next development version of Eclipse plugin, 2.3.2 Set release version of Eclipse plugin, 2.3.1 [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release robovm-2.3.1 Fixing #127 <stripArchives> config ignored (#133) Exposing dump-intermediates builder option to gradle plugin configuration (#131) Dirty fix for #126, waiting if libimobiledvice fixes libimobiledevice/ideviceinstaller#70 Ignore linker warnings New upstream simlauncher binary, should support XCode 8.3. removed resource rules as it causes “invalid resource directory (directory or signature have been modified)” error on frameworks with resources signed (#120) Xcode project generator, IBInspectable annotation, for Idea plugin only (check build menu) (#114) Fix of following Tom-Ski comment (#119) # Conflicts: # plugins/ibxcode/pom.xml # plugins/ibxcode/src/main/java/org/robovm/ibxcode/IBException.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/IBXcodeProject.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/Utils.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/consts/AnnotationsTypes.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/consts/ClassNames.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/consts/StringConsts.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/FrameworkExportData.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBActionExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBClassExportData.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBOutletCollectionExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IBOutletExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/IClassExportMemberItem.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/export/XCodeProjectExporter.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/parser/IBClassHierarchyData.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/parser/IBClassHierarchyResolver.java # plugins/ibxcode/src/main/java/org/robovm/ibxcode/parser/IBClassMemberParser.java # plugins/idea/pom.xml # plugins/idea/src/main/java/org/robovm/idea/actions/GenerateXCodeProjectAction.java # plugins/idea/src/main/java/org/robovm/idea/ibxcode/RoboVmIbXcodeProjectTask.java # pom.xml * IDEA: fixed following issues: - on IDEA 2017 it was not possible to create new gradle based project - due not calling setupRootModel it was causing extra module mess to be created * IDEA: fixed issue #115 by removing any dependencies to android sdk * debugger -- fixed recursive call _rvmHookInstrumented as it was calling java classes inside which triggered _rvmHookInstrumented to be called and all this caused stack overflow error. reproduced during step-in operations * debugger -- fixed: - stack frame variable can be set (bug) - array creation and all related with it bugs * debugger -- forced to ignore instrumented hooks during stack unwinding and debugger initiate calls to JVM (such as create instance, method invoke) * blocks implementation -- added signature generation to blocks as in some cases it crashes with message "Block was not compiled using a compiler that inserts type information about arguments" * IDEA -- fixed resource unpack to maintain the timestamp same as it was in tar, otherwise on each launch idea will rebuild all classes in case of snapshot builds * debugger -- fixed resume VM handler. * debugger: fixed crash when trying instantiating result of invoke() that return null pointer * debugger: copyright time * retroperspective: this change is missing but present in master, check 3d0d71e * debugger: fixed crash array get Object element on 64bit target * debugger: corrected getter name * Fixed wrong TypeTag returned once breakpoint is hit that cause eclipse to complain. +some more copyrights
This feature seems to only work from command line.
I tried to fix that bug by looking into this problem but the only thing
I found out is that it's falling back to the two default patterns.
@intrigus Can you please take a look why this does not work?
The text was updated successfully, but these errors were encountered: