How to drop several classes in a single command

Is there any way to drop classes using wildcards? It is very anoying having to drop class by class instead of being able to specify something like com.whatever.*

if you "jar'd" the classes into a ".jar" file and used it for a load java command --you can then use it for the dropjava"command.
check out the java doc for your release for more details.

Similar Messages

  • How to drop several indexes

    Hi.
    Could anybody tell me how can i drop several bad indexes.
    There are lots of indexes to columns which have duplicated values. I need to drop these all indexes. but not in manual way like
    drop index one;
    drop index two;
    Is there some way of inserting a select statement into drop? And how to run it for all tables in schema?

    As usual Jonathan's advice sums it up pretty good. I'm all for using Oracle or a script to identify indexes for 'potential' removal but I'm not convinced you can automatically remove them safely without considering other factors that Oracle simply can't know.
    IMO indexes should never be added without a valid reason. Part of the problem is that the reason is often never documented anywhere. Another part is that as incremental app changes are made Oracle may start using that index for purposes other than the original reason.
    Some indexes that might be considered 'duplicate' in an OLTP environment might not be duplicate at all for OLAP purposes. I have often created a new index that adds a single column to an existing index just so that a key query can use the index to get the column value and not have to access the table of that index; sort of a mini index-organized table that provides one or two commonly queried columns in the index to avoid table access.
    If you drop one of those 'duplicate' indexes it could cause a lot of execution plans to change.

  • How to put multiple classes in a single file?

    Hello,
    I'd like to put mutliple classes in a single file. (This
    would be useful for grouping children that are minor extensions of
    parent classes or helper classes that are used by one class only).
    When I tried to put two classes in one file, I got this error
    message:
    5006: An ActionScript file can not have more than one
    externally visible definition: Notation.editField,
    Notation.labelField1
    This is the structure I used. Thanks in advance for your
    help.

    You can declare multiple classes in a single file, but only
    one can be
    within the package declaration. All class declarations
    outside the package
    are invisible to code outside the file.
    package sample
    public class SampleClass
    class SampleClassHelper
    class SampleClassHelper2

  • How to run several class files at the same time

    I have four class files, there's: cvnt1.class,cvnt2.class,cvnt3.class and cvnt4.class.
    I want to know how to write application for running all of those files together. thanks!

    Your question is still unclear - do you want to access code from those class files (just add all of them to classpath) or do you want to create number of threads or number of processes (one per class) and start code from each class simultaneously or something else?

  • How to execute several ROUNDS in a single transformation file?

    Hi everybody,
    I've put several transformation files into one transformation file but I have the following problems:
    - when I look at the log after validating the transformation file, it only shows values for the last combination of OPTIONS / MAPPING / CONVERSION
    - when I execute the package for loading dat into the cube, it ONLY loads data for the last combination of OPTIONS / MAPPING / CONVERSION that appears in the transformation file
    The number of 'Submit record count' is always the same as the number of accepted records of the last round. And if I create a view from the target cube, it only has data for the last combination of OPTIONS / MAPPING / CONVERSION.
    What is happening? Do I must change any parameter?
    It's critical for the project as we are loading a lot of key figures and we must simplify the administration of the load process
    Thanks a lot in advance for your support,
    Albert Mas

    Hi,
    Please try (for Windows):
    Double click printer icon on desktop,
    Select Scan a Document or Photo,
    Put the first page on the glass (face down),
    Check options (size, dpi ...), and select Scan document to file,
    Click Scan - machine will scan the first page
    Remove the first page on the glass, put the second page,
    Click + (plus sign) It sits on the left hand side of a red x
    Machine will scan the second page, put 3rd page on the glass and click + again ..... to the end then click Save
    Click Done after Save
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to get the output of a single command from multiple servers using power shell

    Hi All,
    I have a requirement in my project, wherein I have to find the database list on each server which has autoshrink option is enabled.
    Below is the query which I'm using and I want to automate it in such a way that, I can give the input to powershell script with list of all servers and I need output in csv format which should be giving the database names for which autoshrink option is enabled.
    select name from sys.databases where
    is_auto_shrink_on=1
    Thanks in Advance, Kranthi

    foreach($instance in $instances){
        Invoke-SqlCmd $query -ServerInstance $instance
    https://msdn.microsoft.com/en-us/library/cc281720.aspx
    ¯\_(ツ)_/¯

  • How do I add several discs as a single album to my iTunes library?

    How do I add several discs as a single album to my iTunes library?

    Well first off you have to title them all with the same album name.  Then make sure you have them set to like disc 1 of 3, 2 of 3 etc. so they will all fall into the same folder.  Then make sure that you have the same album artist and leave artist blank or it will separate the files.  If Various artists then title it various artists.

  • How to comment several lines in single go in LSMW?

    Hi,
    How to comment several lines in single go in LSMW? in SE38 we can select the code and CTRL+< . But in LSMW this will not work out. So how to comment several lines in single go?
    Regards
    Sreekanth

    Sreekanth,
    I've worked with LSMW for awhile but never found an easier way.  The editor is old so you won't even see multiple comment command.  I figure that you can select a block and cut it and put on se38 and do the comment from there then paste it back into lsmw.
    Good luck.
    Tai

  • How to join two hiearchy in a single report

    Hi,
        I have two hiearchyes on two master data objects, How best can i  customise to view this two hiearchies in a single report.

    Hi Nagendra,
    Find the below links and blogs..
    May be this will helps you
    A BW hierarchy has the following properties:
    Hierarchies are created for basic characteristics
    Hierarchies are stored in special master data tables. They behave in a similar way to master data,
    and can therefore be used and modified in all Info Cubes.
    You can define several hierarchies for a single characteristic.
    A hierarchy can have a maximum of 98 levels.
    http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a670fe07211d2acb80000e829fbfe/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b07849c7-3a5b-2b10-7586-c431d300a578
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20a709c1-0a8e-2a10-21b4-f779728c63bf
    /people/vijay.vijayasankar/blog/2008/03/13/crm2007-who-gets-to-see-what--some-strategies-for-managing-internal-and-external-users-part-1
    /people/shafiq.rehman3/blog/2008/01/22/hr-interface-toolbox--pu12
    /people/kamal.khanna/blog/2008/07/09/managing-data-of-most-valuable-asset-of-an-organization-employees
    Regards
    Sudheer

  • How to call two RFC in a single JAVA method.

    Dear all,
    I just want to know that how to call two RFC in a single java method which is defined in CRM implementation file. I'm using NWDS as the customization IDE & working on ISA 7.0.

    Hi Sunil,
    In the Backend Implementation class, in any method you can call multiple RFCs.
    It will be the same way as you do for the single RFC call.
    Following syntax is for your reference.
    Get the JCO connection
    JCoConnection  connection = getDefaultJCoConnection();
    JCO.Function func = connection.getJCoFunction("ZXXXXXXX");
    set the import parameters
    Execute it.
    connection.execute(func);
    get the data from export / table parameters
    Now call the second RFC
    func = connection.getJCoFunction("ZYYYYYYYYYY");
    set the import parameters
    Execute it.
    get the data from export / table parameters
    close the connection
    Hope this will help you.
    -Chandra.
    Edited by: Chandra Sekhar Seeli on Jan 13, 2011 2:04 PM

  • How to set multiple styles on a single component in flex ?

    Hi ,
    I would like to know how to set multiple styles on a single component in flex.
    Can anyone give me an example as to how to set multiple styles for a single component ?
    Thanks ,
    Regards,
    Ajantha

    Hi tuliptaurus,
    You can setStyleName property for chnaging the external css dynamically by using the setStyle() method ...
    btn.setStyle("styleName","blendButtonSkinOther");
    You can change the external css by using the styleaName property with setStyle method..the line in blue..where blendButtonSkinOther is another css class..
    blendButtonSkin {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    blendButtonSkinOther {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    Thanks,
    Bhasker Chari

  • How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?

    Hi All,
    How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?
    Assume Material is Pen.
    While creating Sales Order in VA01 how to bring different price for the same material for Platinum,Gold and Silver Customers.
    Kindly help me out.
    Thanks,
    Renjith Jose

    A good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
    "Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
    hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
    Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded"

  • How to Append two  word documents into single  using   java

    How to Append two word documents into single using java
    we tried this but it's not append the one word document to other
    source code:public class AppendTwoWordFiles {
         public static void main(String []arg)throws IOException
              FileInputStream fi=null;
              FileOutputStream fo=null;
              try {
                   System.out.println("Enter the source file name u want to append");
                   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                   File f1=new File(br.readLine().toString());
                   System.out.println("Enter the Destination file name ");
                   File f2=new File(br.readLine().toString());
                   fi = new FileInputStream(f1);
                   fo = new FileOutputStream(f2,true);
                   byte b[]=new byte[2];
                   while((fi.read(b))!=-1);
              fo.write(b);
    System.out.println("Successfully append the file");
              } catch (FileNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              finally{
              fi.close();
              fo.close();
    plz reply me quickly ,,,what can i follow

    Use this code ..
    and give the path of the both file like this.....
    source file ---- C:/workspace/Practice/src/com/moksha/ws/test/practice.text
    destination file ---- C:/workspace/City/src/com/moksha/ws/test/practice1.text
    import java.io.*;
    public class AppendTwoWordFiles {
         public static void main(String[] arg) throws IOException {
              FileInputStream fi = null;
              FileOutputStream fo = null;
              try {
                   System.out.println("Enter the source file name u want to append");
                   BufferedReader br = new BufferedReader(new InputStreamReader(
                             System.in));
                   File f1 = new File(br.readLine().toString());
                   System.out.println("Enter the Destination file name ");
                   File f2 = new File(br.readLine().toString());
                   fi = new FileInputStream(f1);
                   fo = new FileOutputStream(f2, true);
                   byte b[] = new byte[2];
                   int len = 0;
                   while ((len = fi.read(b)) > 0) {
                        fo.write(b, 0, len);
                   System.out.println("Successfully append the file");
              } catch (FileNotFoundException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              } finally {
                   fi.close();
                   fo.close();
    }

  • Drag and drop several files

    Hi,
    I'm using iPhoto '11 (version 9.4.2) and when I try to drag and drop several files into a folder, it fails.
    Actually it just does nothing: the drag and drop icon is created with the accurate numbre of items in a red star, the folder blinks but when I release the mouse, nothing happens.
    It fails sometimes with 3 photos, sometimes with 30.
    What's more puzzling is that it sometimes works: if I drag and drop of a single photo it always works. And I'm sometimes able to drop 10 or more photos.
    I'm running on a macbook pro retina with lion (10.8.2).
    Any idea of logs I could look at for some informations, some errors messages?
    Thanks,
    Laurent.

    I guess it creates new photos, hence it modifies the timestamps whereas drag and drop does not.
    There are two kinds of metadata involved when you consider  jpeg or other image file.
    One is the file data. This is what the Finder shows. This tells you nothing about the contents of the file, just the File itself.
    The problem with File metadata is that it can easily change as the file is moved from place to place or exported, e-mailed, uploaded etc.
    Photographs have also got both Exif and IPTC metadata. The date and time that your camera snapped the Photograph is recorded in the Exif metadata. Regardless if what the file date says, this is the actual time recorded by the camera.
    Photo applications like iPhoto, Aperture, Lightroom, Picasa, Photoshop etc get their date and time from the Exif metadata.
    When you export from iPhoto to the Finder new file is created containing your Photo (and its Exif). The File date is - quite accurately - reported as the date of Export. However, the Photo Date doesn't change.
    The problem is that the Finder doesn't work with Exif.
    So, your photo has the correct date, and so does the file, but they are different things. To sort on the Photo date you'll need to use a photo app.

  • I have just added an album to my iTunes from a CD. But the tracks are now displayed in 2 places in my iTunes library. How do I consolidate them into a single album?

    I have just added an album to my iTunes from a CD. But the tracks are now displayed in 2 places in my iTunes library -- as if I had downloaded 2 seperate albums. How do I consolidate them into a single album in my iTunes?

    Did you use the same method to add each of the six albums to your library?  With some of iTunes configuration options, some imports (CDs, Store purchase, use of the Automatically add to iTunes folder) will go into the standard media folder location, but the other methods to add media files already on your PC (Add File to Library..., Add Folder to Library..., drag and drop) will leave the files in their original spot.
    The other factor that may influence where iTunes locates media files is the setting of the "part of a compilation" flag in the media metadata.  When this flag is set iTunes (when configured to organize your media and copy all additions to the media folders) will place files in iTunes Media\Music\Compilations\album_title rather than iTunes Media\Music\artist_name\album_title.

Maybe you are looking for