This issue/bug with p2 director where if we don't specify a luncher name,
it creates a null.ini file. A workaround would be to add a launcher to the
product file at (e.g:carbon4-kernel/distribution/kernel/carbon.product)
like below. This will create the file as eclipse.ini.

<launcher name="eclipse"/>

But this issue does not cause any issues to product. It is only the name of
the file.

*About this file*
Each profile in a product will have this file and it contains the absolute
path of the profile location which is used by the p2 runtime. This file
gets created during p2-profile-gen phase and will again get rewritten
during server startup with the profile location. The main reason for this
is due to this bug : https://bugs.eclipse.org/bugs/show_bug.cgi?id=344153


On Mon, Feb 16, 2015 at 10:44 PM, Nuwan Wimalasekara <[email protected]>
wrote:

> Hi
> In API Manager 1.7.0 , null.ini files can be seen in below paths as well.
>
> CARBON_HOME/repository/components/api-key-manager/null.ini
> CARBON_HOME/repository/components/api-store/null.ini
> CARBON_HOME/repository/components/api-publisher/null.ini
>
> And the content is like bellow
>
> -install
>
>
> /build/chunk-11/platform/turing/products/apimgt/1.7.0/modules/p2-profile/product/target/wso2carbon-core-4.2.0/repository/components/api-publisher
>
> Thanks,
> Nuwanw
>
>
>
>
> On Mon, Feb 16, 2015 at 8:39 AM, Prabath Abeysekera <[email protected]>
> wrote:
>
>> Since there has been no response on this, reported a bug [1], so that the
>> Kernel team wouldn't miss fixing this.
>>
>> [1] https://wso2.org/jira/browse/CARBON-15169
>>
>> Cheers,
>> Prabath
>>
>> On Thu, Feb 12, 2015 at 3:14 PM, Prabath Abeysekera <[email protected]>
>> wrote:
>>
>>>
>>>
>>> On Thu, Feb 12, 2015 at 3:10 PM, Prabath Abeysekera <[email protected]>
>>> wrote:
>>>
>>>> Hi Everyone,
>>>>
>>>> $Subject. All most all the product distributions seem to ship this.
>>>>
>>>
>>> *almost
>>>
>>>
>>>>
>>>> Cheers,
>>>> Prabath
>>>> --
>>>> Prabath Abeysekara
>>>> Associate Technical Lead, Data TG.
>>>> WSO2 Inc.
>>>> Email: [email protected]
>>>> Mobile: +94774171471
>>>>
>>>
>>>
>>>
>>> --
>>> Prabath Abeysekara
>>> Associate Technical Lead, Data TG.
>>> WSO2 Inc.
>>> Email: [email protected]
>>> Mobile: +94774171471
>>>
>>
>>
>>
>> --
>> Prabath Abeysekara
>> Associate Technical Lead, Data TG.
>> WSO2 Inc.
>> Email: [email protected]
>> Mobile: +94774171471
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to