OK - I’ve submitted PR https://github.com/apache/fineract/pull/1359 
<https://github.com/apache/fineract/pull/1359> to fix this.

Btw just looking at the tag done for release 1.4.0 - could we make the release 
tag to be “1.4.0” (i.e. not “release-1.4.0”) so that it would be consistent 
with the previous release tags? That would also look better in Swagger UI :-)

Regards
Petri

> On 30 Sep 2020, at 6:51 PM, Petri Tuomola <[email protected]> wrote:
> 
> Hi
> 
> I’ve just reproduced this: looks like the build fails if you are not building 
> from within a git repository, as it can’t find the git properties for 
> population into Swagger version number. Shouldn’t be difficult to fix though 
> - I’ll have a look and send a PR asap.
> 
> Regards
> Petri
> 
> 
>> On 30 Sep 2020, at 6:04 PM, Michael Vorburger <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Tube (?),
>> 
>> This is an interesting new problem that we are not yet aware of; thank you 
>> for sharing it with us on the list (that's one good way of contributing and 
>> helping the project).
>> 
>> Are you seeing this problem after a "git clone", or with sources that you 
>> downloaded as a ZIP file? From where, how? I wonder
>>  if perhaps our build is broken when there is no .git/.
>> 
>> Or did you maybe use a Gradle that you have already installed ("gradle 
>> bootJar"?) , instead of the Gradle Wrapper which you really have to use 
>> ("./gradlew bootJar"). Just to make sure, could you please share the EXACT 
>> line you used to launch your local build? Like copy everything, starting 
>> from the C:\ prompt and what EXACTLY you typed.
>> 
>> We should have a new open JIRA issue about it to track this problem, and 
>> eventually the solution. Would you be able to create an issue for it for us?
>> 
>> Best,
>> M.
>> 
>> On Tue, 29 Sep 2020, 16:19 ጓይላና Tube, <[email protected] 
>> <mailto:[email protected]>> wrote:
>> hello
>>  i want to create a fineract-provider jar/war file. When I run 𝐠𝐫𝐚𝐝𝐥𝐞𝐰 𝐜𝐥𝐞𝐚𝐧 
>> 𝐛𝐨𝐨𝐭𝐉𝐚𝐫(jar)/𝐠𝐫𝐚𝐝𝐥𝐞𝐰 𝐜𝐥𝐞𝐚𝐧 𝐛𝐨𝐨𝐭𝐖𝐚𝐫(war). I got this error. any help/fix?
>> 
>> > Task :enhance
>> Found no persistent property in 
>> "org.apache.fineract.infrastructure.dataqueries.
>> domain.ReportParameter"
>> 
>> > Task :prepareInputYaml FAILED
>> 
>> FAILURE: Build failed with an exception.
>> 
>> * Where:
>> Build file 
>> 'C:\Users\gelila\Downloads\Compressed\fineract-develop\fineract-devel
>> op\fineract-provider\build.gradle' line: 208
>> 
>> * What went wrong:
>> Execution failed for task ':prepareInputYaml'.
>> > Cannot get property 'gitProps' on extra properties extension as it does 
>> > not ex
>> ist
>> 
>> * Try:
>> Run with --stacktrace option to get the stack trace. Run with --info or 
>> --debug
>> option to get more log output. Run with --scan to get full insights.
>> 
>> * Get more help at https://help.gradle.org <https://help.gradle.org/>
>> 
>> Deprecated Gradle features were used in this build, making it incompatible 
>> with
>> Gradle 7.0.
>> Use '--warning-mode all' to show the individual deprecation warnings.
>> See 
>> https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:comm 
>> <https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:comm>
>> and_line_warnings
>> 
>> On Tue, 29 Sep 2020 at 13:11, ጓይላና Tube <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Okay Michael
>> 
>> On Tue, 29 Sep 2020 at 12:33, Michael Vorburger <[email protected] 
>> <mailto:[email protected]>> wrote:
>> You need to run it under Java 11 instead of Java 8. The error message shown 
>> kind of says that ("Could not target platform... Java SE 11 using tool chain 
>> JDK 8 (1.8)"), but it's probably not clear enough?
>> 
>> PS: When you post on public mailing lists, could you please always 
>> copy/paste text, instead of screenshots? That makes it easier for others to 
>> search for such errors, and find previous answers.
>> 
>> On Tue, Sep 29, 2020 at 11:36 AM ጓይላና Tube <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hello. 
>> i want to create a fineract-provider jar file. When I run 𝗴𝗿𝗮𝗱𝗹𝗲𝘄 𝗰𝗹𝗲𝗮𝗻 
>> 𝗯𝗼𝗼𝘁𝗝𝗮𝗿. i got this error. any help/suggestion?
>> 
>>  
>> 
>> 
>> On Tue, 29 Sep 2020 at 09:15, Mhretaab Brehe <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Wouldn't it be good to externalize (the database password particularly for 
>> fineract_tenants) to some property file or command line arguments so as to 
>> avoid the password mysql?
>> when you run the artifact java -jar fineract-provider.jar 
>> --db.password=your_finearact_tenants_password and some where within the code 
>> to use
>> @value("${db.password}")String tenantsDbPassword;
>> 
>> thanks
>> 
>> On Mon, Sep 28, 2020 at 8:59 PM Michael Vorburger <[email protected] 
>> <mailto:[email protected]>> wrote:
>> On Mon, Sep 28, 2020 at 7:42 PM Airsay Longcon <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hi Michael,
>> Thank you for the response. I understand that a straightforward java -jar 
>> would run the jar build. I guess my question was more about how to configure 
>> the other software like the Web-app and MySQL as I would like to change the 
>> defaults such as the MySQL root password and port, the port which the 
>> community/web apps will run on and some other basic changes so that I don't 
>> have an environment that is a sitting duck for attacks 
>> 
>> That seems very wise! :) Of course, your database shouldn't even be internet 
>> exposed at all in the first place, and only on a local IP... ;-)
>> 
>> Jokes aside, thank you for clarifying what doc you were missing. Does 
>> https://github.com/apache/fineract/pull/1357/files 
>> <https://github.com/apache/fineract/pull/1357/files> help to clarify re. DB?
>> 
>> Re. the port which the community/web apps, that may be a bigger 
>> misunderstanding - Apache Fineract does not actually include the 
>> community/web app UI at all! So java -jar fineract-provider.jar only runs 
>> the backend. If anything made you think that it does, please point us to 
>> where we say so, so that doc can be clarified. 
>> (https://github.com/apache/fineract/#instructions-to-run-using-docker-and-docker-compose
>>  
>> <https://github.com/apache/fineract/#instructions-to-run-using-docker-and-docker-compose>
>>  however does include the community-app, but that's just for 
>> convenience/demo. That has nothing to do with the Fineract JAR/WAR itself, 
>> it's just via 
>> https://github.com/apache/fineract/blob/develop/docker-compose.yml#L59 
>> <https://github.com/apache/fineract/blob/develop/docker-compose.yml#L59>.)
>> 
>>  
>>> On 27 Sep 2020, at 20:22, Michael Vorburger <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> 
>>> Ese,
>>> 
>>> On Sun, 27 Sep 2020, 20:38 Airsay Longcon, <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> Hi Michael,
>>> For a production server, how would one deploy using the jar?
>>> 
>>> Simply java -jar, as per 
>>> https://github.com/apache/fineract/#instructions-to-build-the-jar-file 
>>> <https://github.com/apache/fineract/#instructions-to-build-the-jar-file>
>>> 
>>> Please do let us know what information you are missing re. that, so that we 
>>> may improve the README.
>>> 
>>> 
>>>> On 27 Sep 2020, at 18:48, Michael Vorburger <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> 
>>>> 
>>>> Tube,
>>>> 
>>>> Have you seen/are you perhaps simply looking for 
>>>> https://github.com/apache/fineract/#instructions-how-to-run-for-local-development
>>>>  
>>>> <https://github.com/apache/fineract/#instructions-how-to-run-for-local-development>
>>>>  ?
>>>> 
>>>> With "./gradlew bootRun", you don't need Tomcat anymore to develop on 
>>>> Fineract!
>>>> 
>>>> Hope this helps?
>>>> M.
>>>> 
>>>> 
>>>> On Sun, 27 Sep 2020, 17:55 Kelvin Ikome, <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> Hi there,
>>>> 
>>>> Please provide more information on what changes you are trying to make 
>>>> which isn't working
>>>> 
>>>> On Sun, Sep 27, 2020 at 4:10 PM ጓይላና Tube <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> 𝒉𝒆𝒍𝒍𝒐 .
>>>> 𝑰 𝒘𝒂𝒏𝒕 𝒕𝒐 𝒄𝒖𝒔𝒕𝒐𝒎𝒊𝒛𝒆 𝒕𝒉𝒆 𝒃𝒂𝒄𝒌𝒆𝒏𝒅 𝒄𝒐𝒅𝒆(𝒋𝒂𝒗𝒂). 𝒃𝒖𝒕 𝒘𝒉𝒆𝒏 𝒊 𝒓𝒖𝒏 𝒕𝒉𝒆 
>>>> 𝒇𝒊𝒏𝒆𝒓𝒂𝒄𝒕-𝒑𝒓𝒐𝒗𝒊𝒅𝒆𝒓 𝒇𝒊𝒍𝒆. 𝒏𝒐𝒕𝒉𝒊𝒏𝒈 𝒊𝒔 𝒄𝒉𝒂𝒏𝒈𝒆𝒅. 𝒄𝒂𝒏 𝒚𝒐𝒖 𝒈𝒖𝒊𝒅𝒆 𝒎𝒆 𝒉𝒐𝒘 𝒕𝒐  
>>>> 𝒆𝒅𝒊𝒕/𝒄𝒉𝒂𝒏𝒈𝒆 𝒕𝒉𝒆 𝒃𝒂𝒄𝒌𝒆𝒏𝒅 𝒄𝒐𝒅𝒆 𝒂𝒏𝒅 𝒅𝒆𝒑𝒍𝒐𝒚 𝒊𝒏𝒕𝒐 𝒕𝒐𝒎𝒄𝒂𝒕.
>>>> 𝑹𝒆𝒈𝒂𝒓𝒅𝒔  
>> <fail.jpg>
> 

Reply via email to