Re: [Dev] carbon-device-mgt and carbon-device-mgt-plugins GIT clone error on windows

2016-10-05 Thread Eranga Liyanage
Thank you Dakshika, I'll check this.

*Eranga Liyanage*
Senior UX Engineer | WSO2
Mob : +94 77 395 
Blog : https://medium.com/@erangatl
Linkedin : https://www.linkedin.com/in/erangaliyanage


On Wed, Oct 5, 2016 at 9:39 PM, Dakshika Jayathilaka 
wrote:

> Hi Eranga,
>
> Try this
>
> http://ourcodeworld.com/articles/read/109/how-to-
> solve-filename-too-long-error-in-git-powershell-and-github-
> application-for-windows
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Associate Technical Lead
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Wed, Oct 5, 2016 at 12:01 PM, Eranga Liyanage  wrote:
>
>> Hi,
>>
>> I'm getting filename too long error while trying to
>> clone carbon-device-mgt and  carbon-device-mgt-plugins in windows 7.
>>
>> Please find below error and environment details.
>>
>> *carbon-device-mgt*
>>
>> Eranga@ERANGA-PC D:\GIT
>> $ git clone https://github.com/erangatl/carbon-device-mgt.git
>> Cloning into 'carbon-device-mgt'...
>> remote: Counting objects: 75226, done.
>> remote: Total 75226 (delta 0), reused 0 (delta 0), pack-reused 75225
>> Receiving objects: 100% (75226/75226), 26.38 MiB | 85.00 KiB/s, done.
>> Resolving deltas: 100% (28711/28711), done.
>> error: unable to create file components/device-mgt-extensio
>> ns/org.wso2.carbon.device.mgt.extensions.push.notification.
>> provider.mqtt/src/main/java/org/wso2/carbon/device/mgt/
>> extensions/push/notification/provider/mqtt/internal/MQTTPus
>> hNotificationServiceComponent.java: Filename too long
>> error: unable to create file components/device-mgt-extensio
>> ns/org.wso2.carbon.device.mgt.extensions.push.notification.
>> provider.xmpp/src/main/java/org/wso2/carbon/device/mgt/
>> extensions/push/notification/provider/xmpp/internal/XMPPPus
>> hNotificationServiceComponent.java: Filename too long
>> error: unable to create file components/identity-extensions
>> /dynamic-client-registration/org.wso2.carbon.dynamic.
>> client.web.app.registration/src/main/java/org/wso2/carbon/
>> dynamic/client/web/app/registration/internal/DynamicC
>> lientWebAppRegistrationServiceComponent.java: Filename too long
>> error: unable to create file components/identity-extensions
>> /dynamic-client-registration/org.wso2.carbon.dynamic.
>> client.web.app.registration/src/main/java/org/wso2/carbon/
>> dynamic/client/web/app/registration/listner/DynamicCl
>> ientWebAppDeploymentLifecycleListener.java: Filename too long
>> fatal: unable to checkout working tree
>> warning: Clone succeeded, but checkout failed.
>> You can inspect what was checked out with 'git status'
>> and retry the checkout with 'git checkout -f HEAD'
>>
>>
>>
>> *carbon-device-mgt-plugins*
>>
>> Eranga@ERANGA-PC D:\GIT
>> $ git clone https://github.com/erangatl/carbon-device-mgt-plugins.git
>> Cloning into 'carbon-device-mgt-plugins'...
>> remote: Counting objects: 57854, done.
>> remote: Total 57854 (delta 0), reused 0 (delta 0), pack-reused 57854
>> Receiving objects: 100% (57854/57854), 138.17 MiB | 325.00 KiB/s, done.
>> Resolving deltas: 100% (19888/19888), done.
>> error: unable to create file components/iot-plugins/android
>> sense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/
>> main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.dev
>> ice.type.android_sense.platform.configuration/public/js/platfor
>> m-configuration.js: Filename too long
>> error: unable to create file components/iot-plugins/android
>> sense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/
>> main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.dev
>> ice.type.android_sense.realtime.analytics-view/public/js/socket
>> .io.min.js: Filename too long
>> error: unable to create file components/iot-plugins/raspber
>> rypi-plugin/org.wso2.carbon.device.mgt.iot.raspberrypi.ui/src/ma
>> in/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.devic
>> e.type.raspberrypi.platform.configuration/public/js/platform-co
>> nfiguration.js: Filename too long
>> warning: unable to access 'components/iot-plugins/virtua
>> l-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfirealarm
>> .agent.advanced.impl/src/main/java/org/wso2/carbon/device/mg
>> t/iot/virtualfirealarm/agent/advanced/communication/http/.gitat
>> tributes': Filename too long
>> error: unable to create file components/iot-plugins/virtual
>> -fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfireala
>> rm.agent.advanced.impl/src/main/java/org/wso2/carbon/device/
>> mgt/iot/virtualfirealarm/agent/advanced/communication/http/Fire
>> AlarmHTTPCommunicator.java: Filename too long
>> warning: unable to access 'components/iot-plugins/virtua
>> l-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfirealarm
>> .agent.advanced.impl/src/main/java/org/wso2/carbon/device/mg
>> t/iot/virtualfirealarm/agent/advanced/communication/mqtt/.gitat
>> tributes': Filename too long
>> error: unable to create file components/iot-plugins/virtual
>> 

