Hmm.

You don't have a <pattern> element, so shade is going hog-wild. I
appreciate that you're asking a specific question about controlling
its behavior for string constants, but is it possible that you could
come up with a pattern that wouldn't hit things like 'os.name'?





On Mon, Jul 23, 2012 at 10:37 AM, Jason Rutherglen
<jason.rutherg...@gmail.com> wrote:
> Hi Benson, This is the xml for the transform:
>
> http://pastebin.com/9nx18WiN
>
> Thanks!
>
> On Mon, Jul 23, 2012 at 10:21 AM, Benson Margulies 
> <bimargul...@gmail.com>wrote:
>
>> On Mon, Jul 23, 2012 at 12:16 AM, Jason Rutherglen
>> <jason.rutherg...@gmail.com> wrote:
>> > I'm shade transforming Apache Solr, which has several dependencies and
>> > seems to work.
>> >
>> > However the internal class strings are being transformed, eg
>> > 'System.getProperty("os.name");' where 'os.name' is being transformed
>> to '
>> > shade.package.os.name'.  Other than excluding every internal string, how
>> > can I turn off the transformation of internal class strings?
>>
>> What were your transformation rules?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to