# File lib/cgikit/project/package.rb, line 17
    def write
      begin
        FileUtils.makedirs(@path)
        CGIKit::Package.all_resource_paths.each do |path|
          Dir.mkdir(File.join(@path, path))
        end
      rescue Exception => e
        FileUtils.rm_rf(@path)
        raise e
      end
    end