Hi Michael, Flanakin Michael C Ctr HQ OSSG/OMR wrote: I get those exceptions a lot when scripting InstallShield project builds. The solution that I have found is to use the oldschool DOS "subst" command, to create a new drive pointing to my folder, thus shortening my paths. Here is what I do: <target name="substituteDrive"> <exec program="cmd.exe" commandline="/c subst /D R:" failonerror="false"/> <exec program="cmd.exe" commandline="/c subst R: "${absolute.build.dir}"" failonerror="false"/> </target> <target name="unsubstituteDrive"> <exec program="cmd.exe" commandline="/c subst /D R:" failonerror="false"/> </target> I hope that helps. Hristo Deshev ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users |
- [Nant-users] Path Too Long Exception Flanakin Michael C Ctr HQ OSSG/OMR
- RE: [Nant-users] Path Too Long Exc... Gert Driesen
- Re: [Nant-users] Path Too Long Exc... Hristo Deshev|telerik
- RE: [Nant-users] Path Too Long Exc... John Cole