l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Dec 17 19:46

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] How do i refer my system with IP and make sure that its accessible from windows(server is running there)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] How do i refer my system with IP and make sure that its accessible from windows(server is running there)

    I am running a shell program which after setting some variables
with values invokes a java program and pass it some parameters.
Few of the parameters requires Input/Output file location.  Which
can be in the same system or a different Linux machine.
I am pasting the shell file I wrote(which ofcourse doesn't work)
Unix Shell file
# to server)
# (is this machine)
javac -d . com/enigma/client/*.java
javac -d . com/enigma/common/*.java
export Host=
export Port=8080
export InputFile=//
export OutputPath=//
export programName=Daniel_rajesh
export logoPath=//
export userType=IPC
export userRev=2
java -DHost=$Host -DPort=$Port com.enigma.client.PETClient -input $InputFile -type $userType -rev $userRev -out $OutputPath -param _3C_BookName $programName -param _3C_UserDef1 $logoPath
The above shell file is the replacement for the below DOS batch file(which works)
Dos Batch file

javac -d .\ .\com\enigma\client\*.java
javac -d .\ .\com\enigma\common\*.java
set Host=
set Port=8080
set InputFile=\\\Enigma\input\xml\Chapter30sample.xml
set OutputPath=\\\outputXML\
set programName=Daniel_rajesh
set logoPath=\\\Enigma\input\images\Goodrichlogo.gif
set userType=IPC
set userRev=2
java -DHost=%Host% -DPort=%Port% com.enigma.client.PETClient -input %InputFile% -type %userType% -rev %userRev% -out %OutputPath% -param _3C_BookName %programName% -param _3C_UserDef1 %logoPath%
Any solutions hints would be of great help.
Have a great day.
Karthikeyan B

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!