Redian新闻
>
Is there Eclipse java archive builder plug-in?
avatar
Is there Eclipse java archive builder plug-in?# Java - 爪哇娇娃
g*g
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?
avatar
m*t
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?

avatar
g*g
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.

avatar
c*t
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.

avatar
g*g
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.

avatar
c*t
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.

avatar
m*t
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
:
:
:
:
:
:
avatar
g*g
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.

avatar
m*t
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.

avatar
g*g
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.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。