douglascraigschmidt / LiveLessons

This repository contains all the source code examples from my LiveLessons course on "Java Concurrent Programming" and my various LiveTraining courses, as described at http://www.dre.vanderbilt.edu/~schmidt/DigitalLearning.
596 stars 665 forks source link

Folder names too long for Windows Users #12

Open vanderryan opened 4 years ago

vanderryan commented 4 years ago

Cloning repo onto Windows machines doesn't work as folder names are too long :(

Not necessarily an issues but posting this for future users.

douglascraigschmidt commented 4 years ago

Ryan, please let me know which folder names you're having problems with. Thanks, Doug

vanderryan commented 4 years ago

This is what a git clone tells me:

error: unable to create file Folders/Async/src/main/resources/works/Livelessons/SearchStreamForkJoin/DivideNConquer/src/main/resources/works/A Midsummer Night's Dream/A Midsummer Night's Dream.txt: Filename too long error: unable to create file Folders/Async/src/main/resources/works/Livelessons/SearchStreamForkJoin/DivideNConquer/src/main/resources/works/Alls Well That Ends Well/Alls Well That Ends Well.txt: Filename too long error: unable to create file Folders/Async/src/main/resources/works/Livelessons/SearchStreamForkJoin/DivideNConquer/src/main/resources/works/Second Part of King Henry IV/Second Part of King Henry IV.txt: Filename too long error: unable to create file Folders/Async/src/main/resources/works/Livelessons/SearchStreamForkJoin/DivideNConquer/src/main/resources/works/The First Part of Henry VI/The First Part of Henry VI.txt: Filename too long warning: unable to access 'Folders/Async/src/main/resources/works/Livelessons/SearchStreamForkJoin/DivideNConquer/src/main/resources/works/The First Part of King Henry IV/Acts/.gitattributes': Filename too long error: unable to create file Folders/Async/src/main/resources/works/Livelessons/SearchStreamForkJoin/DivideNConquer/src/main/resources/works/The First Part of King Henry IV/The First Part of King Henry IV.txt: Filename too long fatal: cannot create directory at 'Folders/Async/src/main/resources/works/Livelessons/SearchStreamForkJoin/DivideNConquer/src/main/resources/works/The History of Troilus and Cressida/Acts': Filename too long

douglascraigschmidt commented 4 years ago

Thanks, that's what I thought. Those files are just test data for one of the programs, so it's fine if they aren't incorporated.

Doug

vanderryan commented 4 years ago

Very cool. Thanks for the quick help!

douglascraigschmidt commented 4 years ago

Sure, you bet!