From: <ju...@ed...> - 2012-02-05 14:58:27
|
From this thread: [xmlvm-users] --target=iphonec NullPointerException https://sourceforge.net/mailarchive/message.php?msg_id=28772376 Arno has identified that an invocation of ant target 'run-XCode' is required against a skeleton project in order to avoid this error: >> [02/01/12 19:07:18.633] ERROR: Couldn't create node for >> android.app.Activity Running this ant target on a skeleton project does create all of the necessary artifacts to avoid this error: xcode things are generated nicely. NOW, I have *existing* Maven projects against which I have run the xmlvm-maven-plugin [0.0.1-SNAPSHOT] (which is itself built locally). HOWEVER, during the build I see the same error as that discussed above: [INFO] --- xmlvm-maven-plugin:0.0.1-SNAPSHOT:generate-xmlvm (generate) @ AndroidXMLVMXCodePOC --- [INFO] Running XMLVM with command line: [--in=/path/to/project/target/classes, --out=/path/to/project/target/AndroidXMLVMXCodePOC, --target=posix, --app-name=AndroidXMLVMXCodePOC, -DXcodeProject=iphone, -DBundleIdentifier=apkg.AndroidXMLVMXCodePOC, -DBundleVersion=0.0.1-SNAPSHOT, -DPrerenderedIcon=false, -DStatusBarHidden=false, -DApplicationExits=true, --debug=warning] [02/05/12 15:38:34.516] ERROR: Couldn't create node for android.app.Activity So, my 1st, and more important, question is: Is it possible to have the necessary boilerplate artifacts generated during this process of converting a maven project ? SECONDLY, I notice the -DXcodeProject-iphone argument, but from Arno's response in the thread: [xmlvm-users] XStream : Android -> iOS https://sourceforge.net/mailarchive/message.php?msg_id=28770943 Arno says <quote> --target=iphonec is required as the obj-C backend cannot support this. </quote> So, my 2nd question is : does -DXcodeProject=iphone use C or Obj-C backend ? Julian |