由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Is there Eclipse java archive builder plug-in?
相关主题
COOL JAVA IDE没法用Re: netbeans 4.0 is very good
Eclipse vs. Jbuilder X ?Java IDE 选择?
netbean and eclipseRecommend Java IDE
CookSwing and CookXml新人请教java学习的问题
Strongly recommend Eclipsewhat's the most popular Java IDE
eclipse 也不怎么样吗?请问用什么java developer? 在哪里下载?
eclipse 气死我了!FT. JBuilder9出来了?
调查:最好的Java IDESun公司最近有啥突飞猛进不?
相关话题的讨论汇总
话题: jar话题: eclipse话题: ant话题: archive话题: files
进入Java版参与讨论
1 (共1页)
g*****g
发帖数: 34805
1
Is there such plug-in avaiable with which I have a GUI to add/delete files
in jar files and rebuild when I need a jar package? Like archive builder in
Jbuilder?
Or I have to manually edit an ANT file?
m******t
发帖数: 2416
2

This was discussed here a while ago, at the price of me being scorned
"don't know what a jar file is". ;-) At any rate, looks like you can
right click on a directory in Eclipse, choose "Export...", then
"Jar file", and follow the wizard from there.

【在 g*****g 的大作中提到】
: Is there such plug-in avaiable with which I have a GUI to add/delete files
: in jar files and rebuild when I need a jar package? Like archive builder in
: Jbuilder?
: Or I have to manually edit an ANT file?

g*****g
发帖数: 34805
3
That's not gonna work for me. I have 15 java applet games which share
some classes. I want to minimize download size for each individual game so
I am picking files from directory rather than an all in one directory.
Now I don't want to manually pick files for each of the game every time
I want to do a packaging. As it could be frequent. I don't think that
export option and operation can be saved in Eclipse, correct me if I am wrong.

【在 m******t 的大作中提到】
:
: This was discussed here a while ago, at the price of me being scorned
: "don't know what a jar file is". ;-) At any rate, looks like you can
: right click on a directory in Eclipse, choose "Export...", then
: "Jar file", and follow the wizard from there.

c*****t
发帖数: 1879
4
ant is your friend.

wrong.

【在 g*****g 的大作中提到】
: That's not gonna work for me. I have 15 java applet games which share
: some classes. I want to minimize download size for each individual game so
: I am picking files from directory rather than an all in one directory.
: Now I don't want to manually pick files for each of the game every time
: I want to do a packaging. As it could be frequent. I don't think that
: export option and operation can be saved in Eclipse, correct me if I am wrong.

g*****g
发帖数: 34805
5
I know ant does the job, but obviously archive builder in jbuilder makes
life easier. I just want to know if there's any plugin similar for
Eclipse. If not, maybe it's time for me to learn launch a plugin project.
Ant is for more complicated stuff, compiling, input params etc.

【在 c*****t 的大作中提到】
: ant is your friend.
:
: wrong.

c*****t
发帖数: 1879
6
easy with ant ah. I don't see why you need stuff other than ant. :P






【在 g*****g 的大作中提到】
: I know ant does the job, but obviously archive builder in jbuilder makes
: life easier. I just want to know if there's any plugin similar for
: Eclipse. If not, maybe it's time for me to learn launch a plugin project.
: Ant is for more complicated stuff, compiling, input params etc.

m******t
发帖数: 2416
7

/>
One step further would be to externalize the actual file list
using 'includesfile', so you don't have to keep messing with
the ant script itself.

【在 c*****t 的大作中提到】
: easy with ant ah. I don't see why you need stuff other than ant. :P
:
:
:
:
:
:
g*****g
发帖数: 34805
8
I still don't like the idea though, since I am picking files, not directory,
and with around 50 files (code, sound, image) for each package,
manually typing those paths can be tedious and buggy. Pick with a GUI will
be much nicer.

【在 m******t 的大作中提到】
:
: />
: One step further would be to externalize the actual file list
: using 'includesfile', so you don't have to keep messing with
: the ant script itself.

m******t
发帖数: 2416
9

Does this work for you? It seems to support saving settings.
http://www.eclipse-plugins.info/eclipse/plugin_details.jsp?id=767
Also dig around more on that site. I saw a bunch of plugins related
to jars.

【在 g*****g 的大作中提到】
: I still don't like the idea though, since I am picking files, not directory,
: and with around 50 files (code, sound, image) for each package,
: manually typing those paths can be tedious and buggy. Pick with a GUI will
: be much nicer.

g*****g
发帖数: 34805
10
Unfortunately no, fat jar is a testing minded solution.
You give a main class name, it puts all the needed files for you,
including all the lib, in one package.

【在 m******t 的大作中提到】
:
: Does this work for you? It seems to support saving settings.
: http://www.eclipse-plugins.info/eclipse/plugin_details.jsp?id=767
: Also dig around more on that site. I saw a bunch of plugins related
: to jars.

1 (共1页)
进入Java版参与讨论
相关主题
Sun公司最近有啥突飞猛进不?Strongly recommend Eclipse
GUI 画匡的那个叫什么?eclipse 也不怎么样吗?
which IDE for GUI ?eclipse 气死我了!
Java GUI 有很强的Package么调查:最好的Java IDE
COOL JAVA IDE没法用Re: netbeans 4.0 is very good
Eclipse vs. Jbuilder X ?Java IDE 选择?
netbean and eclipseRecommend Java IDE
CookSwing and CookXml新人请教java学习的问题
相关话题的讨论汇总
话题: jar话题: eclipse话题: ant话题: archive话题: files