Find out which java files really needed to compile

Hi,
I wan't to create WebStart jar files from a big library. Most times I only need a part of the lib (e.g. 30%). It is overhead to complie and pack the hole library.
I need a tool (favor for ant) - I can give a hand full of "initial java files" and it give me back a list of java files I have to compile and pack to run without ClassNotFound Exception.
This expects dynamic class loading.
Have you the same problem or solved this problem?
Using ant it is only possible to select a bundle of java classes and it is comiling exactly this classes :-/

You could use the verbose option while compiling. It will list the dependent source files that are required during compilation.
For command line, javac ... -verbose
From ant, you could specify verbose="yes" withing the <javac> task. :)

Similar Messages

  • How to find out which archived logs needed to recover a hot backup?

    I'm using Oracle 11gR2 (11.2.0.1.0).
    I have backed up a database when it is online using the following backup script through RMAN
    connect target /
    run {
    allocate channel d1 type disk;
    backup
    incremental level=0 cumulative
    filesperset 4
    format '/san/u01/app/backup/DB_%d_%T_%u_%c.rman'
    database
    }The backup set contains the backup of datafiles and control file. I have copied all the backup pieces to another server where I will restore/recover the database but I don't know which archived logs are needed in order to restore/recover the database to a consistent state.
    I have not deleted any archived log.
    How can I find out which archived logs are needed to recover the hot backup to a consistent state? Can this be done by querying V$BACKUP_DATAFILE and V$ARCHIVED_LOG? If yes, which columns should I query?
    Thanks for any help.

    A few ways :
    1a. Get the timestamps when the BACKUP ... DATABASE began and ended.
    1b. Review the alert.log of the database that was backed up.
    1c. From the alert.log identify the first Archivelog that was generated after the begin of the BACKUP ... DATABASE and the first Archivelog that was generated after the end of the BACKUP .. DATABASE.
    1d. These (from 1c) are the minimal Archivelogs that you need to RECOVER with. You can choose to apply additional Archivelogs that were generated at the source database to contininue to "roll-forward"
    2a. Do a RESTORE DATABASE alone.
    2b. Query V$DATAFILE on the restored database for the lowest CHECKPOINT_CHANGE# and CHECKPOINT_TIME. Also query for the highest CHECKPOINT_CHANGE# and CHECKPOINT_TIME.
    2c. Go back to the source database and query V$ARCHIVED_LOG (FIRST_CHANGE#) to identify the first Archivelog that has a higher SCN (FIRST_CHANGE#) than the lowest CHECKPOINT_CHANGE# from 2b above. Also query for the first Archivelog that has a higher SCN (FIRST_CHANGE#) than the highest CHECKPOINT_CHANGE# from 2b above.
    2d. These (from 2c) are the minimal Archivelogs that you need to RECOVER with.
    (why do you need to query V$ARCHIVED_LOG at the source ? If RESTORE a controlfile backup that was generated after the first Archivelog switch after the end of the BACKUP ... DATABASE, you would be able to query V$ARCHIVED_LOG at the restored database as well. That is why it is important to force an archivelog (log switch) after a BACKUP ... DATABASE and then backup the controlfile after this -- i.e. last. That way, the controlfile that you have restored to the new server has all the information needed).
    3. RESTORE DATABASE PREVIEW in RMAN if you have the archivelogs and subsequent controlfile in the backup itself !
    Hemant K Chitale

  • Safari says Netflix has a plug-in failure when loading for streaming. How do I find out what plug-in I need?

    Safari says Netflix has a plug-in failure when I try to stream video. How do I find out which plug-in I need?

    I understand Netflix requires Microsoft Silverlight.
    http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
    Fault finding tips for Silverlight will be at that web site.
    Netflix help site should have answers also.
    https://help.netflix.com/help

  • Finding out which jars are needed

    I am using an open source library. I am only using a fraction of its functionality, and the library is huge (it drags in many other JARs from other OS projects). This is making my install file very large, and I need to cut it down.
    If I take just the parts of the library I am actually using, is there any way to find out which of the other JAR files are still being used? It seems that a missing JAR at runtime might not be detected when the program runs up (is that correct?) but might result in a runtime error later on when Java tries to load the library.
    Is there a more methodical way of doing this than just removing various JARs and checking if it still works?

    Run app with -verbose:class - you can do this standalone or add parameter to JRE in the Java Control Panel
    (also enable tracing and then check result trace file).
    This option will list where each class is loaded from.

  • I have files that may have been created in various versions of Illustrator. We need to be able to open them, but all we have is CS6 suite. I have called and been told that "technicians at adobe" could perform a paid service to find out what the files were

    I have files that may have been created in various versions of Illustrator. We need to be able to open them, but all we have is CS6 suite. I have called and been told that "technicians at adobe" could perform a paid service to find out what the files were created in and get them to be useable in InDesign 6, but I'd need an email address that was registered to our software to give the help desk person. After finding the correct email address, different adobe help number people told me to come here to ask as there is no phone support. Can anyone get me to an adobe technician that can provide a price quote for finding out what created these files and for getting them converted? Thanks.

    Sorry, I understood you to say you had the whole CS6 suite, which includes Illustrator.
    As far as finding out what the files are, sometimes you can look at them in a text editor to figure this out. See below; the, Creator Tool line. Not every software package makes it this easy, though.

  • Not able to find out the path where i need to place the .plx file on server

    I have to make some changes in the PLL (library) file and compile it into it's .plx file and move the .plx to the server.
    I am not able to find out the path where i need to place the .plx file on the server.
    I have placed it in /iasapp01/app_name/library,but it is not taking it into effect.
    Please help,if anyone knows about this,as to how to solve this issue
    Thanks
    GAG

    Hi Andreas,
    My Forms Version is 9.0.2 and the application server is 9iAS( 9.0.2)
    The variable FORMS90_PATH in the .env file has the following entries
    FORMS90_PATH=/iasapp01/app_name/fmx:/iasapp01/app_name/library:/iaspp01/app_name/html
    and i have placed the plx in the /iasapp01/app_name/fmx path,but somehow its not referencing it.
    My Formsweb.cfg has the following entry...
    [app_name]
    pagetitle=app_name_WEB
    serverapp=/app_name/app_name
    width=800
    height=550
    colorscheme=blue
    separateframe=true
    form=log.fmx
    otherparams=REPORT_PATH=/iasapp01/app_name/html/report_files/ FILE_PATH=/iasapp01/app_name/rep/
    WEB_PATH=http://server.com:7778/app_name/
    envfile=/ias01/app/oracle/product/ias_9.0.2/forms90/server/app_name.env
    I have another question which is ..Does applciation built on Forms 9.0.2 would work on Internet Explorer 8 and Windows 8 environment using Sun JRE.
    I was going through this website
    http://nutthaphon.blogspot.com/2009/05/how-do-jinitiator-and-jpi-parameters.html
    and followed the steps as mentioned,but it did not work for me.
    Can you help me if you have any info on this?
    Thanks
    GAG

  • How can I find out which .pst or .ost file itunes referres to when synchronising with outlook

    I´ve switched to iphone 4S from my 3Gs and would like to "clean" my itunes Sync before I use the new phone. Problem is, that the synchronisation with Outlook 2003 doesn´t work anymore. I guess the reason is that itunes refers to an old .ost or .pst file on my computer. I ve got several outlook profiles and changed from exchange to pop3. My question: How can I find out which .pst or .ost file itunes referres to?
    Thanks a lot in advance :-)

    Select the tune and then - Get Info - in the dialog box is a note of the Apple ID used to purchase.
    MJ

  • TS1646 We have several apple devices in our family who use my debit card for itune charges.  I need to find out which device (itune account) these charges are coming from.  Can you help?

    We have several apple devices in our family who use my debit card for itune charges.  I need to find out which device (itune account) these charges are coming from. Can you help?

    You can't tell which device a purhcase was made on, but if your family members each have their own iTunes account to which your card is linked then you can check the purchase history on each of those accounts via the Store > View Account menu option on your computer's iTunes - that should have 'purchase history' section with a 'see all' link to the right of it

  • I have a file it has a Hold - There are a number of holds in the hold list how do i find out which one this file has

    Hi
    I have a file which has a Hold.
    However, It could be one of a number of Holds as defined by the Holds list. How do I (ideally in PowerShell) find out which hold is being used to hold the file and how can I remove that Hold from the file so I can change it and re-apply the hold ?
    Thanks
    Nigel
    Nigel Price NJPEnterprises

    Hi,
    According to your post, my understanding is that you want to remove Hold from the file.
    If an item has been added to more than one hold, you can view the list of holds that pertain to that by using the Compliance Details command.
    Open the list or library that contains the item for which you want to view the hold information.
    Point to the item that you want, click the arrow that appears, and then click Compliance Details.
    On the Compliance Details dialog, click Add/Remove from hold.
    On the Hold Status page, click the arrow under the Remove from hold option to view a list of holds the item is associated with.
    You can use the Compliance Details command to remove an individual item from a hold.
    Open the list or library that contains the item that you want to remove from a hold.
    Point to the item that you want, click the arrow that appears, and then click Compliance Details.
    In the Hold Status section, click Add/Remove from a hold.
    On the Item Hold Status page, select the Remove from hold option and then select the hold from which you want to release the item.
    Click Save.
    For more information, you can refer to:
    Create a hold to suspend documents or items
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • I have two copies of CS6 and I need to find out which serial number is installed on which computer. How do I find the serial number once it's installed on a computer?

    I have two copies of CS6 and I need to find out which serial number is installed on which computer. How do I find the serial number once it's installed on a computer?

    if they're pcs, Belarc Advisor - Free Personal PC Audit, for software, hardware and security configuration information on your computer.…

  • Trying to find out which adapter to buy which has 30pin socket on one end and lightening plug on other - any help really valued - thanks

    trying to find out which adapter to buy which has 30pin socket on one end and lightening plug on other - any help really valued - thanks

    Many thanks - I was typing in the wrong keywords - fr your time and trouble.
    Dave

  • Is there a way to find out which CSS rules are being used by the different html files?

    Is there a way in Dreamweaver CS3 to find out which CSS rules are being used by the different html files, sitewide?
    Thanks - Dave

    Firefox add-on "Web Developer Toolbar" is a must have.  Information > Display Div & Class details.
    https://addons.mozilla.org/en-US/firefox/addon/60
    Another  handy Firefox Add-on  to add to your tool chest is called "Dust-Me Selectors."
    http://www.sitepoint.com/dustmeselectors/
    "It extracts all the selectors from all the stylesheets on the page you're viewing, then analyzes that page to see which of those selectors are not used. The data is then stored so that when testing subsequent pages, selectors can be crossed off the list as they're encountered.
    You can test pages individually, or spider an entire site, and you'll end up with a profile of which selectors are not used anywhere."
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Where can I find out which outlet adapters I will need in China?

    Where/how can I find out which outlet adapters I will need for my iPad in China?

    Google has the answer to (almost) everything:
    https://www.google.com/search?q=electricity+plugs+used+in+china

  • HT1937 i need to find out which carrier my 3GS hot plz help someone IMEI: 012265001470520

    hey guys,
    ehm.. i wanted to find out how im gonna find out which carrier my Iphone 3GS got.
    so if anyone can help me out plz do
    my IMEI: 012265001470520
    i read thats gonna be find out with the imei so i posted it
    plz advice me fast

    Ask whomever originally purchased the phone.  There is no reliable way to tell otherwise - certainly none of your fellow Apple users here can tell you.
    P.S. if you are in the USA and the iPhone was purchased in the USA, it has to be AT&T.

  • How to find out which user has the permission to execute startsap ?

    Hi All
    How do I find out which user has the permission to execute the startsap and stopsap? Do I control the permission on those script using windows standard authorization? For example: only allow certain user have the read and write permission?
    Thank you.!
    Vincent Lo

    Well to me this is really weird question..
    <b>noone un-authorized should have access to OS on your system</b>
    If this is valid you do not need to solve problems who can and who cannot start/stop SAP, because if you want to prevent some users from shutting down the SAP you have really hard job to do - there are many ways how to kill the SAP (for example killing relevant process from task manager, killing of database, messing with services etc.) - yes, this is harmful way of stopping SAP, but we are talking about attack, right? I would contact some Windows specialist to help you disable all the ways how to harm the running SAP. But still after that - there are many files that can be modified/deleted so SAP will crash after restart - you need to protect them too, etc.
    In case you take the first assumption as granted (and you really limit access to this server) you do not need to worry who can stop or start SAP - at the other hand it may be handy to be able to start/stop SAP from other users - for this you can run the stop/start script "under different user".
    But to answer the question - to me this is question just of access control (but really never tried that myself):
    <a href="http://technet2.microsoft.com/WindowsServer/en/library/c6413717-511e-42bd-bd81-82431afe4b2a1033.mspx">Permit or restrict access to a snap-in for a domain</a> (or see other related links down there on this page)
    Please award points for useful answers.
    Thanks

Maybe you are looking for

  • Output says "The number of bytes in the file are 0" but the file has bytes

    Dear Java People, Why would an output say a file has 0 bytes when upon doing a search for the file in Windows Explorer it say the file has 1 -4 kbytes ? for example part of my output was : "the number of bytes in TryFile3.java are 0" caused by the fo

  • Creating PDF using Acrobat SDK

    Hello All,                 I am developing application in VC++ which has requirement to create PDF file programatically and then write that file .                 I just wanted to know can I use Acrobat SDK to create and Edit PDF file?               

  • Doubt in ALE config

    Hi I have created the process code for the function module. How do i associate the module in the configuration.

  • How to pass pdf data to ABAP itab

    Hi, I have a pdf form that I want to upload in SAP and retrieve the data from the pdf and generate necessary transaction. I used the example in offline adobe form documentation: I've encountered 2 problems: 1. error message:  XSLT: No valid XML sourc

  • $ addition to an amount column in a form

    I need to add a dollar sign to the left of the amount that is returned in a data form. Has anyone done this? I'm a newbie to CF so any help is greatly appreciated. The amount column needs to read: $701.32 vs. just 701.32. Thanks much, Chris C.