...
FTP the java files you created on AFS, to your VMS development directory. You can execute the ftp command from unix or from VMS (in which case ftp to ftp.slac.stanford.edu). Here we have doen the ftp from unix. Eg:
Code Block |
---|
$> ftpsftp mccmccdev ConnectedConnecting to mcc-lavcmccdev.slac.stanford.edu. 220 mcc.slac.stanford.edu MultiNet FTP Server Process V4.4(16) at Fri 18-Aug-2006 4:11PM-PDT Name (mcc:xxx): 331 User name (xxx) ok. Password, please. Password: 230 User xxx logged into USER_DISK_SLC:[xxx] at Fri 18-Aug-2006 4:11PM-PDT, job 20281e16. Remote system type is VMS. ftp> cd user_disk_slc:[xxx.work. sftp> cd /data_disk_slc/slc/greg sftp> cd dev/aida/package/aida/edu/stanford/slac/aida/dp/dpslcbuffacq sftp> mput *.java NOTICE TO USERS --------------- This computer system and/or its connection to the network of the SLAC National Accelerator Laboratory and is for authorized use only. Users (authorized or unauthorized) have no explicit or implicit expectation of privacy. Any or all uses of this system or network and all stored or transmitted files may be intercepted, monitored, recorded, copied, audited, inspected, and disclosed to authorized site, government, and law enforcement personnel. By using this system or network, the user consents to such interception, monitoring, recording, copying, auditing, inspection, and disclosure at the discretion of authorized personnel. Unauthorized or improper use of this system may result in administrative disciplinary action and civil and criminal penalties. By continuing to use this system you indicate your awareness of and consent to these terms and conditions of use. LOG OFF IMMEDIATELY if you do not agree to the conditions stated in this warning. sftp> cd data_disk_slc:[slc.greg.dev.aida.package.aida.edu.stanford.slac.aida.dp.dpslcbpmdpslcbuffacq] 250 Connected to USERCouldn't stat remote file: No such file or directory sftp> cd DATA_DISK_SLC:[xxx.WORKSLC.GREG.DEV.AIDA.PACKAGE.AIDA.EDU.STANFORD.SLAC.AIDA.DP.DPSLCBPM]. ftp> mput *.javaDPSLCBUFFACQ] Couldn't stat remote file: No such file or directory sftp> cd /data_disk_slc Couldn't stat remote file: No such file or directory sftp> cd /data_disk_slc/slc/greg sftp> ls com dat dev lego lse lssol tmp sftp> cd dev/aida/package/aida/edu/stanford/slac/aida/dp/dpslcbuffacq sftp> ls _DPSLCBUFFACQ.H$ devlib.olb dpslcbuffacq.h dpslcbuffacq_jni_helper.c dpslcbuffacq_jni_helper.dev dpslcbuffacq_jni_helper.map dpslcbuffacq_jni_helper.opt sftp> mput *.java Uploading DpSlcBuffacqI.java to /data_disk_slc/slc/greg/dev/aida/package/aida/edu/stanford/slac/aida/dp/dpslcbufcq/DpSlcBuffacqI.java DpSlcBuffacqI.java 100% 650 0.6KB/s 00:00 Uploading DpSlcBuffacqIHelper.java to /data_disk_slc/slc/greg/dev/aida/package/aida/edu/stanford/slac/aida/dp/dpcbuffacq/DpSlcBuffacqIHelper.java DpSlcBuffacqIHelper.java 100% 3273 3.2KB/s 00:00 Uploading DpSlcBuffacqIHolder.java to /data_disk_slc/slc/greg/dev/aida/package/aida/edu/stanford/slac/aida/dp/dpcbuffacq/DpSlcBuffacqIHolder.java DpSlcBuffacqIHolder.java 100% 1062 1.0KB/s 00:00 Uploading DpSlcBuffacqIOperations.java to /data_disk_slc/slc/greg/dev/aida/package/aida/edu/stanford/slac/aida/ddpslcbuffacq/DpSlcBuffacqIOperations.java DpSlcBuffacqIOperations.java 100% 6402 6.3KB/s 00:00 Uploading DpSlcBuffacqIPOA.java to /data_disk_slc/slc/greg/dev/aida/package/aida/edu/stanford/slac/aida/dp/dpslcffacq/DpSlcBuffacqIPOA.java DpSlcBuffacqIPOA.java 100% 23KB 23.4KB/s 00:00 Uploading _DpSlcBuffacqIStub.java to /data_disk_slc/slc/greg/dev/aida/package/aida/edu/stanford/slac/aida/dp/dpsbuffacq/_DpSlcBuffacqIStub.java _DpSlcBuffacqIStub.java 100% 53KB 53.5KB/s 00:00 sftp> |
Purloin a *server.java file from one of the existing VMS data providers (eg ref_aidashr:dpslcmodelserver.java). Copy it to your working directory and modify it. Also copy an existing *_impl.java file as a starting off point for your new server.
...
Code Block |
---|
define myjava$classpath [------] |
...
Compile your java code:
Code Block |
---|
javac -g *.java |
...