i have some JARs and WARs and i need to package them in one single EAR , now i know there are diffrent ways to do that but the one i am interested in is the packager tool that you can find under JDK\bin . but each time i use i get a screen that looks like paint and nothing happens , also no EAR is created :
c:\dep > packager -enterpriseArchive AasWeb.war:binxml.jar:application.xml anas anas.ear
Hmm, packager[.exe] appeared in 1.4.2 (I see it in 1.4.2_11, but not in 1.4.1_05 or 1.3.1_12), and then was renamed to pack200[.exe] in 1.5 and retains that name in 1.6. I have never noticed it before and never used it - Ant's jar task, or the corresponding Maven functionality, was always good enough. I guess ya learn something new every day!
According to the docs, this was originally a script, but apparently they converted it to make it write-once/run-anywhere.
I found it under its new name.
It's OK if all you need to do is bundle stuff up quick-and-dirty. However, most production builds these days require a lot more work than that, which is why Ant and Maven are so popular. I gave up on building projects using home-grown scripts somewhere back around 2002.