throws GenerationException
{
Map<String, File> classes = request.getClasses();
if ( !classes.containsKey( COMPC ) )
{
throw new GenerationException( "Class not found: " + COMPC );
}
if ( !classes.containsKey( COMPILER ) )
{
throw new GenerationException( "Class not found: " + COMPILER );
}
try
{
editCompc( classes.get( COMPC ), request.getTransientOutputFolder() );
editMxmlc( classes.get( COMPILER ), request.getTransientOutputFolder() );
}
catch ( Exception e )
{
throw new GenerationException( "Failed to generated wrapper", e );
}
}