|Creating all jars for export [message #687630]
||Wed, 22 June 2011 17:48
| Roy Epperson
Registered: April 2011
Location: Santa Barbara, Ca
Is there an plugin, ant script, or ?? to create and export jars for |
Eclipse/Java? I have a workspace containing numerous "library" projects
and application projects which I just imported into Eclipse.
I would like to select an application project and export it and all the
jars in the workspace it uses at the same time.
For there, I can either distribute them as a group or used Proguard to
compact the jar(s). In my previous environment, Proguard reduced the
total application size by 50% or better.
I could always develop a plugin but would prefer not.
|Re: Creating all jars for export [message #689332 is a reply to message #689156]
||Mon, 27 June 2011 08:46
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 26-Jun-11 19:27, Roy Epperson wrote:|
> On 6/22/2011 6:55 PM, Russell Bateman wrote:
>> Are you willing to write your own ant script? If so, you might peruse
>> this document to get started. It also contains an ant target that jars
>> up classes out of the project.
> Thanks for your pointer to your discussion of Ant and Eclipse. It's a
> great starting point. I've written a build system using Ant for my old
> environment before I moved to Eclipse/Java.
> What are you using for version control?
I've used myriad tools over my career, but with Eclipse, I've used
mostly Subversion. There are a couple of articles on my Java Hot
Chocolate site on Subversion and Subclipse. I've used both Subclipse and
Subversive. In my opinion, Subversive was broken a couple of years ago
and I've had more luck with Subclipse since. I like Subversion mostly
because I've used it so much.
I've also used Perforce at work and currectly also use Git there on a
new project. I do not advise using plug-ins for the latter two.
Perforce requires Mylyn which dramatically slows Eclipse launch
times--in my case on an HP 8540cw running Maverick Meerkat with 8Gb of
memory, it takes 40+ seconds as compared to 8 when I remove it.
Git isn't mature enough. Some colleagues have incurred actual lost data
attempting to run Git-Eclipse integration. There is a rough-draft
article on Git at my site.
I use Perforce and Git outside of Eclipse which isn't a big deal to me
as I'm an ancient Unix command-line guy anyway.
Powered by FUDForum
. Page generated in 0.13851 seconds