How about

DEL C:\ant-contrib-1.0b3.jar

COPY %ANT_HOME%\ant-contrib-1.0b3.jar C:\ant-contrib-1.0b3.jar

That source location (%ANT_HOME%) may not be the location to find the
ant-contrib jar file, but if that is not the location, I suspect you can
find it elsewhere on your system, or download it again.

I thought I remembered a facility in Windows which would allow a user to
copy or modify files in otherwise secured locations, without actually
making those files or their changes visible to any other user.  If
something like that had happened in this case, then the original user who
copied the file to C:\ might be able to see it while other users would not
be able to see it.  Unfortunately, my few minutes of google search did not
find any indication that there is such a facility.

Mark Waite
On Dec 11, 2013 11:58 PM, "Abhishek Bisht" <abhishek.annibi...@gmail.com>
wrote:

> Yes its a permission issue but as i have already given permission for the
> file  any suggestion for the solution
>
> On Thursday, 12 December 2013 10:44:45 UTC+5:30, Mark Waite wrote:
>>
>> You might try some simple steps in a trivial job, like COPY
>> C:\ant-contrib-1.0b3.jar %TEMP%, just to prove to yourself that the file
>> can be read by the Jenkins user using other commands.  Another simple
>> command to test might be "jar tvf C:\ant-contrib-1.0b3.jar" to prove that
>> the contents of the file are readable and are a jar file.
>>
>> Mark Waite
>>
>>
>> On Wed, Dec 11, 2013 at 10:07 PM, Abhishek Bisht 
>> <abhishek....@gmail.com>wrote:
>>
>>> yes i have provided access to everyone on file security mode but jenkins
>>> still not able to get the fil
>>>
>>> On Thursday, 12 December 2013 10:31:53 UTC+5:30, Mark Waite wrote:
>>>>
>>>> I think the "access denied" message usually hints that there is a
>>>> permission problem which prevents access to that file.
>>>>
>>>> Have you checked on that specific node to confirm the file 
>>>> C:\ant-contrib-1.0b3.jar
>>>> exists and can be read by the user running the Jenkins process?
>>>>
>>>> Mark Waite
>>>>
>>>>
>>>> On Wed, Dec 11, 2013 at 9:44 PM, Abhishek Bisht <abhishek....@gmail.com
>>>> > wrote:
>>>>
>>>>>
>>>>> Hi all
>>>>>
>>>>> Please refer screenshot for more details it would be really helpful if
>>>>> some one know its solution
>>>>> On Wednesday, 11 December 2013 15:05:32 UTC+5:30, Abhishek Bisht wrote:
>>>>>>
>>>>>> Hi All
>>>>>>
>>>>>> Access is denied. message appearing on whenever i am trying to build
>>>>>> job whilc on executing from cmd its working fine
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Jenkins Users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to jenkinsci-use...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jenkinsci-use...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to