Toivo, I resolved this by configuring git to accept long filenames. You need to make sure your version of mysysgit supports this config, because it's a relatively new feature. 1.9.4.mysysgit.1 I believe.
git config --global core.longpaths true or git config --system core.longpaths true If I remember correctly, I had to clone the repository again after this config change. Regards, -- Mike On Sun, Apr 5, 2015 at 7:38 AM, Toivo Adams <[email protected]> wrote: > Is it possible to use shorter folder and file names? > Linux/Unix like systems doesn't care but Windows is picky! > For example Git complains: > > C:\Users\xxxxxxx\Local_Files\git>git clone > http://git-wip-us.apache.org/repos/asf/incubator-nifi.git > Cloning into 'incubator-nifi'... > remote: Counting objects: 26586, done. > remote: Compressing objects: 100% (9207/9207), done. > remote: Total 26586 (delta 13086), reused 23803 (delta 11568) > Receiving objects: 100% (26586/26586), 17.86 MiB | 2.80 MiB/s, done. > Resolving deltas: 100% (13086/13086), done. > Checking connectivity... done. > error: unable to create file > > nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/src/main/ > > java/org/apache/nifi/distributed/cache/client/DistributedMapCacheClientService.java > (Filename too long) > error: unable to create file > > nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/src/main/ > > java/org/apache/nifi/distributed/cache/client/DistributedSetCacheClientService.java > (Filename too long) > fatal: cannot create directory at > > 'nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/src > > /main/resources/docs/org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService': > Filename too long > > Yes I know, I can change git folder location and hopefully this helps, but > still names together are rather long. > > I am using Windows 7 > > Thanks > Toivo > > > > > -- > View this message in context: > http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/NiFi-Filenames-too-long-tp1096.html > Sent from the Apache NiFi (incubating) Developer List mailing list archive > at Nabble.com. >
