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
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?
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%.
Summary: I have the following dir structure: ABC |_MC1.1 |_MC1.2 |_MC1.3 |_MC1.4 |_XX |_YY Now i want to delete MC1.x where 1.x < 1.3 How do i do this in my build file using ant? <delete> tas...
Summary: Hi All Is anybody aware of ANT task to count the number of jar files in a directory? Any code sample will be much appreciated. Thanks Sujatha Sujie...
Summary: I should create a mysql db by using Ant build tool and Torque... But when I build with ant I get this error: *** $ ant -f build-torque.xml create-db Buildfile: build-torque.xml BUILD FAILED file:c:/...