免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 816 | 回复: 0
打印 上一主题 下一主题

how to develop the java project of linux [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-19 12:24 |只看该作者 |倒序浏览

I'm busy with developing a project with java in linux this month. I'll note something learned from this project. The software configuration of the project is tomcat5.5+jdk5+debian3.1+eclipse3.2+windowsXP.
    I'm coding mainly on the windows and write some shell scripts in the linux. The linux system operation is running on the virtual machine. I share the folder named WebContent in the workspace of the eclipse on windows at first. Then , I connect to the shared network folder in the linux and map it to the webapps folder of the tomcat. What's we should do is install a tool called smbfs in the linux. You just type the command 'apt-get install smbfs' to do the job.  After the smbfs tool installed, mount the shared folder to the linux. Now you can write the codes with the eclipse on windows and restart the tomcat in the linux. If you just debug the UI of the project, shutdown the tomcat of the linux and start the tomcat on the window.
    The following shell command is the way to connect to the shared folder of the windows.
    mount -t smbfs -o username=guest,password=guest //192.168.190.1/webcontent /usr/local/apache-tomcat-5.5.25/webapps


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/29515/showart_693973.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP