<html>
<head></head>
<body>
<p>Upps sorry, I had a error with .app files, where appears FicheroPrincipal.py replace MySharedApp.py.</p>
<p>Regards</p>
<div><em>El dia 30 ago 2010 15:30, Jesus Cea Oliva &lt;jesus.cea@uca.es&gt; escribi&oacute;:</em></div><blockquote class="replyBlock" style="border-left: 2px solid #000083; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p>Hi Christoph, I don't understand very well what do you mean.</p>
<p>I have problems when I tried unpacking the Shared Application with the command:</p>
<p>sudo agpm.py -s -p SharedApp.agpkg</p>
<p>because show me messages errors about there are files that don't exists (the image files). My first .app file was:</p>
<p>[application]<br/>
name = MySharedApp<br />mimetype = application/x-ag-my-shared-app<br />extension = mysharedapp<br />files = MySharedApp.py MySharedApp_GUI.py ./images/*</p>
<br/>
<p>[commands]<br />Open =&nbsp;%(python)s FicheroPrincipal.py -a %(appUrl)s -v %(venueUrl)s</p>
<br/>
<p>but it doesn't work. Then, I tried this:</p>
<p>[application]<br/>
name = MySharedApp<br />mimetype = application/x-ag-my-shared-app<br />extension = mysharedapp<br />files = MySharedApp.py MySharedApp_GUI.py ./images/icon1.png ./images/icon2.png ...</p>
<br/>
<p>[commands]<br />Open =&nbsp;%(python)s FicheroPrincipal.py -a %(appUrl)s -v %(venueUrl)s</p>
<br/>
<p>but, it doen't work too :S.</p>
<br/>
<p>Regards again! ;)</p>
<div><em>El dia 30 ago 2010 14:55, Christoph Willing &lt;c.willing@uq.edu.au&gt; escribi&oacute;:</em></div><blockquote class="replyBlock" style="border-left: 2px solid #000083; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p>On 30/08/2010, at 9:19 PM, Jesus Cea Oliva wrote:</p>
<blockquote class="replyBlock" style="border-left: 2px solid #000083; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p>Hi list.</p>
<p>First all, I hope you had a good holiday ^^. Well, I've developed a  Shared Application (that soon, I would like to shared with yours),  and it has a subfolder, called 'images', that contains several icons  from the app.</p>
<p>When I created the .app file, on section 'files', I tried putting  relatives paths to references this images (./images/icon1.png, etc),  but it didn't work.</p>
<p>Is it possible create agpkg3 files that contains subfolders with  other files?</p>
</blockquote><p>Just a guess - you probably have to reference the file in a  subdirectory with something like:<br />icon1 = os.path.join(os.getcwd(), "images", "incon1.png")</p>
<p>Then do something with icon1</p>
<br/>
<p>chris</p>
<br/>
<p>Christoph Willing                       +61 7 3365 8316<br />QCIF Access Grid Manager<br />University of Queensland</p>
</blockquote></blockquote><p>&nbsp;</p>
</body>
</html>