Support --resource for ceylon compile