<div dir="ltr">Mariano, in case you were planning to deploy it on Windows you will need this changes: <a href="https://github.com/SeasideSt/Seaside/pull/944">https://github.com/SeasideSt/Seaside/pull/944</a> . For Linux or Mac the deployment will work with the current code.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 18, 2017 at 11:12 AM, Mariano Martinez Peck <span dir="ltr"><<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 18, 2017 at 10:02 AM, Thomas Brodt <span dir="ltr"><<a href="mailto:thomas.brodt.lists@porabo.ch" target="_blank">thomas.brodt.lists@porabo.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>There is <br>
    </p>
    <p>WAFileMetadataLibrary recursivelyAddAllFilesIn: aPathString <br>
    </p>
    which imports a directory structure. Invoke that from your library
    class. Have you tried that?<br>
    <br></div></blockquote><div><br></div><div>Thanks!!!!!!</div><div>That was exactly what I was looing for!.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
    HTH <br>
    Thomas<div><div class="gmail-h5"><div><div class="gmail-m_7436518844670873648h5"><br>
    <br>
    <div class="gmail-m_7436518844670873648m_7844989043039519430moz-cite-prefix">Am 18.08.2017 um 14:24 schrieb Mariano
      Martinez Peck:<br>
    </div>
    </div></div></div></div><blockquote type="cite"><div><div class="gmail-h5"><div><div class="gmail-m_7436518844670873648h5">
      <div dir="ltr">Hi guys,
        <div><br>
        </div>
        <div>I see some libraries using WAFileMetadataLibrary
          subclasses. For example, Code Mirror. I have copied it's
          design, but have to manually create all the intermediate
          methods such as:</div>
        <div><br>
        </div>
        <div>
          <div>themesdarkCss</div>
          <div><span style="white-space:pre-wrap">        </span>^
            WAFileLibraryResource</div>
          <div><span style="white-space:pre-wrap">                </span>filepath:
            'themes/dark.css'</div>
          <div><span style="white-space:pre-wrap">                </span>mimeType:
            (WAMimeType main: 'text' sub: 'css')</div>
          <div><span style="white-space:pre-wrap">                </span>cacheDuration:
            (Duration days: 0 hours: 0 minutes: 30 seconds: 0)</div>
          <div><span style="white-space:pre-wrap">                </span>contents:
            (GRDelayedSend receiver: self selector:
            #themedarkCssContent)</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>Aside from that, I also must keep a #fill kind of class
            side method where I autogenerate the contents for each
            file...something like this:</div>
          <div><br>
          </div>
          <div>
            <div>themes := basePath , 'themes/'.</div>
            <div>self faAddFileAt:  themes, 'dark.css' selector: (#theme
              , #darkCssContent) asSymbol.</div>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>So....it's really a pain when I have to wrap a big
            library that has many images, javascript and css files split
            across different directories etc. </div>
          <div><br>
          </div>
          <div>Is there a way to autogenerate this WAFileMetadataLibrary
            subclass with all methods created? Something like:</div>
          <div><br>
          </div>
          <div>WAFileMetadataLibrary autogenerateFrom:
            ''/Users/mariano/myLibrary/' into: MyLibraryFilelibrary.<br>
          </div>
          <div><br>
          </div>
          <div>Thanks in advance, </div>
          <div><br>
          </div>
          <div><br>
          </div>
          -- <br>
          <div class="gmail-m_7436518844670873648m_7844989043039519430gmail_signature">Mariano<br>
            <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.c<wbr>om</a><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_7436518844670873648m_7844989043039519430mimeAttachmentHeader"></fieldset>
      <br>
      </div></div></div></div><pre>______________________________<wbr>_________________
seaside mailing list
<a class="gmail-m_7436518844670873648m_7844989043039519430moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation<wbr>.org</a>
<a class="gmail-m_7436518844670873648m_7844989043039519430moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<wbr>org/cgi-bin/mailman/listinfo/s<wbr>easide</a>
</pre>
    </blockquote>
    <br><span class="gmail-HOEnZb"><font color="#888888">
  </font></span></div><span class="gmail-HOEnZb"><font color="#888888">

</font></span></blockquote></div><span class="gmail-HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_7436518844670873648gmail_signature">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.<wbr>com</a><br></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.<wbr>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="noreferrer" target="_blank">http://lists.squeakfoundation.<wbr>org/cgi-bin/mailman/listinfo/<wbr>seaside</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre style="background-color:rgb(255,255,255)"><pre><br><hr style="font-family:"Times New Roman";white-space:normal;font-size:medium"><table style="font-family:"Times New Roman";padding:10px"><tbody><tr><td><img src="http://www.mercapsoftware.com/images/logo_nav-principal-cabecera.png"></td><td style="font-family:Verdana;font-size:10px"><div style="font-weight:bold">Gabriel O. Cotelli<br>Desarrollo y Tecnología<br>Mercap</div>Tel: +54 (011) <b>5352.2372 al 74</b><br><a href="http://www.mercapsoftware.com" target="_blank">http://www.mercapsoftware.com</a></td></tr></tbody></table><div style="white-space:normal;font-family:Verdana;font-size:10px">This message is confidential. It may also contain information that is privileged or otherwise legally exempt from disclosure. If you have received it by mistake please let us know by e-mail immediately and delete it from your system; also you shouldn't copy the message nor disclose its contents to anyone. Thanks.</div><hr style="font-family:"Times New Roman";white-space:normal;font-size:medium">
</pre></pre></div></div></div></div></div></div></div></div>
</div></div></div>