Re: [Dev] carbon-device-mgt and carbon-device-mgt-plugins GIT clone error on windows

2016-10-05 Thread Dakshika Jayathilaka
Hi Eranga,

Try this

http://ourcodeworld.com/articles/read/109/how-to-solve-filename-too-long-error-in-git-powershell-and-github-application-for-windows

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Associate Technical Lead
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Wed, Oct 5, 2016 at 12:01 PM, Eranga Liyanage  wrote:

> Hi,
>
> I'm getting filename too long error while trying to
> clone carbon-device-mgt and  carbon-device-mgt-plugins in windows 7.
>
> Please find below error and environment details.
>
> *carbon-device-mgt*
>
> Eranga@ERANGA-PC D:\GIT
> $ git clone https://github.com/erangatl/carbon-device-mgt.git
> Cloning into 'carbon-device-mgt'...
> remote: Counting objects: 75226, done.
> remote: Total 75226 (delta 0), reused 0 (delta 0), pack-reused 75225
> Receiving objects: 100% (75226/75226), 26.38 MiB | 85.00 KiB/s, done.
> Resolving deltas: 100% (28711/28711), done.
> error: unable to create file components/device-mgt-
> extensions/org.wso2.carbon.device.mgt.extensions.push.
> notification.provider.mqtt/src/main/java/org/wso2/carbon/
> device/mgt/extensions/push/notification/provider/mqtt/internal/
> MQTTPushNotificationServiceComponent.java: Filename too long
> error: unable to create file components/device-mgt-
> extensions/org.wso2.carbon.device.mgt.extensions.push.
> notification.provider.xmpp/src/main/java/org/wso2/carbon/
> device/mgt/extensions/push/notification/provider/xmpp/internal/
> XMPPPushNotificationServiceComponent.java: Filename too long
> error: unable to create file components/identity-
> extensions/dynamic-client-registration/org.wso2.carbon.
> dynamic.client.web.app.registration/src/main/java/org/wso2/carbon/dynamic/
> client/web/app/registration/internal/DynamicClientWebAppRegistrationServiceComponent.java:
> Filename too long
> error: unable to create file components/identity-
> extensions/dynamic-client-registration/org.wso2.carbon.
> dynamic.client.web.app.registration/src/main/java/org/wso2/carbon/dynamic/
> client/web/app/registration/listner/DynamicClientWebAppDeploymentLifecycleListener.java:
> Filename too long
> fatal: unable to checkout working tree
> warning: Clone succeeded, but checkout failed.
> You can inspect what was checked out with 'git status'
> and retry the checkout with 'git checkout -f HEAD'
>
>
>
> *carbon-device-mgt-plugins*
>
> Eranga@ERANGA-PC D:\GIT
> $ git clone https://github.com/erangatl/carbon-device-mgt-plugins.git
> Cloning into 'carbon-device-mgt-plugins'...
> remote: Counting objects: 57854, done.
> remote: Total 57854 (delta 0), reused 0 (delta 0), pack-reused 57854
> Receiving objects: 100% (57854/57854), 138.17 MiB | 325.00 KiB/s, done.
> Resolving deltas: 100% (19888/19888), done.
> error: unable to create file components/iot-plugins/
> androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/
> main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.
> device.type.android_sense.platform.configuration/public/js/platfor
> m-configuration.js: Filename too long
> error: unable to create file components/iot-plugins/
> androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/
> main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.
> device.type.android_sense.realtime.analytics-view/public/js/socket
> .io.min.js: Filename too long
> error: unable to create file components/iot-plugins/
> raspberrypi-plugin/org.wso2.carbon.device.mgt.iot.raspberrypi.ui/src/ma
> in/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.
> device.type.raspberrypi.platform.configuration/public/js/platform-co
> nfiguration.js: Filename too long
> warning: unable to access 'components/iot-plugins/
> virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfirealarm
> .agent.advanced.impl/src/main/java/org/wso2/carbon/device/
> mgt/iot/virtualfirealarm/agent/advanced/communication/http/.gitat
> tributes': Filename too long
> error: unable to create file components/iot-plugins/
> virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfireala
> rm.agent.advanced.impl/src/main/java/org/wso2/carbon/device/mgt/iot/
> virtualfirealarm/agent/advanced/communication/http/Fire
> AlarmHTTPCommunicator.java: Filename too long
> warning: unable to access 'components/iot-plugins/
> virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfirealarm
> .agent.advanced.impl/src/main/java/org/wso2/carbon/device/
> mgt/iot/virtualfirealarm/agent/advanced/communication/mqtt/.gitat
> tributes': Filename too long
> error: unable to create file components/iot-plugins/
> virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfireala
> rm.agent.advanced.impl/src/main/java/org/wso2/carbon/device/mgt/iot/
> virtualfirealarm/agent/advanced/communication/mqtt/Fire
> AlarmMQTTCommunicator.java: Filename too long
> warning: unable to access 'components/iot-plugins/
> virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfirealarm
> 

