Hello!
In my processor I create several source files and check it's names for existance before
private String genClassName( final String packageName, final String key, final String suffix )
{
final StringBuilder suggest = new StringBuilder( packageName ).append( key ).append( suffix );
final Elements elementsUtil = processingEnv.getElementUtils();
int i = 0;
while( elementsUtil.getTypeElement( suggest ) != null )
{
suggest.append( i++ );
}
return suggest.substring( packageName.length() );
}
If I not define -s option for javac at first time compile and then set it to some location, then some generated before files are visible for this method and numbers added.
So, the question: where to find a default "shadow" source tree to clean up it before next compilation with changed -s option?
Sorry for my english and thanks for answers
Edited by: Maxoid2 on Jun 3, 2008 10:34 PM