Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero Studio
>
Merging environment sets
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Merging environment sets (Read 13350 times)
Scott N.
Posts: 12
Merging environment sets
«
on:
August 21, 2008, 07:48:04 am »
Is it possible to merge environment sets under the configuration for Genero Installations, i.e.
If I have under Genero Configuration Management a list of environment sets like
- Informix 10UC5
- Informix 11.5
- genero-2.10.01
- genero-2.11.05
where in the Informix 11.5 I have defined:
DBCENTURY=C
DBDATE=DMY4/
INFORMIXDIR=/opt/IBM/informix
INFORMIXSERVER=ol_alpha
LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:$LD_LIBRARY_PATH
PATH=$INFORMIXDIR/bin:$PATH
and under genero-2.11.05 I have
FGLRUN=fglrun
FGLDIR=/home/work/genero/genero-2.11.05
FGLPROFILE=$FGLDIR/etc/fglprofile
LD_LIBRARY_PATH=$FGLDIR/lib:$LD_LIBRARY_PATH
PATH=$FGLDIR/bin:$PATH
Should I be able to select these two environments under the Compiler/Runtime environment sets and have a working environment from the merging of two? My tests so far seem to indicate that this is not possible as it seems the $FGLDIR etc. is not expanded.
If I'm correct in my assumptions is there any chance this can be added? It would also be nice to be able to order the environment variables in the environment variable sets editor, not just add, delete or edit them.
Thanks
--
Regards
Scott Newton
Romain W.
Posts: 48
Re: Merging environment sets
«
Reply #1 on:
September 23, 2008, 11:18:08 am »
Hi Scott,
Sure you can merge, but there's a specific syntax on setting environment variables in Genero Studio Configuration, especially when using existing (already set) environment variables:
- Separators between paths must be semicolons (;)
- Existing environment variables must be defined in the following way: $(ENV_VAR)
Thus, in your case, you have to change your settings in the configuration:
For 'Informix 11.5':
DBCENTURY=C
DBDATE=DMY4/
INFORMIXDIR=/opt/IBM/informix
INFORMIXSERVER=ol_alpha
LD_LIBRARY_PATH=$(INFORMIXDIR)/lib;$(INFORMIXDIR)/lib/esql;$(LD_LIBRARY_PATH)
PATH=$(INFORMIXDIR)/bin;$(PATH)
For 'genero-2.11.05':
FGLRUN=fglrun
FGLDIR=/home/work/genero/genero-2.11.05
FGLPROFILE=$(FGLDIR)/etc/fglprofile
LD_LIBRARY_PATH=$(FGLDIR)/lib;$(LD_LIBRARY_PATH)
PATH=$(FGLDIR)/bin;$(PATH)
The purpose of this specific syntax is to have a global way for setting environment variables in Genero Studio for all plateforms (Windows and Linux). This becomes really useful if you set your environment variables on a project level, making the project more portable.
Thanks
Romain
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...