Re: Shade and the dependency-reduced-pom

2012-05-22 Thread Benson Margulies
On Tue, May 22, 2012 at 1:33 AM, Brett Porter wrote: > > On 22/05/2012, at 1:35 PM, Benson Margulies wrote: > >> On Mon, May 21, 2012 at 10:58 PM, Brett Porter wrote: >>> >>> On 22/05/2012, at 12:22 PM, Benson Margulies wrote: >>> Brett, I wrote the code today. >>> >>> I saw that... but didn

Re: Shade and the dependency-reduced-pom

2012-05-21 Thread Brett Porter
On 22/05/2012, at 1:35 PM, Benson Margulies wrote: > On Mon, May 21, 2012 at 10:58 PM, Brett Porter wrote: >> >> On 22/05/2012, at 12:22 PM, Benson Margulies wrote: >> >>> Brett, I wrote the code today. >> >> I saw that... but didn't you send this afterwards? I thought you were >> looking fo

Re: Shade and the dependency-reduced-pom

2012-05-21 Thread Benson Margulies
On Mon, May 21, 2012 at 10:58 PM, Brett Porter wrote: > > On 22/05/2012, at 12:22 PM, Benson Margulies wrote: > >> Brett, I wrote the code today. > > I saw that... but didn't you send this afterwards? I thought you were looking > for a way to trim it back again to avoid extra maintenance/risk of

Re: Shade and the dependency-reduced-pom

2012-05-21 Thread Brett Porter
On 22/05/2012, at 12:22 PM, Benson Margulies wrote: > Brett, I wrote the code today. I saw that... but didn't you send this afterwards? I thought you were looking for a way to trim it back again to avoid extra maintenance/risk of os-specific bugs. > > On May 21, 2012, at 6:51 PM, Brett Porte

Re: Shade and the dependency-reduced-pom

2012-05-21 Thread Benson Margulies
Brett, I wrote the code today. On May 21, 2012, at 6:51 PM, Brett Porter wrote: > http://stackoverflow.com/questions/204784/how-to-construct-a-relative-path-in-java-from-two-absolute-paths-or-urls > http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/FileUtils.html#resolveFi

Re: Shade and the dependency-reduced-pom

2012-05-21 Thread Brett Porter
http://stackoverflow.com/questions/204784/how-to-construct-a-relative-path-in-java-from-two-absolute-paths-or-urls http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/FileUtils.html#resolveFile(java.io.File, java.lang.String) I was sure there was one around called "relativize

Shade and the dependency-reduced-pom

2012-05-21 Thread Benson Margulies
MSHADE-115 reports the unpleasant consequences of putting the dependency-reduced-pom into the basedir instead of target. I'm working on a fix. The fix needs a function that can relativize one pathname to another. I'm surprised that there doesn't seem to be one of those lying about ... is there one