Re: [Dev] getting error while building wso2/product-iots

2019-04-11 Thread Syed Hasan
https://github.com/wso2/product-iots/issues/1913

On Mon, Apr 8, 2019 at 12:56 AM Janak Amarasena  wrote:

> Hi Syed,
>
> You need to build product-iots in the following order.
>
>1. carbon-device-mgt
>2. carbon-device-mgt-plugins
>3. product-iots
>
> Also when building *product-**iots* check the dependency versions for 
> *carbon-device-mgt
> *and* carbon-device-mgt-plugins *from the main pom in product-iots.
> For the current master branch of product-iots you will need the following
> versions of the other 2 repos.
>
>1. carbon-device-mgt -
>https://github.com/wso2/carbon-device-mgt/tree/v3.1.51
>2. carbon-device-mgt-plugins -
>https://github.com/wso2/carbon-device-mgt-plugins/tree/v4.1.20
>
> With those, I was able to successfully build product-iots.
>
> Hope this helps.
>
> Best Regards,
> Janak
>
> On Sun, Apr 7, 2019 at 9:13 AM Syed Hasan  wrote:
>
>> [INFO]
>> [INFO] --- replacer:1.5.2:replace (replace-for-thrift) @ wso2iot ---
>> [ERROR] File
>> 'C:\wso2\product-iots\modules\distribution\..\p2-profile\iot-core-profile\target\wso2carbon-core-4.4.26\wso2\conf\identity\thrift-authentication.xml'
>> does not exist
>> [INFO] Replacement run on 0 file.
>> [INFO]
>> 
>> [INFO] Reactor Summary:
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> *Janak Amarasena*
>
> Software Engineer
>
> Email: ja...@wso2.com
>
> Mobile: +9464144
>
> Web: https://wso2.com
>
>
> 
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] getting error while building wso2/product-iots

2019-04-10 Thread Syed Hasan
Deleted everything from local and cloned

   1. carbon-device-mgt
   2. carbon-device-mgt-plugins
   3. product-iots

and tried to build above order. *carbon-device-mgt *and
*carbon-device-mgt-plugins
*built successfully. But when build *product-iots*, got following error:

> [DEBUG] reference:file:C:/Users/Hasan
>> Syed/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.tools.impl/0.13.0/org.eclipse.tycho.p2.tools.impl-0.13.0.jar
>
> [INFO] Command line:
>
> cmd.exe /X /C ""C:\Program
>> Files\Java\jdk1.8.0_201\jre\bin\java.exe" -jar "C:\Users\Hasan
>> Syed\.m2\repository\org\eclipse\tycho\tycho-p2-runtime\0.13.0\eclipse\plugins\org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar"
>> -debug -consoleLog -nosplash -application org.eclipse.equinox.p2.director
>> -metadataRepository
>> file:C:/wso2/product-iots/modules/p2-profile/iot-core-profile/target/p2-repo
>> -artifactRepository
>> file:C:/wso2/product-iots/modules/p2-profile/iot-core-profile/target/p2-repo
>> -profileProperties org.eclipse.update.install.features=true -installIU
>> 

Re: [Dev] getting error while building wso2/product-iots

2019-04-09 Thread Janak Amarasena
Hi Syed,

The IoT server comes with its own UI, therefore you will not need
the dashboard server.
You will be getting the same IoT server distribution from the download in
here[1] as you build from the source code. Therefore after building the
source code and getting the distribution, you can run it as instructed in
the docs.
[1] https://docs.wso2.com/display/IOTS330/Downloading+the+Product

So, basically, you can follow this guide[2] to setup the IoT server.
[2] - https://docs.wso2.com/display/IOTS330/Installation+Guide
Since you already have the IoT Server distribution from building the source
code, you can skip "Downloading the Product" part and start with
"Installing the Product".


On a separate note, I have CCied @WSO2 Developers' List  so
others will also be able to help out with your queries. Therefore
please CC @WSO2
Developers' List  in the future :)

Best Regards,
Janak



On Wed, Apr 10, 2019 at 7:40 AM Syed Hasan  wrote:

