Tag Archives: corrupt_file

Fixing Binary File Corruption from Ant Copies

So there I was, poking around in some java / j2ee code, trying to learn how it all works. I did some testing on a Linux server and realized, something is broken. It seemed something was corrupting ALL the Jar files in WEB-INF/lib/.

A co-worker guessed that the token filtering Ant was doing might be the culprit. He was right. It seems Ant has issues with detecting whether files are binary or not, given that it uses a Reader class which runs the files through a character decoder. This is specifically a problem on Unix systems since they commonly use UTF8 character set, and in that case Ant hasn’t a clue if its looking at UTF8 text or binary data.

So, I used a trick suggested in the Ant docs:

Another trick is to change the LANG environment variable from something like “us.utf8” to “us”.

On the Linux box, this meant we had a default character set of en_US.UTF-8 and it needed to be en_US. In this case we already had a bash shell script that runs ant, so adding a line export LANG=en_US to that script before Ant ran solved the problem.

Reference:
http://ant.apache.org/manual/CoreTasks/copy.html#encoding

cipro dangers zithromax 500 mg viagra ohne rezept aus deutschland cialis samples overnight cialis generic tadalafil side effects of finasteride 5mg what is cialis ciprofloxacin drug class sex viagra for women free cialis escitalopram tamoxifen langzeitfolgen finasteride tablets finasteride 1mg online viagra cialis patent expiration 2017 lexapro and weight gain how to wean off lexapro without withdrawals cialis cost viagra substitute cialis 30 day sample cialis medication zovirax ointment tamoxifen side effects in women how to use viagra finasteride 5mg tab ciprofloxacin 500mg antibiotics cialis from canada utilisation viagra ciprofloxacin dosage azithromycin lexapro overdose viagra for men tamoxifen and bone pain lexapro side effects ciprofloxacin nebenwirkungen azithromycin tablet azithromycin for strep throat azithromycin three times a week finasteride 5mg tamoxifen cost canadian viagra levitra erfahrungen ciprofloxacin 500 cialis canadian pharmacy cialis sample cialis 30 day trial coupon generic viagra 100mg how does lexapro work cialis tadalafil viagra vs cialis ciprofloxacin 250 mg ciprofloxacin coverage azithromycine 250 mg cialis canada viagra wiki propecia equipe argentine viagra lexapro reviews azithromycin vs erythromycin cialis voucher viagra alternative cealis viagra coupon lexapro benefits for women acyclovir dosage ciprofloxacin 500mg tablets side effects of azithromycin lexapro withdrawal azithromycin 250 finasteride for women azithromycin 250mg cialis vs viagra levitra vs viagra zovirax for cold sores lexapro and weight loss viagra vs cialis viagra en ligne livraison 24h cipro dosage cialis on line does lexapro cause weight gain levitra online how long for azithromycin to take effect generic levitra vardenafil 20mg discount viagra azithromycine buying viagra cialis free trial ciprofloxacin 250mg cheap cialis acyclovir for shingles escitalopram 10 mg side effects of cialis effects of stopping finasteride viagra tesco ciprofloxacin hcl viagra levitra coupon cost of viagra women viagra levitra rezeptfrei deutschland azithromycin 500 effects of stopping lexapro suddenly cipro side effects in elderly female viagra free viagra cialis price cialis coupons 2017 cyalis ciprofloxacin hcl 500 mg tab lexapro bula cialis pills for sale cialis coupons viagra 100mg cialis testimonials finasteride 5mg side effects what is lexapro cipro 500 azithromycin for uti levitra 10 mg prezzo cialis 20 mg lexapro side effects in men what bacteria does ciprofloxacin kill viagra costs buy generic viagra finasteride long term effects acyclovir 800 mg for shingles how to get off lexapro acyclovir dosage for cold sores cialis dosage strengths buy levitra viagra natural ciprofloxacin hydrochloride ophthalmic viagra nebenwirkungen finasteride 5mg side effects mayo clinic cialis cheap viagra without a doctor prescription tamoxifen lawsuits azithromycin tablets cialis 20mg directions ciprofloxacin dosierung finasteride side effects viagra tablet cialis patent expiration date extended levitra 20mg finasteride hair loss what is acyclovir cialis generic viagra for sale zovirax cream zoloft vs lexapro acyclovir dosing cialis patent expiration cialis coupons from manufacturer what does viagra do cialis for bph viagra 100mg tablets retail price side effects of ciprofloxacin cialis savings card cheap viagra viagra activate viagra cost cialis for women acyclovir 400mg daily cialis azithromycin 5 day dose pack finasteride permanent side effects acyclovir viagra dosage buy levitra online cialis 5mg what is tamoxifen used for viagra canada zithromax z-pak lexapro generic name viagra sans ordonnance cipro side effects tamoxifen and foods to avoid pfizer viagra coupons from pfizer cialis cialis samples liquid cialis is ciprofloxacin a penicillin how does cialis work finasteride reviews cialis dosage recommendations what is finasteride propecia side effects lexapro dosages best price viagra what is finasteride used for levitra vs viagra for hardness what infections does ciprofloxacin treat cialis daily viagra pillen kruidvat tamoxifen and weight gain what is lexapro for escitalopram 20 mg cipro for uti generic viagra ciprofloxacin drops viagra on line no prec thuoc azithromycin azithromycin class zithromax dosage azithromycin uses cialis pills lexapro weight gain viagra price what is escitalopram viagra samples ciprofloxacin 500 mg how to take cialis cipro antibiotic what does ciprofloxacin 500mg treat lexapro vs zoloft lexapro dosage ciprofloxacin spc lexapro azithromycin for pneumonia ciprofloxacin hcl 500 mg viagra vs cialis vs levitra lexapro coupons lexapro para que sirve side effects of viagra cialis for men levitra coupons finasteride efectos secundarios what is viagra azithromycin 500 erfahrungen what is cipro used for viagra kaufen what is azithromycin for acyclovir medication viagra receptfritt tamoxifen is tamoxifen chemotherapy escitalopram oxalate how long does viagra last azithromycin dosage cialis trial lexapro generic nolvadex acyclovir 800 mg 5 times a day how does acyclovir work side effects of lexapro 10 mg buy cialis online levitra vs viagra vardenafil vs viagra viagra on line cialis 5mg daily wellbutrin and lexapro azithromycin 250 mg escitalopram side effects azithromycin 250 mg treatment viagra generic cialis vs viagra cialis coupon 20 mg cialis for daily use viagra pill how long for lexapro to work viagra cialis side effects of lexapro in women levitra 20 mg acyclovir 200mg viagra prices lexapro 10 mg azithromycin 250mg tablets 6 pack azithromycin pregnancy category zithromax finasteride and enlarged prostate what is cipro usually prescribed for cipro drug class what is ciprofloxacin prescribed for side effects of tamoxifen escitalopram nebenwirkungen side effects of acyclovir viagra uk is lexapro a controlled substance cialis 20mg viagra bestellen cipro ciprofloxacin for dogs vardenafil 20mg ciprofloxacin 500mg antibiotics side effects lexapro for anxiety cialis without a doctor’s prescription canadian cialis cialis for sale viagra alternatives zithromax antibiotic lowest cialis prices cipro and tendonitis ciprofloxacin 500mg sophia viagra is azithromycin penicillin viagra without a doctor prescription usa acyclovir 800 mg online cialis what does finasteride do finasteride effets secondaires cialis 5 mg acyclovir side effects zovirax dosage lexapro side effects in women how to wean off lexapro lexapro medication acyclovir 800mg ciprofloxacin eye drops what does ciprofloxacin treat cialas what is tamoxifen azithromycine eg 500 mg bijsluiter cialis coupon print viagra tablets ciprofloxacin dose discount cialis post finasteride syndrome viagra generico cialis generic availability lexapro and weight gain in women over the counter viagra azithromycin cost azithromycin without a doctor’s prescription levitra generic buy cialis herbal viagra what is azithromycin used for erectile dysfunction cialis cialis reviews how does viagra work acyclovir for cold sores finasteride dosage tamoxifen interaction zovirax pills 9 levitra at walmart wholesale cialis what is cipro cialis professional cialis discount what is acyclovir used for side effects of azithromycin 250 mg how much does cialis cost cipro uses viagra medicine celexa vs lexapro finasteride 200 cialis coupon viagra vs cialis vs levitra acyclovir 400 mg viagra sex revatio vs viagra ciprofloxacin bnf viagra 100 cialis website tamoxifen side effects in women over 55 azithromycin 500 mg zovirax azithromycin side effects withdrawal from lexapro canada viagra viagra coupons cialis effects generic for cialis ciprofloxacin side effects in women tamoxifen bijwerkingen acyclovir vs valacyclovir cialis prices antibiotic ciprofloxacin lexapro dosing canada cialis levitra prezzo in farmacia acyclovir ointment azithromycin 500mg side effects of lexapro escitalopram 10 mg para que sirve finasteride vs dutasteride cialis coupon side effects of ciprofloxacin 500 mg ciprofloxacin hcl 500 mg side effects lexapro manufacturer website finasteride 5 mg ciprofloxacin side effects generic lexapro what works better than viagra what is ciprofloxacin azithromycin eye drops viagra ohne rezept auf rechnung viagra effects viagra 100 mg escitalopram 10mg azithromycin pregnancy cialis otc finasteride medication what is ciprofloxacin used for cialis copay card levitra 20 mg von bayer order viagra cilias finasteride 5 mg tab azithromycin liquid ciprofloxacin class ciprofloxacin 500 mg tabletten levitra bayer 20mg meilleur prix lexapro side effects men first few days on lexapro levitra prices is azithromycin tamoxifen side effects cipro antibiotics viagra single packs lexapro 5mg lexapro vs celexa finasteride results cialis pharmacy prices side effects of finasteride lexapro withdrawal symptoms tamoxifen nebenwirkungen azithromycin pediatric dosing what does azithromycin treat generic cialis at walmart cialis alternative generic levitra ciprofloxacin side effects after age 60 common side effects of ciprofloxacin 500 mg viagra soft tamoxifen citrate natural viagra levitra 20mg cost per pill cialis online buy viagra azithromycin z pak lexapro 10mg viagra side effects cialis 10 mg viagra 50mg viamedic cialis viagra for women viagra wikipedia escitalopram effets secondaires what is lexapro used for buy generic levitra acyclovir ointment 5 price cialis what is acyclovir for levitra 20 mg precio farmacia lexapro vs wellbutrin what is azithromycin ciprofloxacin uses cialis or viagra cost of cialis side effects lexapro acyclovir dose stopping lexapro viagra from canada pfizer viagra azithromycin drug class levitra without a doctor prescription cialis coupons printable buy viagra online cialis dosage cialis pricing lexapro and wellbutrin combination therapy generic cialis finasteride side effects in men weaning off lexapro when will cialis go generic where to buy viagra cheap levitra viagra for sale uk ciprofloxacin ophthalmic solution viagra online cialis side effects finasteride for hair loss levitra 20 mg cost walmart ciprofloxacin hydrochloride ciprofloxacin acyclovir cream levitra azithromycin coverage tamoxifen therapy ciprofloxacin used for azithromycin medscape generic cialis tadalafil levitra dosage azithromycin and alcohol viagra pills generic for lexapro lexapro 20mg ciprofloxacin 500 mg for urinary tract infection