How to Include only a part of big JAR in my own JAR

i'm using AXIS soap functionality in my app, but the problem is that my own final jar file is as small as 700 KB and required for it AXIS.JAR takes about 2 MB.
i'm using only a limited amount of classed from it, but the FACTORY classes loads them dinamically.
so how can i at build time include only required for me classes, not the whole library?
thanx!

You know some classes you need, right? Put those classes into your new jar and put in into your classpath instead of axis.jar. Then run a test program until you get a ClassNotFound exception. Put that class into your new jar. Repeat until you don't get the exception any more.
But before you start doing that, read the Axis licence carefully to make sure it permits you to do that.

Similar Messages

  • JTextPane, how to set only a part of text editable?

    How to set only a part of text in JTextPane editable? For example I want to forbid changing text after 'enter'. JTextPane has method setEditable but this works only for whole JTextPane.
    Plz help!!!

    I'm working on some application similar to unix console. It can't be done relatively simply with the provided components (for example two textfileds), but then it will not look like console :) .
    Now some technical problems:
    Anyway, use a DocumentListener and have it ignore any changes
    in areas you deem to be protected.I have no idea how to ignore changes using DocumentListener. Could you give more information abut this?
    I found "my own way". I create MyDefaultStyledDocument which extends DefaultStyledDocument. Then I overwrite two methods: insertString and remove. Using offsets values I manage to block everything before " > ", and I protect output from editing. But I still have a problem:
    This works fine (add "> " to JTextPane text):
                String s = console.getText();
                s = s+"> ";
                console.setText(s); but this doesn't work (for example replace last word):
                    String all = parent.getText();
                    all = all.substring(0,all.length() - cut);
                    all = all+text+" ";
                    parent.setText(all);where: parent = console = JTextPane
    Why?
    And one more question. Why when I typed "enter", Document remove all text and paste it again :/

  • JTextArea, how to set only a part of text editable?

    How to set only a part of text in JTextArea editable? For example I want to forbid changing text beteween lines 2 and 6. JTextArea has method setEditable but this works only for whole JTextArea.
    Plz help!!!

    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=5177361

  • How come itunes only downloaded part of a song?

    I bought a a couple of albums off of itunes and on one song (that i know of) on each album only plays part of the song. For example: if you have a 3:45 song it will only play 2:35 of the song and then it cuts off and moves onto the next song on the album. Can anybody help with this problem. I want my moneys worth. Thanks.

    Delete the tracks from the iTunes library, allowing iTunes to move the track files to the Trash. Then download the tracks again from the iTunes Store via this procedure:
    http://support.apple.com/kb/ht2519
    That fixes the problem for many people. If problems with the tracks persist, go here:
    iTunes Support
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • How to print only certain parts of a page based on form input

    I need to know how to do the following.
    I have a PDF with a listing of five addresses. I need to be able to use radio buttons, check boxes, or something similar in order to select certain addresses, and have only those print. But, I need to keep all the addresses available in the electronic copy, and the addresses can't be editable by others. Other people can only choose to print the sheet showing just the addresses they want, such as 1, 2, and 5.
    Is this possible? If so, how?
    Your help is appreciated!

    One way is to set up five buttons, one for each address. Create a separate PDF for each address and use them as the icon source for each button. To set up a button to use an icon, set its Layout to something other than "Label Only".
    The buttons should be set to be read-only, and not have a background or border color. When the corresponding check box is selected, the address button would get set to be printing, and non-printing if deselected. Use something like the following as the Mouse Up JavaScript for each check box.
    // Mouse Up script for check box
    var f = getField("Address1_button");
    f.display = (event.target.value === "Off") ? display.noPrint : display.visible;
    Replace "Address1_button" with the actual name of the corresponding button.
    Instead of using buttons to display the addresses, you may be able to use text fields. It just depends on the formatting you need.

  • How to include .jars?

    Hello,
    I have been unable to find out how to include in the .ear file generated by wsgen the supporting .jar files that my Web Service EJB needs.
    I thought this could be done with the "classpath" parameter in the wsgen tag in build.xml, but it doesn't seem to do anything.
    Can someone please provide a hint?
    Thanks,
    Pere

    Hi Pete,
    You mentioned the <wsgen> Ant task, so I'm assuming that you're using WLS 6.1
    An automated way to do this, is to include a series of <exec> Ant tasks after
    the <wsgen> one. These <exec> Ant tasks would call the jar.exe and look something
    like this:
    <exec
    dir="."
    executable="jar.exe"
    failonerror="yes"
    >
    <arg line="xvf ${APPLICATIONS}/MyWS.ear myEJB.jar"/>
    </exec>
    <delete dir="myEJB-jar"/>
    <mkdir dir="myEJB-jar"/>
    <exec
    dir="myEJB-jar"
    executable="jar.exe"
    failonerror="yes"
    >
    <arg line="xvf myEJB.jar"/>
    </exec>
    <copy todir="myEJB-jar">
    <fileset dir=".">
    <include name="jar1-used-by-EJB.jar"/>
    <include name="jar2-used-by-EJB.jar"/>
    </fileset>
    </copy>
    <copy todir="myEJB-jar/META-INF">
    <fileset dir=".">
    <include name="MANIFEST.MF"/>
    </fileset>
    </copy>
    <jar jarfile="myEJB.jar" basedir="myEJB-jar" />
    <exec
    dir="."
    executable="jar.exe"
    failonerror="yes"
    >
    <arg line="uvf ${APPLICATIONS}/MyWS.ear myEJB.jar"/>
    </exec>
    I realize this seems like a lot of steps, but they are at least automated :-)
    Note that the contents of the MANIFEST.MF that you copy in must look like this:
    Manifest-Version: 1.0
    Created-By: Ant 1.4
    Class-path: jar1-used-by-EJB.jar jar2-used-by-EJB.jar
    in order for the EJBs to find the newly included .jar files.
    HTH,
    Mike Wooten
    Pere Torrodellas <[email protected]> wrote:
    Hello,
    I have been unable to find out how to include in the .ear file generated
    by wsgen the supporting .jar files that my Web Service EJB needs.
    I thought this could be done with the "classpath" parameter in the wsgen
    tag in build.xml, but it doesn't seem to do anything.
    Can someone please provide a hint?
    Thanks,
    Pere

  • I have adobe illustrator CS5. When I save a document as a pdf and open it again later to edit Adobe reader can't read the whole document because it only shows part of the document. It is very frustrating. How can I fix this?

    I have adobe illustrator CS5. When I save a document as a pdf and open it again later to edit Adobe reader can't read the whole document because it only shows part of the document. It is very frustrating. How can I fix this?

    keokipineapples schrieb:
    I do have all of my files I am working on located on an external drive. I plan to transfer them directly to the hard drive
    Transfer them to your harddisk immediately.
    External drives are not offiially supported and the source of errors of all kinds including complete loss of files.
    Illustrator support for networks and removable media

  • I am trying to include some widgets into my website through iweb.How to keep only the widget button on the homepage instead of the whole open widget?

    I found the HTML code for including the Facebook widget buttons on my webiste...now I also wanted to include some other widget so I looked at www.widgetbox.com....I can download the html code and once I put that on my webpage then I have the widget open. How can I only have the widget button instead? For example I wanted to have the weather widget, but only the button weather widget, as if it was on the iphone, so that user can click on it just if they want, but I couldn't manage to do it. Does anyone knows?

    Add an HTML snippet and put the code in it:
    Click to view full size
    OT

  • How to use "Mail Merge for Word" to include only Account fields?

    We're attempting to use the Mail Merge for Word template to create a document containing several fields from the Account object. We do not need any fields from the Contact object, and there are many contacts linked to each account.
    When choosing "Get On Demand Data > Accounts", removing all the [Contacts] fields, selecting the necessary [Accounts] fields, then clicking "OK", a "List Download in Progress" window appears, followed by one that says "Microsoft Word - Subscript out of range". None of the [Accounts] fields are available in the downloaded data.
    Can anyone tell me how to include the appropriate Account fields without any Contact fields (which pulls a separate Merge record for every Contact linked with the selected Account)?
    Thanks.

    Thanks for trying to help with this.
    So far, we've been unable to pull even a SINGLE account record. So the problem is not related to data volume limitations. The tool seems to require that Contacts are selected, but for this application we only want a single merge document per Account.
    If anyone else has had success using the Mail Merge for Word tool to pull only Account data, please give us your guidance. Thanks.

  • How can I delete only one part of my xml file?

    Hello,
    I stored more than 100 users in only one xmltype column. For instance
    Create table agro(users XMLTYPE);
    ... and I inserted all users inside
    INSERT INTO agro values(XMLTYPE
    ('<?xml version="1.0" encoding="ISO-8859-1"?>
    <authentication><users><user>
    <name>cocoon</name>
    <password>cocoon</password>
    <role>admin</role>
    <title>Mr.</title>
    <firstname>Walter</firstname>
    <lastname>Cocoon</lastname>
    <company />
    <street />
    <zipcode />
    <city />
    <country>DE</country>
    <phone />
    <fax />
    <email />
    <bankid />
    <bankname />
    <accountid />
    </user>
    ... another user, etc.
    </users></authentication>'));
    Now I tried to delete only one part of this file. For example all persons with the name"cocoon".
    I used for this target the following statement:
    DELETE FROM agro agro
    WHERE agro.users.extract('authentication/users/user/text()').getStringVal()= 'cocoon';
    When I execute this statement, Oracle DB delete all users and not only with the name "Cocoon".
    How can I delete only one part of my xml file?
    Kind Regards
    M R

    This the expected behavoir. You uploaded a document containing multiple users and then asked XML DB to delete any documnet that contained a user with the name in question. The problem here is that you are creating a mega document that contains an aggregation of user documents but then trying to work with individual user documents. This is a bad idea.
    In general XML does not understand the concept of a collection of documents. It can only operate on one document at a time. Hence the tendancy to aggregate individual documents into a single larger document. Once you have an XML database, you can perform operations on collections of document, as easily as you can perform operations on individual documents, so the need to aggregate the individual documents together disappears.
    If you store each user document as a seperate document then your delete will work as expected.

  • When saving my illustrator file to a pdf it doesnt show all the artwork ie boxes are hidden in the pdf or only showing part of them. How can I fix this?

    when saving my illustrator file to a pdf it doesnt show all the artwork ie boxes are hidden in the pdf or only showing part of them. Even some text is hidden. I have flattened the artwork so everything is in one layer. How can I fix this?

    Hi John
    I have indicated on the attached jpeg where the problem is, basically a line of text is missing at the top and part of the feeding diagram is missing. I created the artwork in different layer and then flattened. All text has been converted to outlines, however the areas being affected have no transparency, I have used solid fills or no fills. I get the same result when I export the file as a jpeg. Hope you can help.

  • Hi, I have problem with importing MOV files from SJCAM 4000. MOV files are in supported formats for Adobe Premiere Elements 11. But if I'm importing MOV file, only audio part is imported, video part is not imported. How can I solve this problem?

    Hi, I have problem with importing MOV files from SJCAM 4000. MOV files are in supported formats for Adobe Premiere Elements 11. But if I'm importing MOV file, only audio part is imported, video part is not imported. How can I solve this problem?

    haben
    From looking at the specifications of your camera (SJCam 4000), we know already what video compression your camera is using. It is H.264.
    A H.264.mov file should be supported by Premiere Elements 11. On what computer operating system is your Premiere Elements 11 running?
    Do you have the latest version of QuickTime installed on your computer? And, are you running QuickTime and Premiere Elements 11 from a
    User Account with administrative privileges? Please go to Premiere Elements 11 Publish+Share/Computer/QuickTime to confirm that you find
    presets there for the QuickTime choice there.
    What are the properties of these H.264.mov files - is it 1080p30 (1920 x 1080p30)  or something else? Do you know if this camera is recording with a variable or
    a constant frame rate?
    Please review and consider and then we will decide what next.
    Thank you.
    ATR

  • How to export only part of animation?

    In the case of a big animation (tens of thousands of frames), is there a way to render (using Export Movie) only part of the animation, e.g. frames 100-500 and nothing more? That way, loss of time would be reduced.

    Playing around with this a bit I found another method in addition to the one you described. I found I can mark part of the sequence with the work area bar and then use Export. The Export screen has an option to send the entire sequence or only the part under the work bar. Then I imported it into Encore and since it was exported with final disc settings Encore didn't have to encode it.
    But I think I will send in a feature request. Hopefully a lot of other people will also ask for this.
    Thanks
    Steve

  • How to send only part of a sequence to Encore?

    Hi
    I'm new to CS5.5 and I've been trying to figure out how to send only part of a sequence to Encore from PPro. I see in the Help file that it says this can be done but it doesn't explain how to do this (or I haven't been able to find where it's explained). When I use "send to Encore" with dynamic link it sends the whole sequence even though I've tried marking in/out or marking the section I want with the work area bar. Is it not possible to do this using dynamic link?
    Thanks!
    Steve

    Playing around with this a bit I found another method in addition to the one you described. I found I can mark part of the sequence with the work area bar and then use Export. The Export screen has an option to send the entire sequence or only the part under the work bar. Then I imported it into Encore and since it was exported with final disc settings Encore didn't have to encode it.
    But I think I will send in a feature request. Hopefully a lot of other people will also ask for this.
    Thanks
    Steve

  • TS1424 itunes only downloaded part of a song I purchased. How do I correct that?

    itunes only downloaded part of a song I purchased. How do I fix it or get a refund?

    Other people have been having similar problems with songs for a few days, I assume that there has been a problem with Apple's servers.
    Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting it from your iTunes library and redownload it via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.
    If you aren't in a country where you can re-download music or if it re-downloads in the same state then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that song and use the 'Report a Problem' link.

Maybe you are looking for

  • BI Publisher 10.1.3.4.1 works fine in IE 6 & 8 but not 7

    When performing operations such as test database connections or install schema on scheduler configuration, the customer gets an error occurs on the page in IE 7.0.5730.11, but it works fine in 7.0.6001.18000. My customer is pushing on reproducing thi

  • Viewing itunes content from multiple user ids

    We have multiple users on one iMAC.  How do I enable each user to view and use our itunes content from each individual user account? Thanks, P

  • How best to retroactively bind a schema with a developed form

    Hello all, I am having a big problem.  This is the first time we have developed an e-form with Adobe LiveCycle.  I discovered only too late that best practice is to produce a schema for a form before development.  However we were also told that you c

  • Help - Trying to password protect a section of a DW CS4 website

    Iam not sure how to proceed. I have one section that is for employees and I need to password protect it. I don't need it to be indvidual passwords. One will do. Thank you for your help. I am completely lost.

  • Saving large files quickly (less slowly) in PS CS3

    I have some very large files (Document Size box in PS says 7GB, file size as a .psb about 3GB). I guess I should be happy that I can open and save these documents at all. But, on a fast Macintosh, save times are about 20 minutes, and open times about