Link to home
Start Free TrialLog in
Avatar of kblackwel
kblackwel

asked on

deploy java build package in eclipse

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.
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of joop_eggen
joop_eggen

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.

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