dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #11862
Re: [Dhis2-devs] Build revision is not come in forked branch
The command from the pom.xml file...
git rev-parse --short HEAD
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org
On Tue, Nov 22, 2016 at 12:34 PM, Mithilesh Kumar Thakur <
mithilesh.hisp@xxxxxxxxx> wrote:
> thanks morten,
> which command can you please share?
>
> Thanks and Regards
>
> Mithilesh Kumar Thakur
>
> On Tue, Nov 22, 2016 at 10:43 AM, Morten Olav Hansen <morten@xxxxxxxxx>
> wrote:
>
>> Ok, why don't you try and run the command yourself? maybe that would give
>> you a clue..
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Nov 22, 2016 at 11:31 AM, Mithilesh Kumar Thakur <
>> mithilesh.hisp@xxxxxxxxx> wrote:
>>
>>> Dear Morten,
>>>
>>> build.properties file generated but inside that build.revision is null
>>> and like that
>>>
>>> build.version = 2.25
>>>
>>> build.time = 2016-11-21 12:53:22
>>>
>>> build.revision = ${revision}
>>>
>>> jasperreports.version = 6.3.1
>>>
>>> i also attached the generated build.properties file
>>>
>>> Thanks and Regards
>>>
>>> Mithilesh Kumar Thakur
>>>
>>> On Tue, Nov 22, 2016 at 8:31 AM, Morten Olav Hansen <morten@xxxxxxxxx>
>>> wrote:
>>>
>>>> Hi Mithilesh
>>>>
>>>> Is the build.properties file being made? if you have a look at
>>>> dhis-2/pom.xml there is a plugin that generates this file, and it must be
>>>> run to have this working.
>>>>
>>>> --
>>>> Morten Olav Hansen
>>>> Senior Engineer, DHIS 2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Mon, Nov 21, 2016 at 2:11 PM, Mithilesh Kumar Thakur <
>>>> mithilesh.hisp@xxxxxxxxx> wrote:
>>>>
>>>>> Dear Morten,
>>>>> I have test on new forked repository of 2.25 with
>>>>> latest commit "0a8fe47
>>>>> <https://github.com/hispindia/dhis2-Core/commit/0a8fe47db2cd06affcae0377ebc3facc53618ea8>"
>>>>> but still only the is missing. and build revision is coming as
>>>>>
>>>>> Build revision:${revision}
>>>>>
>>>>> Thanks and Regards
>>>>>
>>>>> Mithilesh Kumar Thakur
>>>>>
>>>>>
>>>>> On Mon, Nov 21, 2016 at 11:58 AM, Mithilesh Kumar Thakur <
>>>>> mithilesh.hisp@xxxxxxxxx> wrote:
>>>>>
>>>>>> Thanks,
>>>>>> no i am developing from git only and latest commit should
>>>>>> come in coming revision no but nothing is show and i am also use latest
>>>>>> merge.
>>>>>>
>>>>>> Thanks and Regards
>>>>>>
>>>>>> On Mon, Nov 21, 2016 at 11:52 AM, Morten Olav Hansen <
>>>>>> morten@xxxxxxxxx> wrote:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> Are you still developing in launchpad? if not, we don't have any
>>>>>>> revision number anymore, just the sha1 from git (if you have a fork, you
>>>>>>> might have to merge in latest DefaultSystemService / SystemInfo ?)
>>>>>>>
>>>>>>> --
>>>>>>> Morten Olav Hansen
>>>>>>> Senior Engineer, DHIS 2
>>>>>>> University of Oslo
>>>>>>> http://www.dhis2.org
>>>>>>>
>>>>>>> On Mon, Nov 21, 2016 at 1:20 PM, Mithilesh Kumar Thakur <
>>>>>>> mithilesh.hisp@xxxxxxxxx> wrote:
>>>>>>>
>>>>>>>> Dear devs,
>>>>>>>> Build revision is not come in forked branch
>>>>>>>>
>>>>>>>> i attached the screen short.
>>>>>>>>
>>>>>>>> any one faced similar issue before kindly help or suggest.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> [image: Inline image 1]
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Thanks and Regards
>>>>>>>>
>>>>>>>> Mithilesh Kumar Thakur
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>> More help : https://help.launchpad.net/ListHelp
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Thanks and Regards
>>>>>>
>>>>>> Mithilesh Kumar Thakur
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Thanks and Regards
>>>>>
>>>>> Mithilesh Kumar Thakur
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Thanks and Regards
>>>
>>> Mithilesh Kumar Thakur
>>>
>>
>>
>
>
> --
>
> Thanks and Regards
>
> Mithilesh Kumar Thakur
>
Follow ups
References