Computing.Net > Forums > Programming > Ant cvspass task

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Ant cvspass task

Reply to Message Icon

Name: ShaqDiesel
Date: October 23, 2008 at 10:34:54 Pacific
OS: winXP
CPU/Ram: amd64/1Gb
Product: custom
Comment:

I am using winCVS 1.3 with ant 1.7. I have this line in build.xml:

<cvspass cvsroot=":pserver:<myusername>@<cvs server ip>:<cvsroot>" password="<mypassword>" passFile="C:\passFileDir" />

when I run ant, I get this error: "java.io.FileNotFoundException: C:\passFileDir (access is denied)"

How do I fix this? If I leave out the passFile attribute the error goes away. According to the ant documentation, it creates it in your home directory. What would the home directory in windows be?



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: October 23, 2008 at 14:31:53 Pacific
Reply:

when I run ant, I get this error: "java.io.FileNotFoundException: C:\passFileDir (access is denied)"
Either 'C:\passFileDir' doesn't exist, or you don't have access to it.

What would the home directory in windows be?
It's different for each user. You can see yours by opening a "Command Prompt" window and typing echo %HomePath%.


0
Reply to Message Icon

Related Posts

See More


Remove Administrator: fro... CMD Window Change



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Ant cvspass task

Ant script for deleting directories www.computing.net/answers/programming/ant-script-for-deleting-directories/9578.html

ANT-task for counting no of files www.computing.net/answers/programming/anttask-for-counting-no-of-files/15871.html

Torque class not found www.computing.net/answers/programming/torque-class-not-found/7311.html