杭州企业网站/湖南网站建设加盟代理
概述:
在上篇文章《构建ubuntu下JXTA-C的开发环境》中我们在ubuntu下用JXTA-C源码编译出了JXTASHELL,但是JXTASHELL的命令支持不全。
这次我们构建一个完整的JXTASHELL的开发环境(附上JXTASHELL的源码及DOC文档)
1、下载jxse-shell-2.5源码包
附上我共享的资源的下载地址(http://download.csdn.net/detail/leekwen/7373783)
下载后,这个RAR中包含了三部分:
1)、jxse-shell-2.5.zip
2)、jxse-shell-doc-2.5.tar.tar
3)、jxse-shell-src-2.5.tar.tar
2、下载后,运行如下的命令即可进入完整的JXTASHELL
Linux具体步骤如下:leekwen@leekwen:~$ unzip jxse-shell-2.5.zipleekwen@leekwen:~$ cd jxse-shell-2.5/leekwen@leekwen:~/jxse-shell-2.5$ lslib shellleekwen@leekwen:~/jxse-shell-2.5$ cd shell/leekwen@leekwen:~/jxse-shell-2.5/shell$ lsjxta.exe Jxta_Readme.html run.bat runjdk.bat run.shleekwen@leekwen:~/jxse-shell-2.5/shell$ chmod a+x run.shleekwen@leekwen:~/jxse-shell-2.5/shell$ ./run.sh........====================================================<[ Welcome to the JXTA Shell ]>====================================================........JXTA> manThe following commands are available:Shell JXTA Shell command interpretercat Concatenate and display a Shell objectchpgrp Change the current peer groupclear Clear the shell's screendumpcm Dump the content of the local cache (CM)env Display environment variablesexit Exit the Shellexportfile Export enviroment variable to an external fileflush flush a jxta advertisementget Get data from a pipe messagegrep Search for matching patternsgroups Discover peer groupshelp To access help pages use the 'man' command.history No description available for this ShellAppimportfile Import an external fileinfo display info about an jxta advertisementinstjar Installs jar-files containing additional Shell commandsjoin Instantiate and join peer groupleave Resign from and optionally stop a peer grouplogging Display and optionally adjust logging levelslogin Authenticate with the group's membership service.man An on-line help command that displays information about a specific Shell commandmem Display memory informationmkadv Make an advertisement from a documentmkmsg Make a pipe messagemkpipe Create a pipemore Page through a Shell object or from standard input.newmoduleclass Create a new Module Class advertismentnewmodulespec Create a new Module Class advertismentnewpgrp Create a new peer group advertisementnewpipe Create a new pipe advertismentpeerconfig Force Peer Reconfigurationpeerinfo Get information about peerspeers Discover peerspse.certs Display the certificates contained in the current group's PSE Membershippse.createkey Creates a key in the PSE key storepse.dumpcred Dumps a credential.pse.dupkey Creates a key in the PSE key storepse.erase Erases a key or certificate from the PSE key storepse.importcert Imports a trusted certificate chain.pse.keys Display the keys contained in the current group's PSE Membershippse.newcsr Generates certificate signing request document.pse.signcsr Signs a certificate signing requestpse.status Display status infomation for the group's PSE Membershippublish Publish a JXTA advertisementput Put data into a messagerdvcontrol Controls rendezvous service behaviourrdvserver No description available for this ShellApprdvstatus Display information about the rendezvous servicerecv Receive a message from a piperelaystatus Display the list of relays and clients connected to this peer.remotepublish remote publish a jxta advertisementroute Display information about a peer's route inforsh Connects to a remote JXTA Shellrshd Remote JXTA Shell Deamonsearch Discover jxta advertisementssend Send a message into a pipeset Set an environment variablesftp Send a file to another peershare Share an advertisement sleep Sleep for a specified amount of millisecondsstorehome Display the location of store hometalk Talk to another peertransports Display information about the message transports available in the current groupuninstjar Uninstalls jar-files previously installed with 'instjar'unset Removes an environment variableversion Display the version number of this Shell instance.wc Count the number of lines, words, and chars in an objectwho Display credential informationwhoami Display information about this peer or the current peergroupxfer Send a file to another peer
以后的操作,可以参见《JXTA in a Nutshell.pdf》《JXSE_ProgGuide_v2.5.pdf》这两本PDF书籍。
我已经打包到我的资源中,具体地址参见:
http://download.csdn.net/detail/leekwen/7373967