for ( String resource : includedFiles )
{
remoteResourcesBundle.addRemoteResource( StringUtils.replace( resource, '\\', '/' ) );
}
RemoteResourcesBundleXpp3Writer w = new RemoteResourcesBundleXpp3Writer();
try
{
File f = new File( outputDirectory, RESOURCES_MANIFEST );
FileUtils.mkdir( f.getParentFile().getAbsolutePath() );
Writer writer = new FileWriter( f );
w.write( writer, remoteResourcesBundle );
}
catch ( IOException e )
{
throw new MojoExecutionException( "Error creating remote resources manifest.", e );
}