All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fitnesse.resources.templates.wikiImportingPage.vm Maven / Gradle / Ivy

There is a newer version: 20181217
Show newest version

#if( $isUpdate ) Updating imported wiki. #else Importing wiki. #end This may take a few moments.

Destination wiki: $pageName

Source wiki: $remoteUrl

Imported pages:


## Meat
    #traverse( $importTraverser )
  • #if( $result.type == "ERROR" )

    Import failure

    $result.message

    #if( $!result.exception )
      #foreach( $stackElement in $result.exception.stackTrace )
    • ${stackElement.className}.${stackElement.methodName}:$stackElement.lineNumber
    • #end
    #end #elseif( $result.type == "AUTH" )

    The wiki at $result.message requires authentication.

    #if( $remoteUrl ) #end
    #else #set( $relativePathName = $PathParser.render( $importer.relativePath ) ) #set( $localPathName = $PathParser.render( $importer.localPath ) ) $relativePathName #end
  • #end

Import complete.

#if( $importer.unmodifiedCount != 0 )

#if( $importer.unmodifiedCount == 1 ) 1 page was unmodified. #else ${importer.unmodifiedCount} pages were unmodified. #end

#end

#if( $importer.importCount == 1 ) 1 page was imported. #else ${importer.importCount} pages were imported. #end

#set( $orphans = $importer.orphans ) #if( $orphans.size() > 0)

#if( $orphans.size() == 1) 1 orphaned page was found and has been removed. #else $orphans.size() orphaned pages were found and have been removed. #end

This may occur when a remote page is deleted, moved, or renamed.

Orphans:

    #foreach( $path in $orphans )
  • $PathParser.render($path)
  • #end

#end

Automatic Update turned#if( $importer.autoUpdateSetting ) ON#else OFF#end.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy