// configure task
CCTask task = new CCTask();
task.setProject( antProject );
// subsystem
SubsystemEnum subSystem = new SubsystemEnum();
subSystem.setValue( "console" );
task.setSubsystem( subSystem );
// outtype
OutputTypeEnum outTypeEnum = new OutputTypeEnum();
outTypeEnum.setValue( Library.EXECUTABLE );