Solved

deploy java build package in eclipse

Posted on 2010-08-24
4
460 Views
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.

Thanks.
0
Comment
Question by:kblackwel
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 125 total points
ID: 33516286
You can export the project to Ant and then edit the build file
0
 
LVL 1

Expert Comment

by:joop_eggen
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.

0
 
LVL 5

Expert Comment

by:vks_vicky
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.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 33696457
:-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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 covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

939 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now