FileInputStream fis = null;
try
{
fis = new FileInputStream( file );
ContinuumPrepareReleasesModelXpp3Reader reader = new ContinuumPrepareReleasesModelXpp3Reader();
PreparedReleaseModel model = reader.read( new InputStreamReader( fis ) );
return model.getPreparedReleases();
}
catch ( IOException e )
{
log.error( e.getMessage(), e );
throw new ContinuumReleaseException( "Unable to get prepared releases", e );