hi,
 
i'm trying to obfuscate the code generated by castor's source generator, and the descriptor classes using reflection under the covers (eg XMLFieldDescriptorImpl) is incompatible with the obfuscation processs.  the obfuscator changes the field name, but the String argument to the XMLFieldDescriptorImpl constructor is obviously left unchanged, hence the process fails.
 
i was wondering if it would be possible to add support for the source generator to create XML mapping files instead of descriptors?  there's already a -nodesc option, but i'm not aware of how to get the code to work when this is used.
 
if mapping files are used instead of class descriptors, i can write a simple program to transform the mappings as part of the obfuscation process.
 
thanks,
brien
 

Reply via email to