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.
|