From: <D.D...@ak...> - 2011-05-10 09:50:55
|
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi,<br><br>I checked it by trying to create a new project and providing as resource folder the absolute path<br>of a folder located somewhere else in the system. However I get the following warning<br><br>WARNING: InputProcess.GetOutputFiles(): Input File does not exist or is not a file<br><br>If I check the project, I have a resources folder that only contains the demo.png file, while<br>the xmlvm.properties file has the entry<br><br>xmlvm.resource=resources/ <br><br>Obviously it didn't take into account my resources. How should it behave instead? <br>Should it copy my files into the resources/ folder? Can I do it manually?<br>That's what I did previously and it works, as far as I use images. If I try to read a file<br>instead, I get the error I wrote you about. I don't know if the things are connected.<br>It may be useful to know that mu res/ folder contains subdirectories which contain the needed files<br><br>I also tried to modify the resource path to <br><br>xmlvm.resource=res<br><br>But the result is the same: images are loaded anyway, while files aren't (with any combination of file path except for the absolute one)<br><br>Any hint?<br><br>Thanks,<br><br>Domenico<br></div><font color="#990099"><br>-----Domenico De Fano <a class="moz-txt-link-rfc2396E" href="mailto:dom...@gm..."><dom...@gm...></a> a écrit : -----<br><br></font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px">A : Panayotis Katsaloulis <a class="moz-txt-link-rfc2396E" href="mailto:pan...@pa..."><pan...@pa...></a>, <a class="moz-txt-link-abbreviated" href="mailto:d.d...@ak...">d.d...@ak...</a><br>De : Domenico De Fano <a class="moz-txt-link-rfc2396E" href="mailto:dom...@gm..."><dom...@gm...></a><br>Date : 10/05/2011 09:02<br>Objet : Re: [xmlvm-dev] Files path<br><br>Hi,<br><br>I think I got the point: when I created the project, I didn't indicate in the full path in the --resource option, so that this <br>is actually located outside the project directory. I'll try and let you know<br> However, I wonder if I should see something in the xcode project too, a reference to the resources folders or something<br>similar.<br><br>Thanks for your help!<br><br>Domenico De Fano<br><br><div class="gmail_quote">On 4 May 2011 20:48, Panayotis Katsaloulis <span dir="ltr"><<a href="mailto:pan...@pa...">pan...@pa...</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;"><div class="im"><br> On May 4, 2011, at 9:28 PM, Domenico De Fano wrote:<br><br> > Hi,<br> ><br> > That's exactly what I'm doing, but unfortunately it doesn't work. Do you think I need to set any particular<br> > configuration in the XMLVM project or to put my files in another folder?<br> > Also, I don't understand why I don't need to add the "res/" to the path when loading images using the<br> > UIIMage. I know it depends on the fact that when I created the project I set that folder as the one<br> > containing the resources, but I don't clearly see the connection.<br> ><br> > Thanks,<br> ><br> > Domenico<br><br> </div>Just a quick comment:<br> I have used folders with resources in the main bundle and elsewhere and works perfectly.<br> I suspect that you don't do something correctly.<br><br> As a first step, have a look at the produces *.app directory and make sure that the file hierarchy is correct.<br> <div><div></div><div class="h5">------------------------------------------------------------------------------<br> WhatsUp Gold - Download Free Network Management Software<br> The most intuitive, comprehensive, and cost-effective network<br> management toolset available today. Delivers lowest initial<br> acquisition cost and overall TCO of any competing solution.<br> <a href="http://p.sf.net/sfu/whatsupgold-sd" target="_blank">http://p.sf.net/sfu/whatsupgold-sd</a><br> _______________________________________________<br> Xmlvm-developers mailing list<br> <a href="mailto:Xml...@li...">Xml...@li...</a><br> <a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br> </div></div></blockquote></div><br><br clear="all"><br>-- <br>Domenico De Fano<br> </blockquote><br></font> |
From: cpsingh <cp...@ak...> - 2011-05-10 19:51:14
|
Hi Anyone can help me in compiling the Java code to Iphone. I am able to compile the jave code in iphone app. I am using the Windows platform and it is generating the Iphone app without any error. But when i am deploying the application Mac Book using the guide provided in the xmlvm.org then xcode is giving so many errors. I am able to remove the errors also by removing some of the files which are creating problem. Now when i am trying to run the code in IPhone simulator then it is giving missing byte code. Can u please help me out from this problem Regards CP Singh ----- Original Message ----- From: D.D...@ak... To: Panayotis Katsaloulis ; xml...@li... Sent: Tuesday, May 10, 2011 15:20 Subject: Re: [xmlvm-users] [xmlvm-dev] Files path Hi, I checked it by trying to create a new project and providing as resource folder the absolute path of a folder located somewhere else in the system. However I get the following warning WARNING: InputProcess.GetOutputFiles(): Input File does not exist or is not a file If I check the project, I have a resources folder that only contains the demo.png file, while the xmlvm.properties file has the entry xmlvm.resource=resources/ Obviously it didn't take into account my resources. How should it behave instead? Should it copy my files into the resources/ folder? Can I do it manually? That's what I did previously and it works, as far as I use images. If I try to read a file instead, I get the error I wrote you about. I don't know if the things are connected. It may be useful to know that mu res/ folder contains subdirectories which contain the needed files I also tried to modify the resource path to xmlvm.resource=res But the result is the same: images are loaded anyway, while files aren't (with any combination of file path except for the absolute one) Any hint? Thanks, Domenico -----Domenico De Fano <dom...@gm...> a écrit : ----- A : Panayotis Katsaloulis <pan...@pa...>, d.d...@ak... De : Domenico De Fano <dom...@gm...> Date : 10/05/2011 09:02 Objet : Re: [xmlvm-dev] Files path Hi, I think I got the point: when I created the project, I didn't indicate in the full path in the --resource option, so that this is actually located outside the project directory. I'll try and let you know However, I wonder if I should see something in the xcode project too, a reference to the resources folders or something similar. Thanks for your help! Domenico De Fano On 4 May 2011 20:48, Panayotis Katsaloulis <pan...@pa...> wrote: On May 4, 2011, at 9:28 PM, Domenico De Fano wrote: > Hi, > > That's exactly what I'm doing, but unfortunately it doesn't work. Do you think I need to set any particular > configuration in the XMLVM project or to put my files in another folder? > Also, I don't understand why I don't need to add the "res/" to the path when loading images using the > UIIMage. I know it depends on the fact that when I created the project I set that folder as the one > containing the resources, but I don't clearly see the connection. > > Thanks, > > Domenico Just a quick comment: I have used folders with resources in the main bundle and elsewhere and works perfectly. I suspect that you don't do something correctly. As a first step, have a look at the produces *.app directory and make sure that the file hierarchy is correct. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Xmlvm-developers mailing list Xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-developers -- Domenico De Fano ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ------------------------------------------------------------------------------ _______________________________________________ xmlvm-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2011-05-12 05:01:15
|
you should create the Xcode project on a Mac platform. If you run XMLVM on a Windows box, it will also use Windows-style conventions (such as '\' instead of '/'). As the for code instructions, well how about telling us which byte code instructions are missing? :) Arno On 5/10/11 12:50 PM, cpsingh wrote: > Hi > Anyone can help me in compiling the Java code to Iphone. I am able to > compile the jave code in iphone app. I am using the Windows platform and > it is generating the Iphone app without any error. But when i am > deploying the application Mac Book using the guide provided in the > xmlvm.org then xcode is giving so many errors. I am able to remove the > errors also by removing some of the files which are creating problem. > Now when i am trying to run the code in IPhone simulator then it is > giving missing byte code. Can u please help me out from this problem > Regards > CP Singh > > ----- Original Message ----- > *From:* D.D...@ak... <mailto:D.D...@ak...> > *To:* Panayotis Katsaloulis <mailto:pan...@pa...> ; > xml...@li... > <mailto:xml...@li...> > *Sent:* Tuesday, May 10, 2011 15:20 > *Subject:* Re: [xmlvm-users] [xmlvm-dev] Files path > > Hi, > > I checked it by trying to create a new project and providing as > resource folder the absolute path > of a folder located somewhere else in the system. However I get the > following warning > > WARNING: InputProcess.GetOutputFiles(): Input File does not exist or > is not a file > > If I check the project, I have a resources folder that only contains > the demo.png file, while > the xmlvm.properties file has the entry > > xmlvm.resource=resources/ > > Obviously it didn't take into account my resources. How should it > behave instead? > Should it copy my files into the resources/ folder? Can I do it > manually? > That's what I did previously and it works, as far as I use images. > If I try to read a file > instead, I get the error I wrote you about. I don't know if the > things are connected. > It may be useful to know that mu res/ folder contains subdirectories > which contain the needed files > > I also tried to modify the resource path to > > xmlvm.resource=res > > But the result is the same: images are loaded anyway, while files > aren't (with any combination of file path except for the absolute one) > > Any hint? > > Thanks, > > Domenico > > -----Domenico De Fano <dom...@gm...> a écrit : ----- > > A : Panayotis Katsaloulis <pan...@pa...>, > d.d...@ak... > De : Domenico De Fano <dom...@gm...> > Date : 10/05/2011 09:02 > Objet : Re: [xmlvm-dev] Files path > > Hi, > > I think I got the point: when I created the project, I didn't > indicate in the full path in the --resource option, so that this > is actually located outside the project directory. I'll try and > let you know > However, I wonder if I should see something in the xcode project > too, a reference to the resources folders or something > similar. > > Thanks for your help! > > Domenico De Fano > > On 4 May 2011 20:48, Panayotis Katsaloulis > <pan...@pa... <mailto:pan...@pa...>> wrote: > > > On May 4, 2011, at 9:28 PM, Domenico De Fano wrote: > > > Hi, > > > > That's exactly what I'm doing, but unfortunately it > doesn't work. Do you think I need to set any particular > > configuration in the XMLVM project or to put my files in > another folder? > > Also, I don't understand why I don't need to add the > "res/" to the path when loading images using the > > UIIMage. I know it depends on the fact that when I > created the project I set that folder as the one > > containing the resources, but I don't clearly see the > connection. > > > > Thanks, > > > > Domenico > > Just a quick comment: > I have used folders with resources in the main bundle and > elsewhere and works perfectly. > I suspect that you don't do something correctly. > > As a first step, have a look at the produces *.app directory > and make sure that the file hierarchy is correct. > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > <mailto:Xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > > -- > Domenico De Fano > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > > ------------------------------------------------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: cpsingh <cp...@ak...> - 2011-05-12 05:25:14
|
Hi Arno Thank you very much for the prompt reply. I have a pure java API and I am converting this API in Iphone. Can u please let me know the conversion should be done in Mac or Windows? It is not compiling the java code converted in Iphone produced in the Windows platform. Is there any kind of difference between the Iphone code produced in windows platform or Mac Platform Thanks CP ----- Original Message ----- From: "Arno Puder" <ar...@pu...> To: <xml...@li...> Sent: Thursday, May 12, 2011 10:31 Subject: Re: [xmlvm-users] [xmlvm-dev] Files path > > you should create the Xcode project on a Mac platform. If you run XMLVM > on a Windows box, it will also use Windows-style conventions (such as > '\' instead of '/'). As the for code instructions, well how about > telling us which byte code instructions are missing? :) > > Arno > > > On 5/10/11 12:50 PM, cpsingh wrote: >> Hi >> Anyone can help me in compiling the Java code to Iphone. I am able to >> compile the jave code in iphone app. I am using the Windows platform and >> it is generating the Iphone app without any error. But when i am >> deploying the application Mac Book using the guide provided in the >> xmlvm.org then xcode is giving so many errors. I am able to remove the >> errors also by removing some of the files which are creating problem. >> Now when i am trying to run the code in IPhone simulator then it is >> giving missing byte code. Can u please help me out from this problem >> Regards >> CP Singh >> >> ----- Original Message ----- >> *From:* D.D...@ak... <mailto:D.D...@ak...> >> *To:* Panayotis Katsaloulis <mailto:pan...@pa...> ; >> xml...@li... >> <mailto:xml...@li...> >> *Sent:* Tuesday, May 10, 2011 15:20 >> *Subject:* Re: [xmlvm-users] [xmlvm-dev] Files path >> >> Hi, >> >> I checked it by trying to create a new project and providing as >> resource folder the absolute path >> of a folder located somewhere else in the system. However I get the >> following warning >> >> WARNING: InputProcess.GetOutputFiles(): Input File does not exist or >> is not a file >> >> If I check the project, I have a resources folder that only contains >> the demo.png file, while >> the xmlvm.properties file has the entry >> >> xmlvm.resource=resources/ >> >> Obviously it didn't take into account my resources. How should it >> behave instead? >> Should it copy my files into the resources/ folder? Can I do it >> manually? >> That's what I did previously and it works, as far as I use images. >> If I try to read a file >> instead, I get the error I wrote you about. I don't know if the >> things are connected. >> It may be useful to know that mu res/ folder contains subdirectories >> which contain the needed files >> >> I also tried to modify the resource path to >> >> xmlvm.resource=res >> >> But the result is the same: images are loaded anyway, while files >> aren't (with any combination of file path except for the absolute >> one) >> >> Any hint? >> >> Thanks, >> >> Domenico >> >> -----Domenico De Fano <dom...@gm...> a écrit : ----- >> >> A : Panayotis Katsaloulis <pan...@pa...>, >> d.d...@ak... >> De : Domenico De Fano <dom...@gm...> >> Date : 10/05/2011 09:02 >> Objet : Re: [xmlvm-dev] Files path >> >> Hi, >> >> I think I got the point: when I created the project, I didn't >> indicate in the full path in the --resource option, so that this >> is actually located outside the project directory. I'll try and >> let you know >> However, I wonder if I should see something in the xcode project >> too, a reference to the resources folders or something >> similar. >> >> Thanks for your help! >> >> Domenico De Fano >> >> On 4 May 2011 20:48, Panayotis Katsaloulis >> <pan...@pa... <mailto:pan...@pa...>> wrote: >> >> >> On May 4, 2011, at 9:28 PM, Domenico De Fano wrote: >> >> > Hi, >> > >> > That's exactly what I'm doing, but unfortunately it >> doesn't work. Do you think I need to set any particular >> > configuration in the XMLVM project or to put my files in >> another folder? >> > Also, I don't understand why I don't need to add the >> "res/" to the path when loading images using the >> > UIIMage. I know it depends on the fact that when I >> created the project I set that folder as the one >> > containing the resources, but I don't clearly see the >> connection. >> > >> > Thanks, >> > >> > Domenico >> >> Just a quick comment: >> I have used folders with resources in the main bundle and >> elsewhere and works perfectly. >> I suspect that you don't do something correctly. >> >> As a first step, have a look at the produces *.app directory >> and make sure that the file hierarchy is correct. >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Xmlvm-developers mailing list >> Xml...@li... >> <mailto:Xml...@li...> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-developers >> >> >> >> >> -- >> Domenico De Fano >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Achieve unprecedented app performance and reliability >> What every C/C++ and Fortran developer should know. >> Learn how Intel has extended the reach of its next-generation tools >> to help boost performance applications - inlcuding clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> >> >> ------------------------------------------------------------------------------ >> Achieve unprecedented app performance and reliability >> What every C/C++ and Fortran developer should know. >> Learn how Intel has extended the reach of its next-generation tools >> to help boost performance applications - inlcuding clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> >> >> >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: <D.D...@ak...> - 2011-05-12 08:57:56
|
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi all,<br><br>Just to let you know how I solved my issue, in case you need it too:<br><br>1) To address the path of the resources folder, I use<br> <br> <font><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">NSBunde.mainBundle.bundlePath</font></font><br> <br> this returns the path of my .app package, containing all the necessary files for the application. It works <br> like a charm on both the simulator and the device, I tried it on different machines too.<br><br>2) The append of the "/res/" (or whatever the resources folder is called) to the previous depends, if I well understood,<br> on the way I configure the xmlvm.resource option. That is, if I set it to be "res/", then the .app file<br> will contain a folder named res totally equivalent to the original one. If I set it to be "res", then the subfolders and files<br> contained in it will be directly copied in the .app package. Thus, I don't need to add the "/res/" part to the path<br> when addressing files.<br><br>3) It is possible to set the xmlvm.resource property both whil creating the project, through the --resource argument,<br> or by setting the xmlvm.resource entry in the xmlvm.properties file of an existing project.<br><br>4) I don't need to specify the bundlePath if I want to load images through the UIImage class. In that case, I only need<br> the path starting from the bundlePath (e.g: "res/myImages/file.jpg" or "myImages/file.jpg depending on the cases discussed above).<br><br>Hope this helps!<br><br>Domenico<br><br><br><br></div><font color="#990099">-----Transféré par Dominico DE FANO/FR/AKKA le 12/05/2011 10:12 -----<br><br></font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px">A : Panayotis Katsaloulis <a class="moz-txt-link-rfc2396E" href="mailto:pan...@pa..."><pan...@pa...></a><br>De : Dominico DE FANO/FR/AKKA<br>Date : 10/05/2011 12:33<br>Objet : Re: [xmlvm-users] [xmlvm-dev] Files path<br><br><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi,<br><br>That is exactly what I wanted to try, to see what happens by removing the "/".<br>But nothing happened, and the app worked as usual.<br><br><br></div><font color="#990099">-----Panayotis Katsaloulis <a class="moz-txt-link-rfc2396E" href="mailto:pan...@pa..."><pan...@pa...></a> a écrit : -----<br><br></font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px">A : XMLVM User <a class="moz-txt-link-rfc2396E" href="mailto:xml...@li..."><xml...@li...></a><br>De : Panayotis Katsaloulis <a class="moz-txt-link-rfc2396E" href="mailto:pan...@pa..."><pan...@pa...></a><br>Date : 10/05/2011 12:20<br>Objet : Re: [xmlvm-users] [xmlvm-dev] Files path<br><br><br><div><div>On 10 Μαϊ 2011, at 12:50 μ.μ., <a href="mailto:D.D...@ak...">D.D...@ak...</a> wrote:</div><br><blockquote type="cite"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>If I check the project, I have a resources folder that only contains the demo.png file, while<br>the xmlvm.properties file has the entry<br><br>xmlvm.resource=resources/ <br><br>Obviously it didn't take into account my resources. How should it behave instead? <br>Should it copy my files into the resources/ folder? Can I do it manually?<br>That's what I did previously and it works, as far as I use images. If I try to read a file<br>instead, I get the error I wrote you about. I don't know if the things are connected.<br>It may be useful to know that mu res/ folder contains subdirectories which contain the needed files<br><br>I also tried to modify the resource path to <br><br>xmlvm.resource=res<br><br></div></font></blockquote><div><br></div><div><br></div><div>Notice, one entry has a "/" and the other has not.</div><div>If you see the help file of xmlvm (or the online documentation), you'll see that the "/" is important at the end.</div><div><br></div></div><font face="Courier New,Courier,monospace" size="3">------------------------------------------------------------------------------<br>Achieve unprecedented app performance and reliability<br>What every C/C++ and Fortran developer should know.<br>Learn how Intel has extended the reach of its next-generation tools<br>to help boost performance applications - inlcuding clusters.<br><a href="http://p.sf.net/sfu/intel-dev2devmay">http://p.sf.net/sfu/intel-dev2devmay</a></font><font face="Courier New,Courier,monospace" size="3">_______________________________________________<br>xmlvm-users mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:xml...@li...">xml...@li...</a><br><a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-users">https://lists.sourceforge.net/lists/listinfo/xmlvm-users</a><br></font> </blockquote><br></font> </blockquote><br></font> |
From: <D.D...@ak...> - 2011-05-10 10:02:08
|
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi,<br><br>I just fixed the problem by writing the path as<br><br>NSBunde.mainBundle.bundlePath + "/res/"<br><br>This recreates the absolute path but at least I can port my application on another computer <br>without having to change the path manually. I wonder if it this is the standard way of doing it<br>and most importantly it will work on the device.<br><br>Regards,<br><br>Domenico<br><br></div><font color="#990099">---...@ak... a écrit : -----<br><br></font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px">A : Panayotis Katsaloulis <a class="moz-txt-link-rfc2396E" href="mailto:pan...@pa..."><pan...@pa...></a>, <a class="moz-txt-link-abbreviated" href="mailto:xml...@li...">xml...@li...</a><br>De : <a class="moz-txt-link-abbreviated" href="mailto:D.D...@ak...">D.D...@ak...</a><br>Date : 10/05/2011 11:50<br>Objet : Re: [xmlvm-users] [xmlvm-dev] Files path<br><br><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi,<br><br>I checked it by trying to create a new project and providing as resource folder the absolute path<br>of a folder located somewhere else in the system. However I get the following warning<br><br>WARNING: InputProcess.GetOutputFiles(): Input File does not exist or is not a file<br><br>If I check the project, I have a resources folder that only contains the demo.png file, while<br>the xmlvm.properties file has the entry<br><br>xmlvm.resource=resources/ <br><br>Obviously it didn't take into account my resources. How should it behave instead? <br>Should it copy my files into the resources/ folder? Can I do it manually?<br>That's what I did previously and it works, as far as I use images. If I try to read a file<br>instead, I get the error I wrote you about. I don't know if the things are connected.<br>It may be useful to know that mu res/ folder contains subdirectories which contain the needed files<br><br>I also tried to modify the resource path to <br><br>xmlvm.resource=res<br><br>But the result is the same: images are loaded anyway, while files aren't (with any combination of file path except for the absolute one)<br><br>Any hint?<br><br>Thanks,<br><br>Domenico<br></div><font color="#990099"><br>-----Domenico De Fano <a class="moz-txt-link-rfc2396E" href="mailto:dom...@gm..."><dom...@gm...></a> a écrit : -----<br><br></font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px">A : Panayotis Katsaloulis <a class="moz-txt-link-rfc2396E" href="mailto:pan...@pa..."><pan...@pa...></a>, <a class="moz-txt-link-abbreviated" href="mailto:d.d...@ak...">d.d...@ak...</a><br>De : Domenico De Fano <a class="moz-txt-link-rfc2396E" href="mailto:dom...@gm..."><dom...@gm...></a><br>Date : 10/05/2011 09:02<br>Objet : Re: [xmlvm-dev] Files path<br><br>Hi,<br><br>I think I got the point: when I created the project, I didn't indicate in the full path in the --resource option, so that this <br>is actually located outside the project directory. I'll try and let you know<br> However, I wonder if I should see something in the xcode project too, a reference to the resources folders or something<br>similar.<br><br>Thanks for your help!<br><br>Domenico De Fano<br><br><div class="gmail_quote">On 4 May 2011 20:48, Panayotis Katsaloulis <span dir="ltr"><<a href="mailto:pan...@pa...">pan...@pa...</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;"><div class="im"><br> On May 4, 2011, at 9:28 PM, Domenico De Fano wrote:<br><br> > Hi,<br> ><br> > That's exactly what I'm doing, but unfortunately it doesn't work. Do you think I need to set any particular<br> > configuration in the XMLVM project or to put my files in another folder?<br> > Also, I don't understand why I don't need to add the "res/" to the path when loading images using the<br> > UIIMage. I know it depends on the fact that when I created the project I set that folder as the one<br> > containing the resources, but I don't clearly see the connection.<br> ><br> > Thanks,<br> ><br> > Domenico<br><br> </div>Just a quick comment:<br> I have used folders with resources in the main bundle and elsewhere and works perfectly.<br> I suspect that you don't do something correctly.<br><br> As a first step, have a look at the produces *.app directory and make sure that the file hierarchy is correct.<br> <div><div></div><div class="h5">------------------------------------------------------------------------------<br> WhatsUp Gold - Download Free Network Management Software<br> The most intuitive, comprehensive, and cost-effective network<br> management toolset available today. Delivers lowest initial<br> acquisition cost and overall TCO of any competing solution.<br> <a href="http://p.sf.net/sfu/whatsupgold-sd" target="_blank">http://p.sf.net/sfu/whatsupgold-sd</a><br> _______________________________________________<br> Xmlvm-developers mailing list<br> <a href="mailto:Xml...@li...">Xml...@li...</a><br> <a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br> </div></div></blockquote></div><br><br clear="all"><br>-- <br>Domenico De Fano<br> </blockquote><br></font> <font face="Courier New,Courier,monospace" size="3">------------------------------------------------------------------------------<br>Achieve unprecedented app performance and reliability<br>What every C/C++ and Fortran developer should know.<br>Learn how Intel has extended the reach of its next-generation tools<br>to help boost performance applications - inlcuding clusters.<br><a href="http://p.sf.net/sfu/intel-dev2devmay">http://p.sf.net/sfu/intel-dev2devmay</a></font><font face="Courier New,Courier,monospace" size="3">_______________________________________________<br>xmlvm-users mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:xml...@li...">xml...@li...</a><br><a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-users">https://lists.sourceforge.net/lists/listinfo/xmlvm-users</a><br></font> </blockquote><br></font> |
From: Panayotis K. <pan...@pa...> - 2011-05-10 10:20:55
|
On 10 Μαϊ 2011, at 12:50 μ.μ., D.D...@ak... wrote: > If I check the project, I have a resources folder that only contains the demo.png file, while > the xmlvm.properties file has the entry > > xmlvm.resource=resources/ > > Obviously it didn't take into account my resources. How should it behave instead? > Should it copy my files into the resources/ folder? Can I do it manually? > That's what I did previously and it works, as far as I use images. If I try to read a file > instead, I get the error I wrote you about. I don't know if the things are connected. > It may be useful to know that mu res/ folder contains subdirectories which contain the needed files > > I also tried to modify the resource path to > > xmlvm.resource=res > Notice, one entry has a "/" and the other has not. If you see the help file of xmlvm (or the online documentation), you'll see that the "/" is important at the end. |