Hi!
I have a large class I'm running through an active annotation processor to fill the method stubs with templated code.
In addition, I would like to create an xml file containing atomic permissions entries for our authentication framework based on the method names.
In tests it works like a charm, however I still need a way to find out where to put that xml file. Is there a way to retrieve the location where xtend is putting the class it is currently transforming to?
kind regards,
Johannes
--
You received this message because you are subscribed to the Google Groups "Xtend Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtend-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks a lot, will try asap
Ok now I have for the first time an issue that actually is not caused by a bug but me not really understanding xtend good enough.
you gave me an example that wrote a file in doGenerateCode instead of doTransform.
First I tried to use that example in the doTransform Method of mine but fail to do so because I do not get the setContent method for the path from the TransformationContext.
Then I tried doing everything in the doGenerateCode method, however I have the issue that I'm writing the xml permissions file while iterating through the declared methods - which I cannot access from the CodeGenerationContext extension methods…
Is there any chance I can call you by phone or skype for advice on that topic?