Ivan Laktyunkin
unread,Sep 14, 2011, 5:59:46 AM9/14/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenWrap Development Mailing List
I get exception when trying to update project repository and
<package>.wrapdesc is readonly.
Why?
# OpenWrap Shell 2.0.0.3
# Copyright c naughtyProd Limited 2009-2011
# Using C:\p4\whole\dbrox\main\SmartClient3.1\Aces\wraps\_cache
\openwrap-2.0.0.81133579\bin-net35\OpenWrap.dll (2.0.0.0)
Updating project packages...
Project repository: openwrap up-to-date.
Project repository: SharpZipLib up-to-date.
Project repository: openfilesystem up-to-date.
Project repository: tdnet-framework up-to-date.
Project repository: Mono.Cecil up-to-date.
Project repository: Platform up-to-date.
Project repository: Castle.Windsor up-to-date.
Project repository: NLog up-to-date.
Project repository: Rx-40 up-to-date.
Project repository: NUnit up-to-date.
Project repository: RhinoMocks up-to-date.
Project repository: Tibco up-to-date.
Project repository: NetAdvantage up-to-date.
# OpenWrap Shell could not start.
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. --->
System.UnauthorizedAccessException: Access to the path 'C:\p4\whole
\dbrox\main\SmartClient3.1\Aces\Aces.Sdk.wrapdesc' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String
msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.File.OpenFile(String path, FileAccess access,
SafeFileHandle& handle)
at System.IO.File.SetLastWriteTimeUtc(String path, DateTime
lastWriteTimeUtc)
at System.IO.FileSystemInfo.set_LastWriteTimeUtc(DateTime value)
at
OpenFileSystem.IO.FileSystems.Local.LocalFile.set_LastModifiedTimeUtc(Nullable`1
value) in c:\TeamCity\buildAgent\work\c71e0c1ab1563c43\src
\OpenFileSystem\FileSystems\Local\LocalFile.cs:line 81
at OpenWrap.PackageModel.PackageDescriptorExtensions.Touch(IFile
file) in c:\src\openwrap\src\OpenWrap\PackageModel
\PackageDescriptorExtensions.cs:line 30
at
OpenWrap.Commands.Wrap.UpdateWrapCommand.<UpdateProjectPackages>d__e.MoveNext()
in c:\src\openwrap\src\OpenWrap.Commands\Wrap
\UpdateWrapCommand.cs:line 103
at System.Linq.Enumerable.<ConcatIterator>d__71`1.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at OpenWrap.Commands.AbstractCommand.<Execute>d__0.MoveNext() in c:
\src\openwrap\src\OpenWrap\Commands\AbstractCommand.cs:line 23
at OpenWrap.Commands.Cli.CommandLineRunner.<Run>d__b.MoveNext() in
c:\src\openwrap\src\OpenWrap\Commands\Cli\CommandLineRunner.cs:line 95
at OpenWrap.Commands.Cli.ConsoleCommandExecutor.Execute(String
commandLine, IEnumerable`1 optionalInputs) in c:\src\openwrap\src
\OpenWrap\Commands\Cli\ConsoleCommandExecutor.cs:line 39
at OpenWrap.Commands.Cli.ShellRunner.Main(IDictionary`2 env) in c:
\src\openwrap\src\OpenWrap\Commands\Cli\ShellRunner.cs:line 55
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target,
Object[] arguments, SignatureStruct& sig, MethodAttributes
methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target,
Object[] arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags invokeAttr, Binder binder, Object[] parameters,
CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags invokeAttr, Binder binder, Object[] parameters,
CultureInfo culture)
at
OpenWrap.BootstrapRunner.<>c__DisplayClass16.<LoadEntrypointCache>b__15(IDictionary`2
env)
at OpenWrap.BootstrapRunner.ExecuteEntrypoint(KeyValuePair`2
entryPoint, IEnumerable`1 assemblies, IEnumerable`1 consumedArgs)
at OpenWrap.BootstrapRunner.Run(String[] args)