|
Re: Creating all jars for export [message #687677 is a reply to message #687630] |
Thu, 23 June 2011 01:55 |
|
On 2011.06.22 15:48, Roy Epperson wrote:
> 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.
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.
http://www.javahotchocolate.com/tutorials/apache-ant.html
|
|
|
|
|
Re: Creating all jars for export [message #689332 is a reply to message #689156] |
Mon, 27 June 2011 12:46 |
|
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.
>>
>> http://www.javahotchocolate.com/tutorials/apache-ant.html
> Russel,
> 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?
>
> Roy
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.03285 seconds