Skip to content
Snippets Groups Projects
Commit beddfa85 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Merge branch 'Hotfix/xxxx-directoryDependency' into 'master'

Fix: Directory dependency is now C: for /voc

See merge request coscine/cs/graphdeployer!6
parents d9162882 52aa7088
No related branches found
No related tags found
1 merge request!6Fix: Directory dependency is now C: for /voc
using Coscine.Configuration;
using Coscine.Configuration;
using Coscine.Metadata;
using System;
using System.Collections.Generic;
......@@ -24,7 +24,7 @@ namespace Coscine.GraphDeployer
VirtuosoManager virtuosoManager = new VirtuosoManager($"Server={virtuosoHost};Uid={virtuosoUser};pwd={virtuosoPassword}");
var _rdfStoreConnector = new RdfStoreConnector(virtuosoServer);
var folder = "/voc";
var folder = "C:/voc";
var virtuosoISQLLocation = configuration.GetString(
"coscine/local/virtuoso/isql",
"C:/Programs/Virtuoso/bin/isql.exe"
......
param (
param (
[Parameter(Mandatory=$true, Position=0)]
[string] $repositoryUrl,
[Parameter(Mandatory=$true, Position=1)]
......@@ -30,7 +30,7 @@ if ($branch -And $branch -ne 'master' ) {
cd ..
$path = '/voc'
$path = 'C:/voc'
# Twice remove, because of: https://stackoverflow.com/questions/7909167/how-to-quietly-remove-a-directory-with-content-in-powershell#comment10316056_7909195
If(Test-Path $path) { Remove-Item -LiteralPath $path -Force -Recurse }
......@@ -44,4 +44,4 @@ Copy-Item "./$repositoryFolder/*" $path -Recurse;
If(Test-Path $repositoryFolder) { Remove-Item -LiteralPath $repositoryFolder -Force -Recurse }
If(Test-Path $repositoryFolder) { Remove-Item -LiteralPath $repositoryFolder -Force -Recurse }
Pop-Location
\ No newline at end of file
Pop-Location
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment