* @return PlayerCommand based on user config
*/
protected PlayerCommand obtainPlayer()
{
// get command from factory
PlayerCommand command = PlayerCommandFactory.createPlayer(
configuration.getOs(),
configuration.getPlayer(),
configuration.getCommand(),
configuration.isLocalTrusted());
command.setProject(project);
command.setSwf(configuration.getSwf());
command.setUrl(configuration.getUrl());
if(command instanceof AdlCommand)
{
((AdlCommand)command).setPrecompiledAppDescriptor(configuration.getPrecompiledAppDescriptor());
}