<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">humm, I could swear that this script
      worked for me some months ago...<br>
      <br>
      Unfortunately I have a very basic knowledge in scripting... can't
      help..<br>
      <br>
      The workaround was to clone all by hand ;)<br>
      <br>
      cheers,<br>
      <br>
      Cristiano &nbsp; <br>
      <br>
      On 03/10/12 08:49, Geoffrey De Smet wrote:<br>
    </div>
    <blockquote cite="mid:506C2650.5020709@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <pre><div class="line" id="LC27">Turns out this is a known problem on mac:

</div><div class="line" id="LC28"><span class="c"># The gitUrlPrefix differs between committers and anonymous users. Also it differs on forks.</span></div><div class="line" id="LC29"><span class="c"># Committers on blessed gitUrlPrefix=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:git@github.com:droolsjbpm/">"git@github.com:droolsjbpm/"</a></span></div><div class="line" id="LC30"><span class="c"># Anonymous users on blessed gitUrlPrefix=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="git://github.com/droolsjbpm/">"git://github.com/droolsjbpm/"</a></span></div><div class="line" id="LC31"><span class="c"># <b>TODO dynamic gitUrlPrefix detection does not work on mac</b></span></div><div class="line" id="LC32"><span class="nb">cd</span> <span class="k">${</span><span class="nv">scriptDir</span><span class="k">}</span></div><div class="line" id="LC33"><span class="nv">gitUrlPrefix</span><span class="o">=</span><span class="sb">`</span>git remote -v | gr
ep --regex <span class="s2">"^origin!
 .*(fetch)$
"</span><span class="sb">`</span></div><div class="line" id="LC34"><span class="nv">gitUrlPrefix</span><span class="o">=</span><span class="sb">`</span><span class="nb">echo</span> <span class="k">${</span><span class="nv">gitUrlPrefix</span><span class="k">}</span> | sed <span class="s1">'s/^origin\s*//g'</span> | sed <span class="s1">'s/droolsjbpm\-build\-bootstrap\.git\s*(fetch)$//g'</span><span class="sb">`</span></div></pre>
      <br>
      I haven't found a way to fix it yet. Suggestions/pull requests
      welcome.<br>
      <br>
      <div class="moz-cite-prefix">Op 03-10-12 13:28, Cristiano Gavi&atilde;o
        schreef:<br>
      </div>
      <blockquote cite="mid:506C2168.7020408@gmail.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">well, it is a bit strange.<br>
          <br>
          My git version is 1.7.11.1 in a macOS 10.6.8<br>
          <br>
          I tried with both:<br>
          git clone <a moz-do-not-send="true"
            class="moz-txt-link-freetext"
            href="https://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git">https://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git</a><br>
          <br>
          and<br>
          <br>
          git clone <a moz-do-not-send="true"
            class="moz-txt-link-freetext"
            href="git://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git">git://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git</a><br>
          <br>
          then<br>
          <br>
          $ ./droolsjbpm-build-bootstrap/script/git-clone-others.sh <br>
          <br>
          and the same result.<br>
          <br>
          So I added a echo in the git command to watch what is being
          called. that was the result:<br>
          <br>
          <b>git clone <a moz-do-not-send="true"
              class="moz-txt-link-freetext"
              href="git://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git">git://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git</a>
            (fetch)drools-planner.git drools-planner</b><b><br>
          </b><br>
          there is a strange (fetch) before the repository name !<br>
          <br>
          <br>
          <br>
          On 03/10/12 05:59, Geoffrey De Smet wrote:<br>
        </div>
        <blockquote cite="mid:506BFE8D.5020805@gmail.com" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          IIRC, there was a but that it didn't work for non-developer
          users, but I thought I fixed that?<br>
          In any case, it's base to avoid the HTTP url's when git
          cloning and use the git url's instead.<br>
          The git url does differ between identified and anonymous - but
          the script should be able to handle that.<br>
          If not, fixes welcome :)<br>
          <br>
          <div class="moz-cite-prefix">Op 03-10-12 10:42, Michael Anstis
            schreef:<br>
          </div>
          <blockquote
cite="mid:CAAG9P0vht08-O5=BkCM9Dk9nv9qb=+CcP5F6fVAbt=U9-hoNeA@mail.gmail.com"
            type="cite">Hi,<br>
            <br>
            I just tried: <br>
            <br>
            mkdir ./temp<br>
            cd ./temp<br>
            git clone <a moz-do-not-send="true"
              href="https://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git">https://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git</a><br>
            ./droolsjbpm-build-bootstrap/scripts/git-clone-other.sh <br>
            <br>
            Worked without problem.<br>
            <br>
            Maven: Apache Maven 3.0.3 (r1075438; 2011-02-28
            17:31:09+0000)<br>
            Git: git version 1.7.9.5<br>
            Java:&nbsp; java version "1.6.0_24"<br>
            <br>
            With kind regards,<br>
            <br>
            Mike<br>
            <br>
            <div class="gmail_quote"> On 2 October 2012 22:07, Cristiano
              Gavi&atilde;o <span dir="ltr">&lt;<a moz-do-not-send="true"
                  href="mailto:cvgaviao@gmail.com" target="_blank">cvgaviao@gmail.com</a>&gt;</span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,<br>
                <br>
                I want to investigate why I couldn't build my system
                using the latest<br>
                snapshot of jbpm and drools..<br>
                <br>
                So, I cloned the<br>
                <a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:git@github.com:droolsjbpm/droolsjbpm-build-bootstrap.git">git@github.com:droolsjbpm/droolsjbpm-build-bootstrap.git</a>
                repository and<br>
                I'm following the <a moz-do-not-send="true"
                  href="http://readme.md" target="_blank">readme.md</a>
                file.<br>
                <br>
                When I try $
                droolsjbpm-build-bootstrap/script/git-clone-others.sh,
                I'm<br>
                getting a error:<br>
                <br>
===============================================================================<br>
                This directory already exists:
                droolsjbpm-build-bootstrap<br>
===============================================================================<br>
                <br>
===============================================================================<br>
                Repository: droolsjbpm-knowledge<br>
===============================================================================<br>
                Too many arguments.<br>
                <br>
                usage: git clone [options] [--] &lt;repo&gt;
                [&lt;dir&gt;]<br>
                <br>
                &nbsp; &nbsp; &nbsp;-v, --verbose &nbsp; &nbsp; &nbsp; &nbsp; be more verbose<br>
                &nbsp; &nbsp; &nbsp;-q, --quiet &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; be more quiet<br>
                <br>
                <br>
                Am I missing something or the script is broken ?<br>
                <br>
                regards,<br>
                <br>
                Cristiano<br>
                <br>
                <br>
                <br>
                _______________________________________________<br>
                rules-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/rules-users"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
              </blockquote>
            </div>
            <br>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
          </blockquote>
          <br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>