Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Studio config to compile on remote server  (Read 10082 times)
Carlos L.
Posts: 20


« on: March 11, 2016, 10:56:42 am »

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:
Code
  1. Schema extraction started...
  2. ERROR: Cannot open file "/home/jcv/C:/Users/jcv.ADX/Documents/My Genero Files/leasePerm/database/scg.4db.tmp" for writing
  3. 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:
Code:
*** 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!
Li-Yu H.
Four Js
Posts: 3


« Reply #1 on: March 11, 2016, 05:49:30 pm »

Carlos,

From information you provided,  there is  ProjectDir=C:\Users\jcv.ADX\AppData\Local\Temp which looks like you are trying to access the project located on your workstation instead of remote server.  You would need to open a project locates on the remote server mount drive.  Hope this helps.

Thanks,
Lily
Carlos L.
Posts: 20


« Reply #2 on: March 14, 2016, 04:41:53 pm »

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.

Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines