From: Steven A. <ste...@gm...> - 2011-07-04 11:09:42
|
The message is: /Users/tetrad/NetBeansProjects/app/dist/../build/xcode/src/trim/my_app_Main.m:8:25: error: MyFoundation.h: No such file or directory I am using NetBeans and XCode 4.0.2 if that helps. Steve ----- Original Message ----- From: Panayotis Katsaloulis Sent: 07/04/11 11:37 AM To: XMLVM User Subject: Re: [xmlvm-users] Write access on the iPhone On 04 Ιουλ 2011, at 11:54 π.μ., Steven Atkinson wrote: I have just updated to the latest revision and the messeage still appears. This is a snippet of how I am using the class import org.xmlvm.iphone.Foundation; public class Settings { public static final String documentsFolder = Foundation.NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.Document, NSSearchPathDomainMask.UserDomain, true).get(0); } However when I look into the Java implementation it just looks like this: public static ArrayList<String> NSSearchPathForDirectoriesInDomains(int NSSearchPathDirectory, int NSSearchPathDomainMask, boolean expandTilde) { ArrayList<String> res = new ArrayList<String>(); return null; } so tbh I wouldn't expect it to be doing anything anyway (unless there is something in the Obj-C backend?) Of course, the Java code is only a placeholder. The actual job is done in the ObjC backend. I wrote this code: System.out.println(Foundation.NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.Document, NSSearchPathDomainMask.UserDomain, true).get(0)); and it works. Just to be safe, perform "ant clean" first. |