JDK based Pack200 works but not Ant Pack200 Tasks
Hi,
In My project, I was earlier using JDK Toolkit based Pack200 Utility and It was working fine for me. As each time user has to set JDK Bin path (C:\Program Files\Java\jdk1.6.0_02\bin) in System variables to run batch file so I switched to Ant based tasks through (https://java-pack200-ant-task.dev.java.net/ ) for Pack200 but it does not work fine.
I came across Following Issues.
#1. I have around 60 Jar files which earlier I was Repacking / packing through Batch file with Jdk based Pack200 support and it worked fine
Repack:
pack200 repack segment-limit=-1 %(JarFileLocation)\(FileName)
Pack:
pack200 --segment-limit=-1 %(JarFileLocation)\ FileName.pack.gz %(JarFileLocation)\(FileName)
#2. Now I switched to Ant Based Pack200 tasks and used following targets. Repacking goes fine but
At time of Packing, I am getting Exception. �java.lang.SecurityException: SHA digest error�.
I experimented with adding some of Attributes like Effort=1 or 0 but it does not work.
There is no difference what I was doing earlier with Jdk based Pack200 and now with Ant based
Pack200 tasks then why I am getting Exception and how it can be eliminated?
<target name="p200">
<taskdef name="pack200"
classname="com.sun.tools.apache.ant.pack200.Pack200Task"
classpath="${library}/Pack200Task.jar"/>
<taskdef name="unpack200"
classname="com.sun.tools.apache.ant.pack200.Unpack200Task"
classpath="${library}/Pack200Task.jar"/>
</target>
Repack:
<target name="RepackFile" depends="p200">
<pack200 src="${fileId}"
destfile="${fileId}${.pack}"
repack="Yes"
segmentlimit="-1"
/>
</target>
Pack:
<target name="PackFile" depends="p200">
<pack200 src="${fileId}"
destfile="${fileId}${.pack.gz }"
gzipoutput="yes"
segmentlimit="${segmentlimit}"
/>
</target>
Hi,
In My project, I was earlier using JDK Toolkit based Pack200 Utility and It was working fine for me. As each time user has to set JDK Bin path (C:\Program Files\Java\jdk1.6.0_02\bin) in System variables to run batch file so I switched to Ant based tasks through (https://java-pack200-ant-task.dev.java.net/ ) for Pack200 but it does not work fine.
I came across Following Issues.
#1. I have around 60 Jar files which earlier I was Repacking / packing through Batch file with Jdk based Pack200 support and it worked fine
Repack:
pack200 repack segment-limit=-1 %(JarFileLocation)\(FileName)
Pack:
pack200 --segment-limit=-1 %(JarFileLocation)\ FileName.pack.gz %(JarFileLocation)\(FileName)
#2. Now I switched to Ant Based Pack200 tasks and used following targets. Repacking goes fine but
At time of Packing, I am getting Exception. �java.lang.SecurityException: SHA digest error�.
I experimented with adding some of Attributes like Effort=1 or 0 but it does not work.
There is no difference what I was doing earlier with Jdk based Pack200 and now with Ant based
Pack200 tasks then why I am getting Exception and how it can be eliminated?
<target name="p200">
<taskdef name="pack200"
classname="com.sun.tools.apache.ant.pack200.Pack200Task"
classpath="${library}/Pack200Task.jar"/>
<taskdef name="unpack200"
classname="com.sun.tools.apache.ant.pack200.Unpack200Task"
classpath="${library}/Pack200Task.jar"/>
</target>
Repack:
<target name="RepackFile" depends="p200">
<pack200 src="${fileId}"
destfile="${fileId}${.pack}"
repack="Yes"
segmentlimit="-1"
/>
</target>
Pack:
<target name="PackFile" depends="p200">
<pack200 src="${fileId}"
destfile="${fileId}${.pack.gz }"
gzipoutput="yes"
segmentlimit="${segmentlimit}"
/>
</target>
Similar Messages
-
Hi I have a Konica Minolta PagePro 1300W printer. This works with my Windows-based Toshiba laptop but not with my i-Mac. I have the latest (Mountain Lion 10.8.2) OS-X software.
I have installed the printer using 'System Preferences' on my i-Mac and it appears on the list of available printers but documents that I create just don't print.
Can someone please advise me how I get the Konica Minolta PagePro 1300W printer to work with my i-Mac?
Thanks, John LeeLooking at the Konica web site for the PagePro 1300W, I saw the following note.
Please note: This printer is designed to be used in computer operating systems running MS Windows only. Operating systems such as UNIX, Macintosh, or Linux are not supported nor do we have workaround drivers available. Older MS Windows versions, such as Windows 3.1/95/98[pre-SE] and NT 3.51/4.0, are not supported.
So KM are not going to help you. But the LinuxFoundation does provide a workaround that should allow you to print. Have a look at this web page. You will need to install all three packages as per the instructions from that page. -
Still have a problem with the drivers in Windows 8 release preview, for my HP B109 a-m all-in-one, have printer working but not scanner, is there any chance of a fix before final release of Windows 8 ?.
Review my post here:
http://h30434.www3.hp.com/t5/Windows-8-Release-Preview/SOLUTION-Get-Win-7-Printer-Drivers-HP-Solutio...
And see if something similar will work for you. -
My Mac Mini doesn't recognize my Avengers DVD--it keeps saying "Supported disc not available." I've tried other DVD's which work, but not this one. itunes and everything else has been updated to the newest versions. Help? Also...It doesn't recognize the digital copy DVD.
I have ALL the exact same symptoms as on my home computer.
It sure sounds to me like something on the iPod is broken. If it's under warranty then I would send it back for repair. If not, check out some of the web repair services, such as iPodResQ etc. -
all the links in the header of any websites are not working, the cursor is not changing into pointer and no way to click on any link located at the top of any website page. I reinstalled firefox and it s the same. No problem in others browser. the tool bar is working but not the links inside any web page located between the top 300px height.
So I can t tlog into any website, i cant write an email as the compose button is located in the top of the page.. Please help, i have all my bookmarks into my firefox...Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
or gaming youtube, while call or voice recording playing - all works fine, so speakerphone is working but not on all apps. hard reset done - no changes.
iphone 4
SOLVED plugin to charger solved it - so problem was with contacts -- no idea why - phone is new - no water - no havy dust - usual using
hope will never return. ThanksWe checked it with an iPhone 5 in house multiple times and could not reproduce this Problem. Must be something specific to your device. Maybe your speakerphone volume is turned down completely?
Follow the latest Skype Community News
↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓ -
Hi!My 6 month old MBP 13" has suddenly stop charging.Mac is working,but not charging
Troubleshooting MagSafe adapters http://support.apple.com/kb/ts1713
If you need to pursue further you can do it on-line, start here
https://selfsolve.apple.com/agreementWarrantyDynamic.do -
My iPad cannot connect to my internet. the internet is working but not with my ipad.
my iPad cannot connect to my internet. the internet is working but not with my ipad.
Call your ISP (Internet Service Provider) and explain them your issue, it could range from having your router configured incorrectly to having a wiring issue. Personally, I have Comcast and they are great, no issues, and awesome customer service.
Hope you get up and running ASAP -
My volume down button doesn't work on my iPhone. The UP buttown works, but not the down button. I have tried a hard reset and that didn't fix it.
Try this.
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up. -
ICloud keeps asking for password but will not take it. All other devices work but not my IMac???
Exactly which password are you inputting? iCloud looks for your AppleID password.
-
Wake on Lan (works, but not always)
Iam trying to get Wak on Lan working on my iMac. It works, but not always. When I put my mac to sleep en send the magic package, my mac turns back on. But when my mac turns to sleep and I wait a few hours (the next morning), my Mac doesn't respond to the same magic packag. When I wake up the Mac by hand, and put it back to sleep again, the magic package works again en turns the mac on.
It almost looks like the mac goes into a deeper sleep mode after a few hours. Does anyone knows what could ben the reazon.mmm, It seems like my mac doesn't always turns to sleep mode. Most of the time it only turns off the screen (solid light). My energy settings are 10 minutes for the screen and 15 minutes for the mac. But after turning of the screen it never turns to sleepmode. Ecxept when I put it to sleep manualy.
Strange thing is: when the screen is turned of, shouldn't I be able to get tot my files... (I can't actualy). -
Sap xi SCENARIO source directory working ,but not working target directory
sap xi SCENARIO source directory working ,but not working target directory..
plz help meHi,
Be more specific on the problem you are facing so that the ppl here can help..
looks like your are trying to file to file scenario and the file is not generating at the target folder ...
then check the communication logs of the receiver adapter using RWB->CC logs..
post the error you have received there..
HTH
Rajesh -
can't sync ical on my iphone and imac. email and note work but not ical. can anyone help.
thanks
bmoreimacSo how can i make it work that way, i asked one of my friends, and she says it works like that...when she delete the email on her iphone it is deleted on the mac too, what do i do to change this?....my mail it's hotmail, i don't know if its relevant
-
TS1702 facetime on my iphone works but not on my ipad
Facetime on my iPhone 4S works but not on my iPad (3rd or 4th Gen)
From the iPad User Guide:
To use FaceTime, you need an Apple ID and a Wi-Fi connection to the Internet. When you open
FaceTime, you may be prompted to sign in using your Apple ID, or to create a new account.
Make a FaceTime call: Tap Contacts, choose a name, then tap the phone number or email address the person uses for FaceTime.
You can also make a FaceTime call from the Contacts app.
Rotate iPad to use FaceTime in either landscape or portrait orientation. To avoid unwanted orientation changes, lock iPad in portrait orientation. See Portrait and landscape orientation on page 20. -
Just bought an iPhone 5C.. Safari is non-functional! A blank frozen screen... What gives? Safari is Apple's browser for gods sakes! Google Chrom works but not Safari? This is nuts. This is an "upgrade"?? Anyone else experiencing this? Or should I just give up and return this
Are you always like this?
First try a Reset: Hold down the home and sleep buttons, wait for the Apple logo, let go of the buttons.
Maybe you are looking for
-
Hi I have SOAP sender. my user has created a wsdl and provided this to me. I have uploaded this in ESR and done a SOAP - PI - abap PROXY scenario To test this scenario, should I download the sender agreement and consume within SOAPUI and proceed the
-
How can I find out how many subscribers my podcast has?
Hi..ive been searching everywhere and i cant seem to find this simple answer...i want to know how many people are subscribed (or downloaded) my podcast..i use garageband and iweb to post my podcasts and here is my webpage > http://web.mac.com/jona7
-
In dev_server0.out file , i found this folowing error, why its came like
HI Friends, i found this below information in dev_server.out file . please could anybody please tell me why this problem came. i am doing only running and try to deploy the webdynpro java application. please reply me why it showing this
-
Can we get rid of "redirecting number in IE" message for CER 911 calls?
Hi There, Cisco CUCM version 8.03, CER 8.5, DMS-100 PRI, MGCP configured with "Redirecting number in IE-Outbound" option checked on gateway. When we do 911 tests with CER involved, the voice gateway receiving the redirecting number in IE---911 messag
-
ECATT field value as constant?
Hello Guru's, I am updating thousands of records using eCATT. How should i declare a field value as constant while creating a eCATT script it self, so that it automatically picks that value and update the records. I should not mention the field va