Creating a release of GAMA, cannot find "build.sh" script

16 views
Skip to first unread message

James Humann

unread,
Feb 27, 2020, 6:30:15 PM2/27/20
to GAMA
I'm trying to follow the instructions from:

It directs me to a "build.sh" shell script in the root of the GAMA git repository. But I do not find one there. I find a build.sh and many other .sh files in a folder called "travis". The file structure is git > gama > travis. I tried to run this and never was able to generate anything. I got a few error messages from Windows PowerShell.

Can anyone help me with the proper way to create a release on Windows? I have a custom extension I wrote in the developer version that would ideally be packaged along with it.

Thank you for all you help with this and other questions!

Huynh Quang Nghi 002628

unread,
Feb 27, 2020, 6:33:25 PM2/27/20
to gama-p...@googlegroups.com
Hi
Sorry it need to be updated. Yes they are in travis folder.
Did you install maven and config the environment path for it in powershell? If yes, at root folder gama, type in: bash travis/build.sh will do the job.
Cheers.


--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gama-platform/491acf44-749f-4eca-a7a9-e05fe33d58a3%40googlegroups.com.

James Humann

unread,
Feb 28, 2020, 3:42:15 PM2/28/20
to GAMA
Thank you, I think I'm getting closer but still not quite there. I've installed Maven and (I think) configured it in the path correctly. But I've tried two attempts at this and get different results:

In PowerShell in the gama folder, if I type "bash travis/build.sh" I get a "The JAVA_HOME environment variable is not defined correctly" error. Googling this, it appears to be a common error when installing Maven, but none of the suggested fixes worked for me. I was updating the JAVA_HOME and PATH using the Windows GUI. Do you think I should do it through PowerShell? Do you know the commands?

If I try it without the bash, so "travis/build.sh" I do get a popup that appears to be building the files. I'll attach a picture. When it's over though, I look in the ummisco.gama.product folder and don't see any "target" folder which is supposed to contain the built files.

build.PNG

Any other advice on how to proceed?


On Thursday, February 27, 2020 at 3:33:25 PM UTC-8, Huynh Quang Nghi 002628 wrote:
Hi
Sorry it need to be updated. Yes they are in travis folder.
Did you install maven and config the environment path for it in powershell? If yes, at root folder gama, type in: bash travis/build.sh will do the job.
Cheers.


On Fri, Feb 28, 2020, 06:30 James Humann <jamesd...@gmail.com> wrote:
I'm trying to follow the instructions from:

It directs me to a "build.sh" shell script in the root of the GAMA git repository. But I do not find one there. I find a build.sh and many other .sh files in a folder called "travis". The file structure is git > gama > travis. I tried to run this and never was able to generate anything. I got a few error messages from Windows PowerShell.

Can anyone help me with the proper way to create a release on Windows? I have a custom extension I wrote in the developer version that would ideally be packaged along with it.

Thank you for all you help with this and other questions!

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-p...@googlegroups.com.

Huynh Quang Nghi 002628

unread,
Feb 28, 2020, 6:12:51 PM2/28/20
to gama-p...@googlegroups.com
Hi,
Just follow google ,  set system environment path to add to jdk bin folder and RESTART computer.
 if you get to finish all that logs, find in ummisco.gama.product again.

To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gama-platform/8f3468d2-68b5-4532-9454-a07e84d2e218%40googlegroups.com.

James Humann

unread,
Mar 10, 2020, 11:02:24 PM3/10/20
to GAMA
I don't know if this was related to the Maven issue, but wanted to post in case others are interested:

I was able to build a release of GAMA on Windows by entering "./travis/build.sh" from PowerShell, in the git/gama folder.
Reply all
Reply to author
Forward
0 new messages