<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 27/06/2016 10:24, Jenny Murphy a
      écrit :<br>
    </div>
    <blockquote
cite="mid:CAFSPTzMjG-d1m9qqBM9xqUEQ6UEDqFh-s-xj3KVYqKS94ri4Pw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div>I am building a java application under snapcraft using the
          ant plugin.</div>
        <div>My build.xml file puts the created jar files in a directory
          called <b>lib</b>. The ant plugin complains about this
          because it was expecting to find jar files in a directory
          called <b>jar</b>. </div>
        <div><br>
        </div>
        <div>Is it possible to tell the ant plugin to look elsewhere?</div>
        <div><br>
        </div>
        <div>I don't think the copy plugin is the solution because this
          errors at the end of the ant part build step.</div>
        <div><br>
        </div>
        <div>Thanks in advance for any suggestions.</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Hey Jenny,<br>
    I'm by no mean a java expert and it doesn't seem that "snapcraft
    help ant" shows up any options for achieving this.<br>
    The line of the plugin itself seems guilty: "files =
    glob.glob(os.path.join(self.builddir, 'target', '*.jar'))"<br>
    <br>
    Before advising you to inheirt/create your own plugin, I'm CCing
    Sergio who might have another idea or may want to grow a plugin
    options for this.<br>
    <br>
    Cheers,<br>
    Didier<br>
    <br>
  </body>
</html>