domingo, 17 de marzo de 2013

Make a single .jar from many

What if  some project require several Java .jar files and for some reason you want to work with a single .jar with all of them inside? Or what if want to distribute your library, that requires several .jar to work, in a single .jar so it is less painful to new users? If you have permission on the other jars this is not a problem at all. The following is a sh script that uses the unzip tool:


rm -rf jartmp
mkdir jartmp
cd jartmp
unzip -u ../path/to/someJarA.jar
unzip -u ../path/toother.jar
unzip -u ../ahother/one.jar
zip -r myLibrary-alldeps.jar *
cd ..
rm -rf jartmp

The previous script will generate a myLibrary-alldeps.jar that contains the three previousgiven .jars files, all inside. This way the user of your library do not have to download your library's dependencies. Hope this serves somebody.

35 comentarios:

Anónimo dijo...

If you are trying to get more exposure for your website you really should take a serious look at PPC advertising It has proven over the last couple of years to be one of the most effective marketing tools in the business It has been estimated that millions of dollars are paid out per year for PPC advertising, proving that it really has a place in online advertising PPC advertising works because people respond to itWhether you are into PPC advertising to make money or you need exposure for your website you will find this type of marketing very lucrative Making Direct Calls - Without even stepping out of the house, customers are able to get in touch with the shops they want to shop from Due to the phone numbers in the listing, they can directly make a call By this, they can sometimes get the items delivered to their homes directly Some businesses are catering to the customers by providing home services Such services can be availed easily by people by doing a search in the listings of classifieds.
The second one set up is the Section 529 College Savings Plans You can lock in the college cost at today's rate Let's say college cost is $13,000 annually Well if the baby is new born you can save $10,00000 every year at the $13,000 tuition rate even if the college cost when the baby is ready to go to college has gone up to $50,000 3 Some managers and companies simply do not have realistic expectations for the output of their employees and it is your job to gauge whether or not you can meet their expectations Failure to do so can quickly make employment at the company less than desirable2 Do You Want to Work at a Larger or Smaller FirmThere are benefits and drawbacks to working at big companies as opposed to smaller, start-up organizations Preference varies per person, but here are some quick points to consider:- Larger firms usually have more stability as a company.

Anónimo dijo...

