|
From: Panayotis K. <pan...@pa...> - 2011-07-14 12:50:02
|
When I compile xmlvm from another directory, the build script fails to compile the android compatibility library.
It seems that the "java" command under cc-android-compat-lib.impl makes some assumptions that the directory this executable is called, is the same as the root XMLVM directory.
Here is what I get (with some steps back to help you trace the problem)
build-android-compat-lib:
[mkdir] Created dir: /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm/build/compat-lib/android/java
[javac] /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm/build.xml:91: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 231 source files to /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm/build/compat-lib/android/java
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[jar] Building jar: /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm/dist/lib/android-compat.jar
cc-android-compat-lib:
cc-android-compat-lib.impl:
[echo] Building android compatibility lib
[mkdir] Created dir: /Users/teras/Works/Development/Mobile/SDK/CrossMobile/xmlvm/build/compat-lib/android/objc
[java] [07/14/11 15:47:18.065] DEBUG: Forcing --enable-ref-counting for target OBJC
[java] [07/14/11 15:47:18.081] ERROR: InputProcessFactory: Could not find input resource: build/compat-lib/android/java/
[java] [07/14/11 15:47:18.087] ERROR: XmlvmProcessor: No inputs to process.
[java] [07/14/11 15:47:18.087] ERROR: Something went wrong during processing.
xmlvmjar:
...
...
|