[Dev] carbon-device-mgt and carbon-device-mgt-plugins GIT clone error on windows

2016-10-05 Thread Eranga Liyanage
Hi,

I'm getting filename too long error while trying to clone carbon-device-mgt
and  carbon-device-mgt-plugins in windows 7.

Please find below error and environment details.

*carbon-device-mgt*

Eranga@ERANGA-PC D:\GIT
$ git clone https://github.com/erangatl/carbon-device-mgt.git
Cloning into 'carbon-device-mgt'...
remote: Counting objects: 75226, done.
remote: Total 75226 (delta 0), reused 0 (delta 0), pack-reused 75225
Receiving objects: 100% (75226/75226), 26.38 MiB | 85.00 KiB/s, done.
Resolving deltas: 100% (28711/28711), done.
error: unable to create file
components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt/src/main/java/org/wso2/carbon/device/mgt/extensions/push/notification/provider/mqtt/internal/MQTTPushNotificationServiceComponent.java:
Filename too long
error: unable to create file
components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp/src/main/java/org/wso2/carbon/device/mgt/extensions/push/notification/provider/xmpp/internal/XMPPPushNotificationServiceComponent.java:
Filename too long
error: unable to create file
components/identity-extensions/dynamic-client-registration/org.wso2.carbon.dynamic.client.web.app.registration/src/main/java/org/wso2/carbon/dynamic/client/web/app/registration/internal/DynamicClientWebAppRegistrationServiceComponent.java:
Filename too long
error: unable to create file
components/identity-extensions/dynamic-client-registration/org.wso2.carbon.dynamic.client.web.app.registration/src/main/java/org/wso2/carbon/dynamic/client/web/app/registration/listner/DynamicClientWebAppDeploymentLifecycleListener.java:
Filename too long
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'



*carbon-device-mgt-plugins*

Eranga@ERANGA-PC D:\GIT
$ git clone https://github.com/erangatl/carbon-device-mgt-plugins.git
Cloning into 'carbon-device-mgt-plugins'...
remote: Counting objects: 57854, done.
remote: Total 57854 (delta 0), reused 0 (delta 0), pack-reused 57854
Receiving objects: 100% (57854/57854), 138.17 MiB | 325.00 KiB/s, done.
Resolving deltas: 100% (19888/19888), done.
error: unable to create file
components/iot-plugins/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/
main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.platform.configuration/public/js/platfor
m-configuration.js: Filename too long
error: unable to create file
components/iot-plugins/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/
main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.realtime.analytics-view/public/js/socket
.io.min.js: Filename too long
error: unable to create file
components/iot-plugins/raspberrypi-plugin/org.wso2.carbon.device.mgt.iot.raspberrypi.ui/src/ma
in/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.raspberrypi.platform.configuration/public/js/platform-co
nfiguration.js: Filename too long
warning: unable to access
'components/iot-plugins/virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfirealarm
.agent.advanced.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/agent/advanced/communication/http/.gitat
tributes': Filename too long
error: unable to create file
components/iot-plugins/virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfireala
rm.agent.advanced.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/agent/advanced/communication/http/Fire
AlarmHTTPCommunicator.java: Filename too long
warning: unable to access
'components/iot-plugins/virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfirealarm
.agent.advanced.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/agent/advanced/communication/mqtt/.gitat
tributes': Filename too long
error: unable to create file
components/iot-plugins/virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfireala
rm.agent.advanced.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/agent/advanced/communication/mqtt/Fire
AlarmMQTTCommunicator.java: Filename too long
warning: unable to access
'components/iot-plugins/virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfirealarm
.agent.advanced.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/agent/advanced/communication/xmpp/.gitat
tributes': Filename too long
error: unable to create file
components/iot-plugins/virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfireala
rm.agent.advanced.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/agent/advanced/communication/xmpp/Fire
AlarmXMPPCommunicator.java: Filename too long
error: unable to create file
components/iot-plugins/virtual-fire-alarm-plugin/org.wso2.carbon.device.mgt.iot.virtualfireala