From: Marko Ž. <xm...@st...> - 2011-02-12 18:41:24
|
Arno, thanks for the answer, but I'm not compiling it to an iPhone application, I'm compiling it to a xcode project, and this CAN be done under Windows. So my problem is not wether I can compile it to an iPhone application or not, but about an error in the ant build process. To clarify it a little bit... In the xcode.xml file we have a java call to the xmlvm that converts the application into xcode. In this call, there's an argument like this: <arg value="--in=${out.dir}/classes"/> The problem is that in the process of ant building the ${out.dir} is not resolved to its value, so I get an error message [java] [02/12/11 14:40:18.718] ERROR: UniversalFileCreator: Location is neither a File nor a directory: C:\MobDev\xmlvm\trunk\xmlvm\demo\iphone\ifireworks\${out.dir}\classes I tried to replace ${out.dir}/classes with a hardcoded path, like this: C:\MobDev\xmlvm\trunk\xmlvm\demo\iphone\ifireworks\build/classes and after that it works without problem and compiles it to xcode. So it means that it can be done. But this is not a sollution, rather a quickfix, and would like to know if there's a sollution to this ${out.dir} problem? P.S. I have investigated a little bit, and it seems like there are ways to compile xcode projects on windows. So when I go past this build problem I plan to follow this road all the way. On 12.2.2011 19:23, Arno Puder wrote: > You cannot compile for the iPhone under Windows. You need a Mac OS platform. > > Arno > > On Feb 12, 2011, at 6:52 AM, Marko Žmak<xm...@st...> wrote: > >> I tried to compile the iphone demo applications to Xcode project but >> when executing ant build it stuck at -do-xproject and I got this error: >> >> -do-xproject: >> [echo] Creating Xcode project >> [java] [02/12/11 14:40:18.718] ERROR: UniversalFileCreator: >> Location is neither a File nor a directory: >> C:\MobDev\xmlvm\trunk\xmlvm\demo\iphone\ifireworks\${out.dir}\classes >> [java] [02/12/11 14:40:18.718] ERROR: InputProcessFactory: >> Could not find input resource: ${out.dir}/classes >> >> >> It seems like it doesn't resolve the ${out.dir}reference, but why? What >> could be the problem? >> >> >> P.S. I'm using Ant 1.8.2, Eclipse Pulsar edition, and the latest xmlvm >> from svn. >> >> -- >> Studio Artlan >> Marko Žmak, dipl.ing.mat. >> Mob: +385 98 212 801 >> Email: xm...@st... >> Web: http://www.studioartlan.com/ >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users -- Studio Artlan Marko Žmak, dipl.ing.mat. Mob: +385 98 212 801 Email: xm...@st... Web: http://www.studioartlan.com/ |