Don't think that signals can take the place of trader education: they are advice, and if you don't have the knowledge to analyze the advice, you should go back to the books before using a signal serviceComing to the automated forex trading system software that generate the trading signals and place orders automatically, they are more handy Generally the tools that are provided by forex brokers, they will be restricted to only particular currencies, but that would not be the case with the automated forex trading system software These automated forex trading software systems will be available in the internet market and that too for a low and affordable price There is no need for you to pay every month for these tools; its just a one time purchase Before the game, Alpha has to decide who is starting, who isnt, and whats going on Alpha then gives this information (by whatever means the fantasy football league has) to the commissioner This information must be set in stone prior to the actual Sunday and Monday football games that NFL teams such as the Patriots and the Raiders playThe real AFC & NFC teams play Lets say player X is on the Eagles in real life and is a quarterback.
You can also register a mobi domain so that users (and search engines) will know that your site is fully mobile compatibleOnce you have your site established, accessing the mobile search market is now quick, easy and cost effective with both Google and Yahoo offering the ability to place PPC text ads on their mobile web search engines There are also other 3rd party mobile ad network providers such as Admob (wwwadmob Every small detail is taken into account by the project manager to reduce wastage and promote sustainability There are certain things that you need to do before you can take your business to a larger scaleOne of the most important things that you need to take care of is the sales If you can sell your products as well as services well then you can surely get into the top It is very important to get the right type of sales consultant to get your job doneThere are lots of people who are trying top establish themselves in this career.

Anónimo dijo...

99 This implies the client can almost get 3 products for the price of one, but it will surely help you save lots of cash Affordable goods doesn't corresponding to lower high quality Nike low cost shoes are quite and dependable which can be pay for by ordinary general public, mainly because these are low cost You can buy a fine top quality and preferred Nike shoe through trade outlets or even through online stores accessible through internet Marilyn ReidAyurveda safety and a healthy life is synonymous with a healthy body and a healthy lifestyle and the first thing that comes to mind is indeed, proper food consumption and eating the right kinds of food with the right kind of natural food supplements that will ensure a balanced healthThe ancient science of Ayurveda, a health system that originated from India dating back 5,000 to 10,000 years ago, is believed to be focused basically in balancing the mind, spirit and body, which is attuned with the harmony of the universe, which means that when it is within balance, the body is healthy and when in a state of disharmony, is the cause of all diseases and illnesses in the human bodyAlso regarded today as an alternative health and wellness practice, Ayurveda safety is primarily focused in the propagation of a healthy lifestule through natural means and resources like herbs and naturally –produced minerals.
*Aggravating Pop Ups Mop Up! With jack-in-the-box, jack always popped up With pop ups, you can have multiple offers Depending on the pop up software, you can have them pop up on entrance or on exit and even have them set on a time delay Plus, you can have them load on the front or behind the page And even position them to the exact spot on the page where you desire Change into dry socks, get into your dry sleeping bag On December 27, 2002 the last sawdust was swept up, the dishes were washed, the last bed was assembled and made, the bathrooms were stocked and the bar was made ready The first guest helicopter arrived at Vertebrae lodge at 3:30pm By 4:30pm, 24 admiring guests were roaming the lodge in awe A photo journal of the construction of Vertebrae Lodge can be found at: , Dale McKnight, was heard to comment, Thank goodness we never really understood at the start just how big and how difficult this project was going to be We probably would never have started.

Anónimo dijo...

Varnish Ah, the beauty of a newly varnished teak deck On the plus side: Offers real protection for the wood Wood will not dry out and split " will not absorb moisture and rot " is unaffected by dirt and pollution " will not be stained by spills The not-so-plus side: * Varnishing any wood requires thorough and painstaking sanding and preparation * The standard for a ship-shape job is 7 coats with sanding between each coat I've often done 12 to 14 to achieve desired results rep might contemplate a long salary require Importantly, it will allow you to visit the almost all critical 2nd meeting using the individual who has actual hiring expert Your next meeting is the chance to "WOW" your own possible companyThere are lots of developer footwear models readily available for ladies and it may be difficult distinguish an ideal from your greatest brands Particular developers target a variety of Christian louboutin shoes shoes very hot red and also built a new standing up, top quality and also type about that specific shoe together with They could provide you with the luxurious douture which could provide you with the distinctive service and also the highest degree about VIP.
This type of approach is pretty detailed in its choice as well as can be expensive The mobile marketing SMS on the other hand is a rather fashionable and one of the latest methods of marketing that uses man's handiest device, the cell phone so to promote or advertise a particular service or products It uses short codes assigned by mobile operators to all advertisers, and for these short codes can be collective by several small-time companies-it becomes cute cheaperMobile phone advertising has turn out to be really very popular with rise of SMS since early 2000 There are many types of mobile marketing 6Make your heading stand out Most readers will bypass an article if the heading is too boring7Once you write your article, you need to submit it to as many article directories as you Possibly can.

Anónimo dijo...

These kinds of people might get or just put on Jordans yet don't understand the really worth and so on a brandname name by doing this means Which they could possibly truly understand really a great deal with regards to Jordan together with his fantastic achievements or maybe the reason why these footwear is actually consequently essential for you to definitely people They may be directly into various other points in your lifetime apart from brand name shoes and also nicely, they have got the appropriate becomingYet provided Jesus lets us know will indication the closeness of the finish times is the fact that Jerusalem will probably be managed with the Jews Given that 400 W Chemical the town associated with Jerusalem continues to be controlled through one particular Bon superpower soon after an additional Listed here are numerous from your dates whenever Jerusalem was beneath control of causes in addition to the Jews: The All you had to remember is to let the mallet swing by itself and not to force it We practiced both offside and nearside shots The best bit was when we got to ride the polo ponies I have never ridden such well schooled horses before I could move, stop and turn the pony with only very small changes in how I was sat, where the reigns were and how I was pushing down on the stirrups.
Unlike other court cases that are heard in superior court or family court, this type of legal proceeding takes place in a court system designated specifically for these discussionsChapter 11 is used most often by businesses Court fees and other pertinent legal fees are higher In order for an individual to file, combined debts must amount to at least one-million dollars Payment arrangements may be made to pay-off portions of debts or the full amounts owed, despite the large sums of money involved Most of the other Gurus tell you how they did it, but Brian Campbell shows you through the videos It is just as if he was sitting there with you, it is easy to understand, no techy mumbo jumboOne of the strategies he uses in order to be successful on the Internet is what he calls the shotgun method It is to be in a niche market and he shows you how he finds a way to do this He advises to find a market that is big on sales.

Anónimo dijo...

You simply can not keep your head facing the pitcher and look at the baseball out of the corners of your eyes when trying to make contactHitting to All Fields:Rarely will you find a hitter with a high batting average who limits himself to hitting the ball to only one part of the field Pay attention to the old expression, hit it where it's pitched The more at bats you have without going through this painful experience again is the best cure and you should be able to get your fear under much better control Don't ever be embarrassed about having a fear of the baseball Many hitters have a fear and will not admit it So trust me, you are not alone by any meansBaseball Coaching Tips That Should Help:1 Each model is acceptable for a sure consideration and Operation It is important that before anglers buy a unique product, they must study the characteristics as this will help them know whether they will need the model or not After the fish is taken out, the draw gives to the capital settingUpdated variants of the Shimano TLD reels have come out about a year ago The 2007 Shimano Two Speed Reels are upgraded variations of the Shimano TLD, giving it better and more innovative has The graphite frames for this Shimano TLD conceptions have been established stronger Even the aluminum spool has been updated to make it more corrosion proof.
From 81, Jordan joined the University associated with New york, and the cautious guide associated with fomous couch Jones in all of educational institutions For people, their ball skills enhanced rapidlyThis makes possess charm much more Once the referee from your Uk, S africa 2010 Globe Mug Webber blew the actual whistle once the last whistle, using the great high quality nike airmax footwear Spanish fans entertaining, Adidas chief and CEO associated with long to comfort and ease the breathing: Adidas-sponsored through the The spanish language, clinch trophy earn in Philippines, placed on the pre-prepared to earn Memorial Adidas t-shirt Therefore , The organization of offers producted many top quality shoes For instance , this year Once you have that person's name you can also follow up and sell a high dollar back end productBecause you are earning as much income as you possibly can from one customer product funnels are a great way to achieve maximum affiliate payouts4 Sell affiliate products for a merchant You can sell digital information products and find them in sites such as ClickBankcomYou can also sell physical products and join affiliate programs for virtually any merchant and targeted niche that your business is in4.

Anónimo dijo...

Its lіke уou learn my mind! You appear to κnow sо much approximately this, like
you wrote the e book in it or sоmething. I believe that you ѕimply cаn do with
a fеw p.c. to poωеr the messagе house a bit, hoωeveг
other than that, this is great blog. A fantаstic rеad.
I'll certainly be back.

My weblog :: long Term pay Day loans

Anónimo dijo...

I was able to find gοod advice from уour
content.

Loοκ at my blog; long term loans with no credit check

Anónimo dijo...

Any low energy consumption appliance are able to be powered your solar panel
system.

Also visit my blog post - gsaser.com.pl

Anónimo dijo...

The performance over with a light taupe shower courtesy these Palms Pool females.


Also visit my web page imprezy integracyjne

Anónimo dijo...

Set up . process of the particular software is in addition super rapid.
Bug Reports - Little bugs can be quite a distraction suitable for
any application.

Here is my homepage; imprezy integracyjne

Anónimo dijo...

The device starts with a new content of Insane Clown Posse's songs. Really are millions tens of thousands of songs to select from each time menstruation and genre.

My website: imprezy integracyjne

Anónimo dijo...

Home energy is prepared through panels generated from special cellular matrix
called the energy.

Feel free to surf to my web blog - agencja detektywistyczna

Anónimo dijo...

Your doctors may need to be able to various types
of equipment for the do the job. Getting this done has a binary hybrid
plan which is allows you as a way to earn money 5 years different ways.


Here is my page: agencja detektywistyczna

Anónimo dijo...

Most insurance providers run an affiliate marketing program.

Are usually several benefits together with the service of the software.


My page ... agencja detektywistyczna

Anónimo dijo...

Paphos is this popular touristic area that provides holidaymaker fun as well local charm.



my weblog ... usługi ochrony lublin

Anónimo dijo...

They are important structures with hinged doors,
tiny windows, and a shingled roof. There are a host of varied rapid prototyping features.


my blog post - adwokat łódź

Anónimo dijo...

This is a significant bungalow houses are already quite
small basically a single storey in height. The rooms should be chosen in respect to
individual preferences.

My weblog - kancelaria adwokacka łódź

Anónimo dijo...

Is it Possible to watch Fox, NBC, CBS TV direct online?
The next step will be always to decide how incredibly units we is able to bet on green or black.


Also visit my weblog: adwokat łódź

Anónimo dijo...

Tenting is probably the most inexpensive way to enjoy
a Spain big adventure.

Here is my blog ... adwokat warszawa

Anónimo dijo...

Your location will settle assuming or otherwise certainly it's the right choice for you.

Review my web blog ... organizacja wczasów

Anónimo dijo...

Metropolis has population close to 6 million and it
has strong connection while having NRG's and NRI's.

my site organizacja wczasów

Anónimo dijo...

Put together sure that the particular kids knows difference between reach believe and veracity.
Start up by dividing all hair into a number of parts.


Also visit my web site - organizacja wczasów

Anónimo dijo...

And then choose the house hold that perfectly costumes with
your team. Modest bungalows rent or lease for an average of 450 time for 600 Euros weekly.


Here is my site - agencja detektywistyczna warszawa

Anónimo dijo...

Honestly talk to you are kid calmly in the role of you start
skipping their hair. My friends and i can't even recollect what Kid Ordinary opened with.

Also visit my web blog; agencja detektywistyczna

Anónimo dijo...

Aftеr looking at a number of the blog artiсles on youг web page, Ӏ truly likе
your way of blogging. I book markеԁ іt to my
bookmark sitе list and ωill bе chеckіng back soοn.
Takе a look at my web site as well and let mе know what you thіnk.



My blog pοst diamondlinks review

Anónimo dijo...

Her first major success broke in Japan while my mother was on some sort of USO tour
from Okinawa. Each day billions of infants log onto the internet.


Review my web-site ... agencja detektywistyczna

Anónimo dijo...

They've got their own culture and ideals that come across apparently in their your favourite music. It is only a question of time before the actual claims her necessary fame in In america.

Feel free to visit my website biuro detektywistyczne warszawa

Anónimo dijo...

Those same images can continually be found painted musically throughout the piece.
music is the The lord's light on entirely creatures of the item earth.

Here is my homepage detektyw warszawa

Anónimo dijo...

One mistake and also the meaning of method
phrase can get changed. Best translation agencies
would have to only use approved professionals to undertake
such work.

Check out my blog :: prywatny detektyw warszawa

Anónimo dijo...

To perform the role regarding mortgage advisor bank loan qualification is the core requisite.

Leerburg has a testing of his address to be with a
new video.

Feel free to visit my webpage :: pobierowo

Anónimo dijo...

Management careers depend at the success of folks they manage.

Carry out the role of the mortgage advisor property qualification is each video requisite.



Feel free to visit my blog post: pobierowo

Anónimo dijo...

However, the results related with free translation service
may not be completely precise. There are the majority of advantages to paying Certified
Translation Items.

Take a look at my site pobierowo

Anónimo dijo...

Basically, all metals found in nature are found as ores.
Cleaning up now are likely to make you more planning to
get started consequently spring when aspect warms up.

My blog - tanie wczasy nad morzem

Anónimo dijo...

Even a keen eye may be able to locate laid to rest covers.

Various residents have wore their homes reported unsafe to occupy in
Baltimore State.

My blog post; tanie wczasy