Closed iamsergio closed 3 years ago
Without -nostdout I get
With jre11:
WARNING: com.here.gluecodium.common.LimeLogger log: File /data/sources/gluecodium/examples/libhello/lime/test/Comments.lime, element test.CommentsLinks.random_method: Failed to resolve documentation reference [comments.SomeArray]
WARNING: com.here.gluecodium.common.LimeLogger log: File /data/sources/gluecodium/examples/libhello/lime/test/Comments.lime, element test.CommentsLinks.random_method: Failed to resolve documentation reference [comments.SomeMap]
WARNING: com.here.gluecodium.common.LimeLogger log: File /data/sources/gluecodium/examples/libhello/lime/test/Comments.lime, element test.CommentsLinks.random_method: Failed to resolve documentation reference [CommentsTypeCollection.TypeCollectionTypedef]
WARNING: com.here.gluecodium.common.LimeLogger log: File /data/sources/gluecodium/examples/libhello/lime/test/Comments.lime, element test.CommentsLinks.random_method: Failed to resolve documentation reference [outputParameter]
WARNING: com.here.gluecodium.common.LimeLogger log: File /data/sources/gluecodium/examples/libhello/lime/test/ArraysByteBuffer.lime, element test.ArraysByteBuffer.methodThatExplodes: Failed to resolve documentation reference [x00,x01,x02]
SEVERE: com.here.gluecodium.Gluecodium$Companion checkForFileNameCollisions: Generator 'android' is overwriting file android/com/example/test/SystemColor.java created already by 'android'
SEVERE: com.here.gluecodium.Gluecodium$Companion checkForFileNameCollisions: Generator 'android' is overwriting file android/com/example/test/SystemColor.java created already by 'android'
SEVERE: com.here.gluecodium.Gluecodium$Companion checkForFileNameCollisions: Generator 'android' is overwriting file android/com/example/test/Season.java created already by 'android'
SEVERE: com.here.gluecodium.Gluecodium$Companion checkForFileNameCollisions: Generator 'android' is overwriting file android/com/example/test/Season.java created already by 'android'
SEVERE: com.here.gluecodium.Gluecodium$Companion checkForFileNameCollisions: Generator 'android' is overwriting file android/jni/com_example_test_SystemColor__Conversion.h created already by 'android'
SEVERE: com.here.gluecodium.Gluecodium$Companion checkForFileNameCollisions: Generator 'android' is overwriting file android/jni/com_example_test_SystemColor__Conversion.cpp created already by 'android'
SEVERE: com.here.gluecodium.Gluecodium$Companion checkForFileNameCollisions: Generator 'android' is overwriting file android/jni/com_example_test_Season__Conversion.h created already by 'android'
SEVERE: com.here.gluecodium.Gluecodium$Companion checkForFileNameCollisions: Generator 'android' is overwriting file android/jni/com_example_test_Season__Conversion.cpp created already by 'android' ```
I think it's just the README which needs updating ?
It also mentions -enableCaching , which was removed some time ago
Our README file is definitely outdated. Might also be the cause of your initial problem. I'll have a look today or tomorrow.
Example projects got seriously outdated in the past year-and-something. They no longer compile. It is also no longer feasible to update them. Ideally we need to recreate them from scratch, but this effort is constantly of low priority compared to the need of new features and fixes.
I've pushed an update to README files so that at least they are no longer misleading with regard to "examples" project.
@iamsergio, if you have any ideas on what kind of example project could have helped you as an entry point, you feedback would be much appreciated.
I've found that ./generate -input ${PWD}/examples/libhello/lime/hello/ -output ${PWD}/generated
simply works, while
./generate -input ${PWD}/examples/libhello/lime/ -output ${PWD}/generated
doesn't.
i.e. building just for hello/, ignoring the tests (which are the culprit).
Not sure if the code will run, but at least the generated/ folder is full of dart bindings :).
So to close this bug, maybe just:
thanks for the updates!
Are there any requirements regarding Java and Gradle ? It fails on my Archlinux (gradle 6.6 ; OpenJDK 1.8)
The arguments passed to java were:
java -Xmx64m -Xms64m -Dorg.gradle.appname=gradlew -classpath /data/sources/gluecodium/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain -q run --args=-input /data/sources/gluecodium/examples/libhello/lime -output /data/sources/gluecodium/generated -nostdout