> Hi Janak,
> Thanks again for your reply. I'm looking for info how to run the IoT
> server from source code. I checked the link
> https://docs.wso2.com/display/IOTS330/Working+with+the+Source+Code
> And WSO2 GitHub Repositories
>  shows me all the
> related github repos.
> But I'm looking for some concrete instructions how to run that IoT project
> from source code... which repos are required and where can I get the DB
> scripts etc.
> BTW, I thought that the dashboard is for IoT server's frontend. ie. UI for
> IoT server. isn't it?
>
> Please let me know your comments.
> Thanks a lot again for your cooperation.
>
> Kindest regards,
> Hasan
>
>
> On Tue, Apr 9, 2019 at 3:12 PM Janak Amarasena  wrote:
>
>> Hi Syed,
>>
>> You can find the documentation related to the WSO2 IoT server from
>> here[1]. It has all the related information you will need to setup the
>> server.
>> [1] - https://docs.wso2.com/display/IoTS320/WSO2+IoT+Server+Documentation
>>
>> Also if you are interested you can find the agent apps used by the IoT
>> server for Andriod and iOS from the below repos.
>> Android - https://github.com/wso2/cdmf-agent-android
>> iOS - https://github.com/wso2/cdmf-agent-ios
>>
>> Not sure what you are trying to archive using the dashboard server with
>> the IoT server.
>> You can find the instructions to set up the dashboard server here[2]
>> [2] - https://github.com/wso2/carbon-dashboards/blob/master/README.md
>>
>> Hope this helps,
>>
>> Best Regards,
>> Janak
>>
>>
>> On Mon, Apr 8, 2019 at 11:47 PM Syed Hasan  wrote:
>>
>>> Hi Janak,
>>> Thanks a lot for your reply. I truly appreciate your cooperation. I'll
>>> check that.
>>> Meanwhile, can you please guide me how to setup my dev environment for
>>> product-iots  with dashboard? ie. where can I get DB script for MDM and
>>> what are the projects will I need? There're 282 repos in
>>> https://github.com/wso2 and I checked
>>> https://wso2.github.io/github-repositories.html
>>>
>>> WSO2 IoT Server
>>>
>>> github.com/wso2/carbon-device-mgt
>>> 
>>>
>>> github.com/wso2/carbon-device-mgt-plugins
>>> 
>>>
>>> github.com/wso2/product-iots 
>>>
>>> WSO2 Dashboard Server
>>>
>>> github.com/wso2/carbon-dashboards
>>> 
>>>
>>> github.com/wso2/product-ds 
>>>
>>> But unfortunately I couldn't find any clear instructions or
>>> documentation how to setup the MDM for your dev environment.
>>>
>>> I've posted my query in Dev@wso2.org but sadly I've not gotten any
>>> replay yet.
>>>
>>> Awaiting for your reply.
>>> Kindest regards,
>>> Hasan
>>>
>>> On Mon, Apr 8, 2019 at 12:56 AM Janak Amarasena  wrote:
>>>
 Hi Syed,

 You need to build product-iots in the following order.

1. carbon-device-mgt
2. carbon-device-mgt-plugins
3. product-iots

 Also when building *product-**iots* check the dependency versions for 
 *carbon-device-mgt
 *and* carbon-device-mgt-plugins *from the main pom in product-iots.
 For the current master branch of product-iots you will need the
 following versions of the other 2 repos.

1. carbon-device-mgt -
https://github.com/wso2/carbon-device-mgt/tree/v3.1.51
2. carbon-device-mgt-plugins -
https://github.com/wso2/carbon-device-mgt-plugins/tree/v4.1.20

 With those, I was able to successfully build product-iots.

 Hope this helps.

 Best Regards,
 Janak

 On Sun, Apr 7, 2019 at 9:13 AM Syed Hasan  wrote:

> [INFO]
> [INFO] --- replacer:1.5.2:replace (replace-for-thrift) @ wso2iot ---
> [ERROR] File
> 'C:\wso2\product-iots\modules\distribution\..\p2-profile\iot-core-profile\target\wso2carbon-core-4.4.26\wso2\conf\identity\thrift-authentication.xml'
> does not exist
> [INFO] 

Re: [Dev] getting error while building wso2/product-iots

2019-04-09 Thread Janak Amarasena
Hi Syed,

You can find the documentation related to the WSO2 IoT server from here[1].
It has all the related information you will need to setup the server.
[1] - https://docs.wso2.com/display/IoTS320/WSO2+IoT+Server+Documentation

Also if you are interested you can find the agent apps used by the IoT
server for Andriod and iOS from the below repos.
Android - https://github.com/wso2/cdmf-agent-android
iOS - https://github.com/wso2/cdmf-agent-ios

Not sure what you are trying to archive using the dashboard server with the
IoT server.
You can find the instructions to set up the dashboard server here[2]
[2] - https://github.com/wso2/carbon-dashboards/blob/master/README.md

Hope this helps,

Best Regards,
Janak


