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
<[email protected]> 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 
> <[email protected]>wrote:
>
>> On Mon, Jul 23, 2012 at 12:16 AM, Jason Rutherglen
>> <[email protected]> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to