<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    hi<br>
    seem there are something of wrong, using the<br>
    new macro:<br>
    <br>
    /usr/bin/python3 /usr/share/java-utils/mvn_build.py --gradle<br>
    /usr/bin/python3: can't open file
    '/usr/share/java-utils/mvn_build.py': [Errno 2] No such file or
    directory<br>
    Task info:
    <a class="moz-txt-link-freetext" href="http://koji.fedoraproject.org/koji/taskinfo?taskID=12137114">http://koji.fedoraproject.org/koji/taskinfo?taskID=12137114</a><br>
    <br>
    must be adde as BR also maven-local?<br>
    regards<br>
    .g<br>
    <br>
    <div class="moz-cite-prefix">Il 03/12/2015 08:58, Roman Mohr ha
      scritto:<br>
    </div>
    <blockquote
cite="mid:CAAcNqHCJzwFtRh84pHu11rx24isVyy3tYjZ+Qp9ocYdP5eyDTA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Dec 2, 2015 at 5:08 PM,
            Mikolaj Izdebski <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:mizdebsk@redhat.com"
                target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:mizdebsk@redhat.com">mizdebsk@redhat.com</a></a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">On 12/01/2015 10:31 AM, Roman Mohr wrote:<br>
                &gt; Ok, got it working<br>
                &gt;<br>
                &gt; On Tue, Dec 1, 2015 at 8:43 AM, Roman Mohr &lt;<a
                  moz-do-not-send="true"
                  href="mailto:roman@fenkhuber.at"><a class="moz-txt-link-abbreviated" href="mailto:roman@fenkhuber.at">roman@fenkhuber.at</a></a>&gt;
                wrote:<br>
                &gt;<br>
                &gt;&gt; Hi,<br>
                &gt;&gt;<br>
                &gt;&gt; I am currently trying to package some java
                projects which use gradle and I<br>
                &gt;&gt; am suck on how to use gradle in offline mode.
                The Java HOWTO says that I<br>
                &gt;&gt; can use the gradle-local command which should
                be part of the gradle-local<br>
                &gt;&gt; package[1]. But at least on Fedora 22 there is
                no such command inside that<br>
                &gt;&gt; package.<br>
                &gt;&gt;<br>
                &gt;&gt;<br>
                &gt; The gradle-local script is still missing, so no
                idea if it is needed. I<br>
                &gt; guess the intention of it is to add the xmvn()
                repository automatically if<br>
                &gt; no repositories section is in the build.grade file.
                Right?<br>
                <br>
              </span>Fedora 22 is old stable distribution. All
              development (ie. packagging)<br>
              should be done in rawhide first, so I'll describe how
              things are done<br>
              there. Gradle packaging automation is constantly improving
              and I don't<br>
              remember which features are in F22 and which are not.<br>
              <br>
            </blockquote>
            <div>I tried it with rahwhide and F22. So I missed the one
              distribution (F23) with the gradle-local script.</div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Generic steps needed to use Gradle for building packages
              are described<br>
              at: <a moz-do-not-send="true"
                href="https://fedorahosted.org/released/javapackages/doc/"
                rel="noreferrer" target="_blank">https://fedorahosted.org/released/javapackages/doc/</a><br>
              <br>
              Currently I would recommended using new %gradle_build
              macro (which is<br>
              not yet documented in Java packaging HOWTO). To do that
              you need to<br>
              replace step 2 in the above description with call to
              %gradle_build,<br>
              which takes the same parameters as %mvn_build.<br>
              <span class=""><br>
                &gt;&gt; I also tried to build the packages then just
                with 'gradle -s --offline' to<br>
                &gt;&gt; see if this might already find the jars from
                other RPMs but that does not<br>
                &gt;&gt; seem to be the case.<br>
                &gt;&gt;<br>
                &gt;&gt;<br>
                &gt; I added the xmvn() repo to the repositories section
                of the build.gradle<br>
                &gt; file and then it could detect the artifacts.<br>
                <br>
              </span>Adding xmvn() repo should't be necessary if you use
              gradle-local command<br>
              or %gradle_local macro.<br>
              <span class="HOEnZb"><font color="#888888"><br>
                </font></span></blockquote>
            <div><br>
            </div>
            <div>Will give it a try.</div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="HOEnZb"><font color="#888888">
                  --<br>
                  Mikolaj Izdebski<br>
                  Software Engineer, Red Hat<br>
                  IRC: mizdebsk<br>
                  --<br>
                  java-devel mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:java-devel@lists.fedoraproject.org">java-devel@lists.fedoraproject.org</a><br>
                  <a moz-do-not-send="true"
                    href="https://admin.fedoraproject.org/mailman/listinfo/java-devel"
                    rel="noreferrer" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/java-devel</a></font></span></blockquote>
          </div>
          <br>
        </div>
        <div class="gmail_extra">Thanks for the help,</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Roman</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
java-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:java-devel@lists.fedoraproject.org">java-devel@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/java-devel">https://admin.fedoraproject.org/mailman/listinfo/java-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>