<div dir="ltr">Hi Sergio and Didier,<div>Yes I will file a bug report. I think it is ok to have target as the default ( I am not sure what if any industry standard destination there is, maybe dist or build ? Unfortunately, no I am not python proficient :-(.</div><div>Jenny</div><div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 27 June 2016 at 16:22, Sergio Schvezov <span dir="ltr"><<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
El 27/06/16 a las 05:50, Didier Roche escribió:<br>
<span class="">> Le 27/06/2016 10:24, Jenny Murphy a écrit :<br>
>> Hi,<br>
>> I am building a java application under snapcraft using the ant plugin.<br>
>> My build.xml file puts the created jar files in a directory called<br>
</span>>> *lib*. The ant plugin complains about this because it was expecting to<br>
>> find jar files in a directory called *jar*.<br>
<span class="">>><br>
>> Is it possible to tell the ant plugin to look elsewhere?<br>
>><br>
>> I don't think the copy plugin is the solution because this errors at<br>
>> the end of the ant part build step.<br>
>><br>
>> Thanks in advance for any suggestions.<br>
>><br>
>><br>
><br>
> Hey Jenny,<br>
> I'm by no mean a java expert and it doesn't seem that "snapcraft help<br>
> ant" shows up any options for achieving this.<br>
> The line of the plugin itself seems guilty: "files =<br>
> glob.glob(os.path.join(self.builddir, 'target', '*.jar'))"<br>
><br>
> Before advising you to inheirt/create your own plugin, I'm CCing Sergio<br>
> who might have another idea or may want to grow a plugin options for this.<br>
<br>
</span>Hi Jenny, I would welcome a bug report on<br>
<a href="https://bugs.launchpad.net/snapcraft/+filebug" rel="noreferrer" target="_blank">https://bugs.launchpad.net/snapcraft/+filebug</a> about this, an industry<br>
standard to follow by default would be good if `target` isn't the right<br>
one. We can take it from there but if you know python, a PR on github<br>
would be welcome as well :-)<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888">Sergio<br>
<br>
--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.ubuntu.com">Snapcraft@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div><strong>Jenny Murphy</strong></div>
<div><strong>EpiSensor, Georges Quay House, Georges Quay, Limerick, Ireland</strong></div>
<div>jenny.murphy<a href="mailto:jenny.murphy@episensor.com" target="_blank">@episensor.com</a>  t | +353 (0) 61 512 511  w | <a href="http://www.episensor.com/" target="_blank">http://www.episensor.com</a></div></div>
</div>