On Mon, Apr 8, 2019 at 11:47 PM Syed Hasan  wrote:

> Hi Janak,
> Thanks a lot for your reply. I truly appreciate your cooperation. I'll
> check that.
> Meanwhile, can you please guide me how to setup my dev environment for
> product-iots  with dashboard? ie. where can I get DB script for MDM and
> what are the projects will I need? There're 282 repos in
> https://github.com/wso2 and I checked
> https://wso2.github.io/github-repositories.html
>
> WSO2 IoT Server
>
> github.com/wso2/carbon-device-mgt
> 
>
> github.com/wso2/carbon-device-mgt-plugins
> 
>
> github.com/wso2/product-iots 
>
> WSO2 Dashboard Server
>
> github.com/wso2/carbon-dashboards
> 
>
> github.com/wso2/product-ds 
>
> But unfortunately I couldn't find any clear instructions or documentation
> how to setup the MDM for your dev environment.
>
> I've posted my query in Dev@wso2.org but sadly I've not gotten any replay
> yet.
>
> Awaiting for your reply.
> Kindest regards,
> Hasan
>
> On Mon, Apr 8, 2019 at 12:56 AM Janak Amarasena  wrote:
>
>> Hi Syed,
>>
>> You need to build product-iots in the following order.
>>
>>1. carbon-device-mgt
>>2. carbon-device-mgt-plugins
>>3. product-iots
>>
>> Also when building *product-**iots* check the dependency versions for 
>> *carbon-device-mgt
>> *and* carbon-device-mgt-plugins *from the main pom in product-iots.
>> For the current master branch of product-iots you will need the
>> following versions of the other 2 repos.
>>
>>1. carbon-device-mgt -
>>https://github.com/wso2/carbon-device-mgt/tree/v3.1.51
>>2. carbon-device-mgt-plugins -
>>https://github.com/wso2/carbon-device-mgt-plugins/tree/v4.1.20
>>
>> With those, I was able to successfully build product-iots.
>>
>> Hope this helps.
>>
>> Best Regards,
>> Janak
>>
>> On Sun, Apr 7, 2019 at 9:13 AM Syed Hasan  wrote:
>>
>>> [INFO]
>>> [INFO] --- replacer:1.5.2:replace (replace-for-thrift) @ wso2iot ---
>>> [ERROR] File
>>> 'C:\wso2\product-iots\modules\distribution\..\p2-profile\iot-core-profile\target\wso2carbon-core-4.4.26\wso2\conf\identity\thrift-authentication.xml'
>>> does not exist
>>> [INFO] Replacement run on 0 file.
>>> [INFO]
>>> 
>>> [INFO] Reactor Summary:
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>>
>> --
>> *Janak Amarasena*
>>
>> Software Engineer
>>
>> Email: ja...@wso2.com
>>
>> Mobile: +9464144
>>
>> Web: https://wso2.com
>>
>>
>> 
>>
>

-- 
*Janak Amarasena*

Software Engineer

Email: ja...@wso2.com

Mobile: +9464144

Web: https://wso2.com



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] getting error while building wso2/product-iots

2019-04-07 Thread Janak Amarasena
Hi Syed,

You need to build product-iots in the following order.

   1. carbon-device-mgt
   2. carbon-device-mgt-plugins
   3. product-iots

Also when building *product-**iots* check the dependency versions for
*carbon-device-mgt
*and* carbon-device-mgt-plugins *from the main pom in product-iots.
For the current master branch of product-iots you will need the following
versions of the other 2 repos.

   1. carbon-device-mgt -
   https://github.com/wso2/carbon-device-mgt/tree/v3.1.51
   2. carbon-device-mgt-plugins -
   https://github.com/wso2/carbon-device-mgt-plugins/tree/v4.1.20

With those, I was able to successfully build product-iots.

Hope this helps.

Best Regards,
Janak

On Sun, Apr 7, 2019 at 9:13 AM Syed Hasan  wrote:

> [INFO]
> [INFO] --- replacer:1.5.2:replace (replace-for-thrift) @ wso2iot ---
> [ERROR] File
> 'C:\wso2\product-iots\modules\distribution\..\p2-profile\iot-core-profile\target\wso2carbon-core-4.4.26\wso2\conf\identity\thrift-authentication.xml'
> does not exist
> [INFO] Replacement run on 0 file.
> [INFO]
> 
> [INFO] Reactor Summary:
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
*Janak Amarasena*

Software Engineer

Email: ja...@wso2.com

Mobile: +9464144

Web: https://wso2.com



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev