RepositoryContext ctx = (RepositoryContext) context;
PackageItem pkg = ctx.repository.loadPackage( toPackageName( path ) );
String name = file.substring( 0,
file.indexOf( '.' ) );
AssetItem asset = pkg.loadAsset( name );
asset.updateContent( new String( newContent ) );
asset.checkin( ctx.message );
}
}
public static class CopyFile