Richard, You are the man :) I cherry-picked your patch (though you might want to re-clone from master, and force push to your repository, because it seems your repo is out of sync. Or, you can type:<br><br> git reset HEAD^1 --hard<br>
<br>about 5 times, then<br><br> git pull upstream master<br><br>And see if that makes a difference<br><br>(you can go back more than 5 times (as many as you need) if needed, but just guessing.) At some point re-cloning becomes easier because you don't have to keep typing ;)<br>
<br>~Lincoln<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 2:55 AM, Richard Kennard <span dir="ltr"><<a href="mailto:richard@kennardconsulting.com">richard@kennardconsulting.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"> > do you think you might also be able to try this one? <a href="https://issues.jboss.org/browse/FORGE-305" target="_blank">https://issues.jboss.org/browse/FORGE-305</a><br>
<br>
</div>I had a muddle. Pull request issued.<br>
<div class="im"><br>
On 2/03/2012 4:19 AM, Lincoln Baxter, III wrote:<br>
</div><div class="im">> Hey Richard,<br>
><br>
> I think this is a good approach. Let's do it!<br>
><br>
> As a side note, if you are good with windows shell scripting (you have to be better than I,) do you think you might also be able to try this one?<br>
> <a href="https://issues.jboss.org/browse/FORGE-305" target="_blank">https://issues.jboss.org/browse/FORGE-305</a><br>
><br>
> All we need is a simply test. If NOT Java Version >= 6, Exit with error.<br>
><br>
> If that's tricky, no worries!<br>
><br>
> ~Lincoln<br>
><br>
</div><div class="im">> On Wed, Feb 29, 2012 at 10:04 PM, Richard Kennard <<a href="mailto:richard@kennardconsulting.com">richard@kennardconsulting.com</a> <mailto:<a href="mailto:richard@kennardconsulting.com">richard@kennardconsulting.com</a>>> wrote:<br>
><br>
> Hi guys,<br>
><br>
> I have identified the problem with installing plugins of Windows and looking for .forge in the wrong location. It seems it has nothing to do with any<br>
> Java<br>
> code. Rather, the file bin/forge.bat contains...<br>
><br>
> if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")<br>
> ...<br>
> -modulepath %HOME%\.forge\plugins<br>
><br>
> So it is using the variable %HOME% *if it is not already set*. However, there is a small, fringe project (I don't think it'll ever catch on :) called<br>
> 'Git'<br>
> which asks you to set an environment variable called HOME too. If I change all references to %HOME% to, say, %USERHOME%...<br>
><br>
> if "%USERHOME%" == "" (set "USERHOME=%HOMEDRIVE%%HOMEPATH%")<br>
> ...<br>
> -modulepath %USERHOME%\.forge\plugins<br>
><br>
> Then it works. I haven't pushed any changes in case you disagree with this approach?<br>
><br>
> Regards,<br>
><br>
> Richard.<br>
><br>
> _______________________________________________<br>
> forge-dev mailing list<br>
</div>> <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a> <mailto:<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>><br>
<div class="HOEnZb"><div class="h5">> <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Lincoln Baxter, III<br>
> <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
> <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
> "Keep it Simple"<br>
><br>
><br>
> _______________________________________________<br>
> forge-dev mailing list<br>
> <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br>
_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>"Keep it Simple"<br>