How to extend AVK to scan for other vendor-specific APIs?

All--
How do I extend AVK to scan for other vendor specific APIs.
I tried adding another <name> element underneath the
appropriate the <unsupported> tag in the asmt-config.xml file,
e.g.
<websphere50>
<supported>
</supported>
<unsupported>
<name>com.ibm.ws.activity.ActivityConstants</name>
.......... other <name> elements were left alone ..........
</unsupported>
</websphere50>
But when I scanned the source code it didn't find an import of that API.
Note: it did find an import of the APIs that were pre-defined in the asmt-
config file; just not the one that I added.
Is adding a <name> to the asmt-config.xml file the right approach?
If so, how does the SourceScan ant task know where to find the asmt-
config.xml file. Currently, I left it in the %JAVKE_HOME%/config folder.
Is that the right place for that file?
Any comments on how to extend AVK to scan for other vendor
specific APIs would be greatly appreciated.

Oops!
Its probably bad form to answer your own question, but after
sending out the original post, I treid:
1. opening a new shell
2. running the %JAVKE_HOME%/bin/javke_setenv.bat
3. then ran the "asant code-scan" from that shell and viola it worked ...
Sorry for any confusion.

Similar Messages

  • How do I run a scan for viruses on a iPad

    How do I run a scan for viruses on iPad

    You don't. There are no virus scanners because there are no viruses that can affect an unmodified iPad.
    The iPad is not a virus prone Windows PC, so doesn't suffer the same daily problems that Windows does.

  • How to extend the time line for the premiere on mac pro mavericks

    how to extend the time line for the premiere on mac pro mavericks

    Wrong place.
    Try the Adobe Premiere forum.
    http://forums.adobe.com/community/premiere
    Good luck,
    x

  • How to extend  breadth first Search for Binary Tree to any kind of Tree??

    Dear Friends,
    I am thinking a problem, How to extend breadth first Search for Binary Tree to any kind of Tree?? ie each node has more than 2 leaves such as 1, 2,3,4 or any,
    I have following code to successfully apply for breadth first Search in Binary Tree as follows,
    package a.border;
    import java.util.ArrayList;
    import java.util.LinkedList;
    public class Tree
        int root;
        Tree left;
        Tree right;
        static ArrayList<Integer> list = new ArrayList<Integer>();
        static ArrayList<Tree> treeList = new ArrayList<Tree>();
        private static LinkedList<Tree> queue = new LinkedList<Tree>();
         * @param root root value
         * @param left left node
         * @param right right node
        public Tree(int root, Tree left, Tree right)
            this.root = root;
            this.left = left;
            this.right = right;
        /** Creates a new instance of Tree
         * You really should know what this does...
         * @param root
        public Tree(int root)
            this.root = root;
            this.left = null;
            this.right = null;
         * Simply runs a basic left then right traversal.
        public void basicTraversal()
            //Check if we can go left
            if (left != null)
                left.basicTraversal();
            //Add the root
            list.add(root);
            //Check if we can go right
            if (right != null)
                right.basicTraversal();
        public ArrayList<Integer> getBreadthTraversal(ArrayList<Integer> list)
            //Add the root to the arraylist, we know it is always the first entry.
            list.add(root);
            //Basically we add the first set of nodes into the queue for
            //traversing.
            //Query if left exists
            if (left != null)
                //Then add the node into the tree for traversing later
                queue.add(left);
            //Same for right
            if (right != null)
                queue.add(right);
            //Then we call the traverse method to do the rest of the work
            return traverse(list);
        private ArrayList<Integer> traverse(ArrayList<Integer> list)
            //Keep traversing until we run out of people
            while (!queue.isEmpty())
                Tree p = queue.remove();
                //Check if it has any subnodes
                if (p.left != null)
                    //Add the subnode to the back of the queue
                    queue.add(p.left);
                //Same for left
                if (p.right != null)
                    //Same here, no queue jumping!
                    queue.add(p.right);
                //Append to the ArrayList
                list.add(p.root);
            //And return
            return list;
         * Makes a tree and runs some operations
         * @param args
        public static void main(String[] args)
             *                             4
             *          t =           2       6
             *                      1   3    5   7
            Tree leaf6 = new Tree(1);
            Tree leaf7 = new Tree(3);
            Tree leaf8 = new Tree(5);
            Tree leaf9 = new Tree(7);
            Tree t4 = new Tree(2, leaf6, leaf7);
            Tree t5 = new Tree(6, leaf8, leaf9);
            Tree t = new Tree(4, t4, t5);
            t.basicTraversal();
            System.out.println("Here is basicTraversal ="+list.toString());
            list.clear();
            t.getBreadthTraversal(list);
            System.out.println("getBreadthTraversal= " +list.toString());
            list.clear();
        }Can Guru help how to update to any kind of tree??
    here this code is for the tree like:
             *                             4
             *          t =           2       6
             *                      1   3    5   7
             */But i hope the new code can handle tree like:
             *                             4
             *                           /   | \
             *                          /     |   \
             *          t =            2     8   6
             *                        / |  \    |    /| \
             *                      1 11  3 9   5 10  7
             */Thanks

    sunnymanman wrote:
    Dear Friends,
    I am thinking a problem, How to extend breadth first Search for Binary Tree to any kind of Tree?? ...The answer is interfaces.
    What do all trees have in common? And what do all nodes in trees have in common?
    At least these things:
    interface Tree<T> {
        Node<T> getRoot();
    interface Node<T> {
        T getData();
        List<Node<T>> getChildren();
    }Now write concrete classes implementing these interfaces. Let's start with a binary tree (nodes should have comparable items) and an n-tree:
    class BinaryTree<T extends Comparable<T>> implements Tree<T> {
        protected BTNode<T> root;
        public Node<T> getRoot() {
            return root;
    class BTNode<T> implements Node<T> {
        private T data;
        private Node<T> left, right;
        public List<Node<T>> getChildren() {
            List<Node<T>> children = new ArrayList<Node<T>>();
            children.add(left);
            children.add(right);
            return children;
        public T getData() {
            return data;
    class NTree<T> implements Tree<T> {
        private NTNode<T> root;
        public Node<T> getRoot() {
            return root;
    class NTNode<T> implements Node<T> {
        private T data;
        private List<Node<T>> children;
        public List<Node<T>> getChildren() {
            return children;
        public T getData() {
            return data;
    }Now with these classes, you can wite a more generic traversal class. Of course, every traversal class (breath first, depth first) will also have something in common: they return a "path" of nodes (if the 'goal' node/data is found). So, you can write an interface like this:
    interface Traverser<T> {
        List<Node<T>> traverse(T goal, Tree<T> tree);
    }And finally write an implementation for it:
    class BreathFirst<T> implements Traverser<T> {
        public List<Node<T>> traverse(T goal, Tree<T> tree) {
            Node<T> start = tree.getRoot();
            List<Node<T>> children = start.getChildren();
            // your algorithm here
            return null; // return your traversal
    }... which can be used to traverse any tree! Here's a small demo of how to use it:
    public class Test {
        public static void main(String[] args) {
            Tree<Integer> binTree = new BinaryTree<Integer>();
            // populate your binTree
            Tree<Integer> nTree = new NTree<Integer>();
            // populate your nTree
            Traverser<Integer> bfTraverser = new BreathFirst<Integer>();
            // Look for integer 6 in binTree
            System.out.println("bTree bfTraversal -> "+bfTraverser.traverse(6, binTree));
            // Look for integer 6 in nTree
            System.out.println("bTree bfTraversal -> "+bfTraverser.traverse(6, nTree));
    }Good luck!

  • How to extend the costing view for a material

    How to extend the costing view for a material

    Use MM01 Trxn code and Select Material and Select Costing Views and Maintain, Save it.
    Else Use MM50 and Select Material and Mainenance Status as G Costing and Execute, Maintain & Save.

  • How can I make multiple backups for other mac computers?

    I have multiple mac computers and I need to know how to make separate backup disks for them.

    http://pondini.org/TM/33.html
    Related thread here from a year ago
    Multiple Time Machine Backups On A Single NAS Device

  • How can I set up printer for "Other" sizes of paper? Example 4.5"x12"

    Printer HP Deskjet 3050.  I have labels on a template for Corel Draw.  I can set the 4.5x12 size in the graphic program but can't find the setup for "Other" sizes in the printer setup.  It doesn't even cover labels.

    I don't know what operating system or driver version you are using but try this:
    Click on the Windows Start button and select Control Panel.
    In Control Panel, go to Printers.
    Right click on your printer and select Printing Preferences
    Click on the Features tab.
    Look for a Paper Size drop down box. One of the selections should be Custom and you should be able to specify your dimensions there.
    I am an employee of Hewlett Packard.
    - - Please mark Accept As Solution if it solves your problem so others can more easily find the answer - -
    - - Please click the Kudos star if you would like to say thanks - -

  • How to extend JAXB genrated classes from other application specifc classes

    Hi,
    I would like to know, is there a way to extend JAXB genrated classes from my application specific classes?
    Thanks!

    extend JAXB genrated classes from my application specific classes
    In JAXB 2.0 a Java class may be mapped to an XML document or an XML Schema with annotations in the javax.xml.bind.annotation package.

  • How to create one primary key for each vendor

    Hi all
    i am doing IDOC to jdbc scenario
    i am triggering idoc from R/3 and the data is going into DB table vendor through XI.
    structures are as follows:
    sender side: ZVendorIdoc (this is a customized IDOC , if i triger IDOC for multiple vendors then it triggers only 1 idoc with multiple segment )
    Receiver side:
    DT_testVendor
        Table
            tblVendor
                action UPDATE_INSERT
                access                     1:unbounded
                    cVendorName         1
                    cVendorCode        1
                    fromdate                1
                    todate                    1
                 Key1
                    cVendorName         1
    if i trigger idoc for multiple vendors ,for example vendor 2005,2006 and 2010 . then i can see that the only key comes from the very first field (2005) and the whole record for vendor 2005,2006 and 2010  goes into the table with this(2005) as a primary key
    now again if i send data for these three vendor 2005, 2006 , 2010, in which record for the vendor 2005 is same and for 2006 and 2010 are different than it takes 2005 as a primary key and it does not update the data in the table.
    my requirement is like this:   for each vendor there should be one unique key assigned.
                                              for above said example there should come three keys one for each vendor .
    could you please help me how to do this???????????

    Hi,
      In Mapping Make the statement is 0-unbounded.For each vendor create a statement.This will solve your problem.
    Regards,
    Prakasu.M

  • How to create the Access sequence for the Vendor+material+plant combination

    Hi all
    Please let me know How to create the Access sequence for the Vendormaterialplant combination..
    Whats the use? What its effect in purhcase and taxe..
    brief me please

    Hi,
    you are asked to maintain the access sequence for the tax condition for which you are putting 7.5%.
    goto OBQ1 or img..financial accounting new...global settings.... taxes on sales and purchases ......basic settings.....
    find the tax condition type. see in it which access sequence is attached.
    if there is none then use JTAX used for taxes in India.
    or you can create the similar one for your.
    to create the same goto OBQ2.
    new entry or copy JTAX.
    and assign the access sequence to condition type.
    this will resolve your problem if you just need to assign the access sequence.
    regards,
    Adwait Bachuwar

  • How to generate the deferent pdfs for deferent vendor ?

    Hi,
    i have requirement to generate the each pdf for each vendor and i need to mail those pdfs to respective vendor,
    here i am facing the prob to generate the no of pdfs for deferent vendors...please can any one help me in this how i generate the no of pdfs ?? using wrapeer program ....
    if possible any one can provide some example code..(Exmplae program)
    Thanks,
    PK..

    There are two function use one for convert PDF and second use to email, hope it will give u idea proper.
    Assigning the OTFDATA to OTF Structure table
      CLEAR gt_otf.
      gt_otf[] = gs_otfdata-otfdata[].
    Convert the OTF DATA to SAP Script Text lines
      CLEAR gt_pdf_tab.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = gv_bin_filesize
        TABLES
          otf                   = gt_otf
          lines                 = gt_pdf_tab
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = gs_docdata
            put_in_outbox              = 'X'
            commit_work                = 'X'
          TABLES
            packing_list               = gt_objpack
            contents_bin               = gt_objbin
            receivers                  = gt_reclist
          contents_txt               = i_objtxt
            object_header              = objhead
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            OTHERS                     = 8.

  • How to set up wire transfer for foreign vendor?

    Hi all,
    Prior to the question I posted, I guess my question is : what configuration steps need to be done in order to set up a wire transfer for foreign vendor?
    please advise.

    Hi Nancy,
    You need to have a Bank Account which is setup to issue payments in foriegn currency.
    Apart from that all other steps remain the same as to doing a domestic wire.
    Provide points if found usefull.
    Thanks,
    Praveen

  • How to extend sales views extension for purchase material?

    Dear MM experts,
    pl let us know how purchase material master is extended with sales views.
    we have defined material for purchase views only, now we have requirement of sales views for the same material. Please let us how this can be done.
    Thanks in advance
    best regards
    Srihari

    Hi srihari,
    It maily depends on the user departmentt which you have selected in OMS2 Transaction...
    Normaly in standard ROH will not be having Sales view selected.
    in FERT ( finished) and HALB( semifinished) material type will be having sales views.
    If your materrila wihich is having the materila type ROH you cant extend the materila to sales view... you need to change the materila type in this scenario...
    or else create one more materila with FERT ( finished) and HALB( semifinished) material type and maintain the details in the required fields in purchase and sales as well.
    REgards
    Anand

  • How to Extend Sales Area data for a BP

    Hello Experts,
    I am working on CRM 7.0 and the requirement is to add a new new field in Complaints Tab in Sales Area Data screen of Business Partner in GUI as well as WebUI.
    Question-> Can we add the new field in WebUI using AET? Does it supports extension of relevant Assignment block(Sales Area data->Complaints and Returns)? If yes then how can we add the same field in GUI after that? If not then what is the alternate solution and Can we use BDT to fulfil this requirement?
    I assumed that EEWB does not supports extension of Sales Area data for a business partner. Please let me know if I have got it wrong.
    Regards,
    Amit

    You can use AET to extend the sales area data of BP.  However, it wont add the fields automatically in GUI, But the generated fields are available in the relevant DB tables.
    BP GUI transaction is no more supported . Im not sure why you want to work on GUI.
    Regards,
    Shaik

  • How to extend No. of columns for PIVOT table in BI Publisher Desktop

    Hello Everyone,
      I am using the Oracle BI Publisher Desktop to design the TEMPLATE for Oracle Reports.
    I need to create the PIVOT table .In my PIVOT table I need to display 9 columns but when I tried to create PIVOT table by dragging 9 columns only first 4 columns are displaying in report.
    Can anyone suggest me how can I increase the number of columns in PIVOT table?
    Thank You.
    Regards,
    Guru.

    hi jim
    if you carefully look inside the form field's you will find the logic of sort . if you remove that you will get the data without any sorting order.
    else send me your template and xml to my email id i can look into that .
    email : [email protected]

Maybe you are looking for

  • As much as I love turn-by-turn directions, I'm very disappointed in the quality of map directions from Apple in iOS-6

    I love the turn-by-turn directions.  But some of the mistakes the new iOS-6 maps (the Apple version that replaces the Google Maps app) - they're the sign of an immature product.  Are other people finding the same? Examples of what I got int the Apple

  • Action help to copy color in layer mask to another layer mask

    Hi all, Having trouble with this problem... I have layer 1 with a color mask set to black, red, blue etc. I have layer 2 with a color mask which i want to match and also become black, red, blue There are hundreds of files, and the color in layer 1 is

  • ZMP W2K Driver

    Hi, I think everyone is now having the problem with the ZMP and XP only functioning Drivers I was wondering if there will be a driver for other older Windows anytime?

  • Docs related to SD Module

    Hi All, Can any one forward me the docs regarding the following topics? 1) Transportation 2)Packing 3)Foreign Trade. My mail Id is [email protected] Thanks in Advance, Regards, Ajit

  • Cannot use ORDER BY in cursors - why not?

    When defining af cursor in a stored procedure, Oracle 8.1.7 wont let me add an ORDER BY clause. I have tried on two installations with the same result. I then asked a peer why, but he demonstrated that it was perfectly alright on his installation of