From: Sascha H. <sa...@xm...> - 2010-09-23 08:42:17
|
Well, one of the things we will need to do for the cross-compilation of Android projects is to add the Android SDK. We can do this two ways: Either we put it into a JAR, just like the OpenJDK JAR or we assume the developer has Android installed and use an environment flag to point to the classes. The advantage of the latter is that we don't blow up the size of our repository and one-jar further and I guess we can assume that every dev has Android installed. // Sascha On Thu, Sep 23, 2010 at 10:17 AM, Panayotis Katsaloulis < pan...@pa...> wrote: > On 23 Σεπ 2010, at 4:22 π.μ., Arno Puder wrote: > > > > > you will have to explain that a little more in detail. The demos that > > are shipped with XMLVM are proper Android projects. They were created > > with the Android plugin for Eclipse (which is officially released by > > Google). In Eclipse, you can import xmlvm/demo/android/xokoban and you > > will see a proper Android project in your workspace. The location of the > > Android SDK is configured with the Eclipse plugin. > > > > XMLVM needs to compile .class files (not .dex files) to do its thing. > > So, the build.xml for that can be independent of the Android SDK. > > > > What exactly is the problem? > > > > Arno > > > Exactly that is the problem, it is only usable under Eclipse and not on the > command line. > The problem with the command line is that the Android SDK should be defined > somewhere. > > If we want to use the exact build options as with Android projects (as > discussed in a previous email with android libraries), the Android SDK > should be present. > > I have thought of this problem and I think I found an alternative approach. > The first time the user requests the Android based demos to be compiled - > and the location of the Android SDK was not provided to the XMLVM system - > an error will appear and the compilation will abort. When the user will > define the location, the compilation could go on as usual. > > Again, this has to do with the demo XMLVM Android projects. This will not > alter in any case the regular xmlvm usage from the command line. > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |