deploy java build package in eclipse

Posted on 2010-08-24
Medium Priority
Last Modified: 2013-12-29
in the past, I've built java packages before. Just needed to grab the jar file.

Now though, I've rebuilt this whole project.

What I need to know is is there a tool that grabs all the jar  and config files and put it into an installer.

This is the first time I've done this and have no idea where to start.

Question by:kblackwel
  • 2
LVL 86

Accepted Solution

CEHJ earned 500 total points
ID: 33516286
You can export the project to Ant and then edit the build file

Expert Comment

ID: 33566126
maven is a build tool, that manages versioned library dependencies. You would end up with a local repository ~/.m2 where in a directory tree your locally build jars are saved. A project hierarchy with a super project, or an assembly project (zipping all for instance) is possible too.
Unfortunately for existing projects you would have some restructuring work.

ant would be my choice too, to do it yourself.


Expert Comment

ID: 33584740
Do you know all the dependent jar that you require?

If you know that then an ant script would do the best, but if you don't know that dependencies, then you would need to find that first and the then proceed.

I'm not aware of a plugin that would help you get them in a command line, but and eclipse plugin Byecycle (http://byecycle.sourceforge.net/), is a dependency viewer, may be you can use it from the command line and try. I have not don't such a think, but have used it to identify the dependencies and download the jars.
LVL 86

Expert Comment

ID: 33696457

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question