I'm having some problems getting the Genero Studio configuration working with the remote FGL setup.
I setup a remote aix server, mounted the remote file system on a local drive and setup the remote Informix database access.
Problem is that, when I create a new local project and try to get the schema from the informix database I get an error on a temporary file access.
Studio seems to be mixing the remote paths with the local paths while writing the 4db.tmp file.
The error is reported like this:
Schema extraction started...
ERROR: Cannot open file "/home/jcv/C:/Users/jcv.ADX/Documents/My Genero Files/leasePerm/database/scg.4db.tmp" for writing
Schema extraction failed.
/home/jcv is my remote aix server home
C:/Users/jcv.ADX/Documents/My Genero Files/leasePerm/database/scg.4db.tmp is my local windows pc project workspace path
I've dwindled around the enviroment but I'm still no sure why Studio is mixing these two paths.
Here's the current Studio enviroment dump:
*** Environment variables for 'Databases': ***
_=/usr/informix/gnrdev2/gst/lib/gsserver-bin
MANPATH=/usr/vacpp/man/en_US:/opt/freeware/man:/usr/IBM/HTTPServer/man
TCL_LIBRARY=/usr/informix/gnrdev2/gst/lib/tcl8.5
LANG=en_US
TCLLIBPATH=/usr/informix/gnrdev2/gst/lib
LOGIN=jcv
SHLIB_PATH=/usr/informix/gnrdev2/gst/lib:/usr/informix/gnrdev2/gst/lib/qt
DYLD_LIBRARY_PATH=/usr/informix/gnrdev2/gst/lib:/usr/informix/gnrdev2/gst/lib/qt:
CLCMD_PASSTHRU=1
PATH=/usr/informix/gnr-devstudio-3.00.22-fjs/gst/resources/desktop/xdg-utils/scripts:/usr/informix/gnrdev2/gas/bin:/usr/informix/gnrdev2/fgl/bin:/usr/informix/gnrdev2/fgl/lib:/usr/informix/gnrdev2/gst/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/vacpp/bin:/usr/java6/jre/bin:/usr/java6/bin:/opt/freeware/bin
ENV_DEV=devaix1
LC__FASTMSG=true
LOGNAME=jcv
MAIL=/var/spool/mail/jcv
LOCPATH=/usr/lib/nls/loc
USER=jcv
AUTHSTATE=compat
SHLVL=1
GSTDIR=/usr/informix/gnr-devstudio-3.00.22-fjs/gst
SHELL=/usr/bin/bash
ODMDIR=/etc/objrepos
HOME=/home/jcv
SSH_CONNECTION=10.10.21.70 56107 10.90.4.144 22
SSH_CLIENT=10.10.21.70 56107 22
PWD=/home/jcv
TZ=Europe/Lisbon
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
LIBPATH=/usr/informix/ifx-11.50fc9w3//lib:/usr/informix/ifx-11.50fc9w3//lib/esql:/usr/informix/ifx-11.50fc9w3//lib/tools:/usr/informix/ifx-11.50fc9w3//lib/cli:/usr/informix/gnrdev2/fgl/lib:/usr/informix/gnrdev2/gst/lib:/usr/informix/gnrdev2/gst/lib/qt:
LD_LIBRARY_PATH=/usr/informix/gnrdev2/gst/lib:/usr/informix/gnrdev2/gst/lib/qt
GSTUSERDIR=/home/jcv/.FourJs/Genero Studio 3.00.22-149173
GSTUSERSAMPLESDIR=/home/jcv/genero-files/samples
FGLDIR=/usr/informix/gnrdev2/fgl
FGLLDPATH=C:/Users/jcv.ADX/Documents/My Genero Files/leasePerm/database:C:/Users/jcv.ADX/AppData/Local/Temp/bin:/usr/informix/gnrdev2/gre/lib:/usr/informix/gnr-devstudio-3.00.22-fjs/gst/bin/src/studio/lib/bin::/home/jcv/.FourJs/Genero Studio 3.00.22-149173/tools/FGL 3.00.04
FGLRESOURCEPATH=C:/Users/jcv.ADX/Documents/My Genero Files/leasePerm/database:/home/jcv/.FourJs/Genero Studio 3.00.22-149173/tools/FGL 3.00.04
FGLASDIR=/usr/informix/gnrdev2/gas
FGLASURL=http://localhost:6394/
INFORMIXSERVER=adx_dev_tcp
INFORMIXDIR=/usr/informix/ifx-11.50fc9w3/
INFORMIXSQLHOSTS=/usr/informix/etc/sqlhosts.adx
GSTLIBRARYDIR=/usr/informix/gnr-devstudio-3.00.22-fjs/gst/bin/src/studio/lib
GREDIR=/usr/informix/gnrdev2/gre
FGLSOURCEPATH=C:/Users/jcv.ADX/Documents/My Genero Files/leasePerm/database:/usr/informix/gnrdev2/gre/src/api:
FGLDBPATH=C:/Users/jcv.ADX/Documents/My Genero Files/leasePerm/database:
*** Local node variables for 'scg.4db': ***
BAFilePath=
BinaryName=Databases
BuildInputFileDirs={C:\Users\jcv.ADX\Documents\My Genero Files\leasePerm\database}
BuildInputFileNames={scg.4db}
BuildInputFilePaths={C:\Users\jcv.ADX\Documents\My Genero Files\leasePerm\database\scg.4db}
BuildOutputBaseNames={scg}
BuildOutputFileNames={scg.sch}
BuildOutputFilePaths={C:\Users\jcv.ADX\Documents\My Genero Files\leasePerm\database\scg.sch}
CompilerOptions=
Implicit=
InputBaseName=scg
InputDir=C:\Users\jcv.ADX\Documents\My Genero Files\leasePerm\database
InputExtension=4db
InputMimeType=application\genero-4db
InputName=scg.4db
InputPath=C:\Users\jcv.ADX\Documents\My Genero Files\leasePerm\database\scg.4db
Language=Genero
LinkerOptions=
PackageName=Databases
ProjectDir=C:\Users\jcv.ADX\AppData\Local\Temp
RelativeDir=
SourceDir=
SourcePaths=
TargetDir=C:\Users\jcv.ADX\AppData\Local\Temp\bin
TargetPaths=
TemplateDir=\
XCFFilePath=
Any help pointing me the right way is appreciated!
Thanks in advance!
Thank you Li-Yu, that was it.
I was opening a new project on my local workstation.
I had to open a new project on the mounted network drive and change the network drive definition on the studio do reflect the path it points to.