Topic: 谁可以告诉怎样打包文件!

  Print this page

1.谁可以告诉怎样打包文件! Copy to clipboard
Posted by: duxing
Posted on: 2006-04-27 19:59

我用的是JBuilder2006,谁知道怎么打包呢?
还用在我的JBuilder2006界面中,菜单项怎么没有压缩打包这一菜单呢?

2.Re:谁可以告诉怎样打包文件! [Re: duxing] Copy to clipboard
Posted by: JavaandC
Posted on: 2006-04-28 12:31

用Jar命令打包吧。

3.Re:谁可以告诉怎样打包文件! [Re: duxing] Copy to clipboard
Posted by: duxing
Posted on: 2006-04-28 16:08

请问如何用呢?
请大虾指导!

4.Re:谁可以告诉怎样打包文件! [Re: duxing] Copy to clipboard
Posted by: JavaandC
Posted on: 2006-04-28 16:15

Jar -cvf name.jar name.class (可以灵活运用这个命令)

5.Re:谁可以告诉怎样打包文件! [Re: JavaandC] Copy to clipboard
Posted by: huangdaihu
Posted on: 2006-04-28 19:54

Jar -cvf name.jar name.class
要将多个.class打包么样搞呢?

6.Re:谁可以告诉怎样打包文件! [Re: duxing] Copy to clipboard
Posted by: JavaandC
Posted on: 2006-04-28 19:58

你可以把所有的class放入到一个文件夹下面,然后执行:

jar -cvf name.jar namefile/*.class

就可以了。

7.Re:谁可以告诉怎样打包文件! [Re: duxing] Copy to clipboard
Posted by: huangdaihu
Posted on: 2006-04-28 20:22

好感谢JavaandC这位兄台

8.Re:谁可以告诉怎样打包文件! [Re: duxing] Copy to clipboard
Posted by: vicious
Posted on: 2006-04-28 21:20

好好学习ant,ant打包功能很强

9.Re:谁可以告诉怎样打包文件! [Re: duxing] Copy to clipboard
Posted by: lhawk
Posted on: 2006-04-29 11:07

又学了一点知识,谢谢

10.Re:谁可以告诉怎样打包文件! [Re: duxing] Copy to clipboard
Posted by: sunjavaduke
Posted on: 2006-04-29 13:28

用JAR打包很方便,但是一旦要打一个项目的包,最好还是用工具的

11.Re:谁可以告诉怎样打包文件! [Re: duxing] Copy to clipboard
Posted by: aquan
Posted on: 2006-04-29 13:39

是是


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923