30EA2 - Search Source Code results - Go To package name problem

As mentioned here 2.1 RC1 - Search Source Code results -> Go To <package name> doesn't work , Reports -> Data Dictionary -> PLSQL -> Search Source Code -> right-click -> Go To doesn't go to the specific line: can this be fixed?
Alessandro

Sorry Vadim, but the procedure to reproduce the bug is different:
1) Open the Reports tab
2) Expand Data Dictionary node
3) Expand PLSQL node
4) Click on Search Source Code
5) Select a Connection
6) Click on Text Search, enter a string to search and click Apply
7) On the results page, right-click any line and select Go To <package name>
8) The package opens on line 1, not the line shown on step 7
While we're at it, do you think it would be possible to make the above process more user-friendly? Like, for example, right-clicking on a Connection and have the Search Source Code option there (that would take me directly to step 6)?
Regards.
Alessandro

Similar Messages

  • 2.1 RC1 - Search Source Code results - Go To package name doesn't work

    Hi.
    When I perform a search through Reports -> Data Dictionary -> PLSQL -> Search Source Code and I right-click -> Go To ... on a row of the results, nothing happens.
    Regards.
    Alessandro
    Edited by: archimede on Dec 2, 2009 12:29 PM

    Sorry Vadim, but the procedure to reproduce the bug is different:
    1) Open the Reports tab
    2) Expand Data Dictionary node
    3) Expand PLSQL node
    4) Click on Search Source Code
    5) Select a Connection
    6) Click on Text Search, enter a string to search and click Apply
    7) On the results page, right-click any line and select Go To <package name>
    8) The package opens on line 1, not the line shown on step 7
    While we're at it, do you think it would be possible to make the above process more user-friendly? Like, for example, right-clicking on a Connection and have the Search Source Code option there (that would take me directly to step 6)?
    Regards.
    Alessandro

  • Source Code for Asset Business Package

    If anyone customized I would like to know how to get to the Java source code for Asset Business Package
    Regards
    Mike

    Try the SCSL release:http://www.sun.com/software/communitysource/j2se/java2/download.xml

  • Sql Developer - View source code of procedures, functions & packages in another schema

    Our developers need the ability to view procedures, function, packages etc. in the production database (using SQL DEVELOPER).  They don't have access to sign on as the owner of these
    objects in Production.  They must use their own limited access UserID for this purpose.
    This limited access UserID has been granted select privilege on DBA_SOURCE & DBA_OBJECTS.  The developers need the ability to view the source of these object via
    the tree view in SQL DEV.  They should be able to click on "other users" in the SQL DEV tree view and see a listing of the owner schema objects.  Then they should
    be able to select the desired object and view the source code.  These developers are used to using GUI interfaces.  Selecting from DBA_SOURCE would not be an
    option for them.
    I understand that if the limited user is granted SELECT ANY DICTIONARY or SELECT_CATALOG_ROLE then this functionality will work.  The problem is those
    privileges/roles  provide much more access than should be granted to these limited access users. Granting DBA to these users is also not an option.
    In TOAD and other end-user tools this functionality works when only select privilege on DBA_SOURCE & DBA_OBJECTS has been granted.  We need this same functionality
    in SQL DEV.
    While searching this forum and the internet, I see that other installations have this same issue.
    Please enhance SQL Developer with this functionality. 
    Thank you, ellen

    Just to double check that I'm interpreting the problem correctly, is the following true:
    select * from all_objects where object_name = 'DBA_SOURCE'
    returns nothing
    select * from dba_source where name = your PL/SQL module
    returns all the code

  • Trivial Windows XP package name problem

    I'm trying to run some of my Java apps under XP (I usually work with Linux) and haven't been able to get my package names recognized. (There are many postings on this subject but I haven't found one that solves the problem).
    I'm trying to run apps from the 'Command Prompt' (is there another way?). Unnamed packages are no problem, i.e.
    java TestClassworks, so the JRE is correctly installed. But things like
    java package0.package123.MyClassyield the java.lang.NoClassDefFound exception.
    I executed the above command from the directory containing the top level package ('package0'). I also tried
    java -classpath . package0.package123.MyClassand
    java -classpath C:\FULL\PATH\TO\DIR package0.package123.MyClasswith the same results.
    Could the problem be that my package names are longer than 8 characters?
    I'm sure there is a very simple solution. Any suggestion would be greatly appreciated - this is driving me nuts.
    Thanks,
    bw

    1. you have to have at the begining at your java file:
    package package0.package123;
    //import statements
    class MyClass{}
    2. your MyClass.class should be in the directory structure
    package0\package123\MyClass.class
    3. if you have this directory structure for instance in c:\temp, then type java -classpath c:\temp package0.package123.MyClass or
    java -classpath "c:\temp" package0.package123.MyClass

  • Go to source code after search

    I went to reports\plsql\search source code and searched for a text and it found the value in few packages but when I right click and click on GO TO package it does nothing.

    Sure we're talking about the same thing; Data Dictionary Reports - Reports - PLSQL - Search Source Code.
    I don't get any exceptions, here's the dump:
    INFO: MouseClicked with 0 children
    08/06/2007 13:13:22 oracle.dbtools.db.DBUtil executeOracleQuery
    INFO: Prepared:SELECT OBJECT_NAME, OBJECT_ID,
    DECODE(STATUS, 'INVALID', 'TRUE', 'FALSE') INVALID,
    'TRUE' runnable,
    NVL( b.HAS_BODY, 'FALSE') HAS_BODY
    FROM SYS.DBA_OBJECTS a,
    (SELECT 'TRUE' HAS_BODY, object_name tmp_name FROM SYS.DBA_OBJECTS WHERE OW
    NER = :SCHEMA AND OBJECT_TYPE = 'PACKAGE BODY') b
    WHERE OWNER = :SCHEMA
    AND OBJECT_TYPE = 'PACKAGE'
    AND object_name = tmp_name (+)
    AND SUBOBJECT_NAME IS NULL
    AND OBJECT_ID NOT IN ( SELECT PURGE_OBJECT FROM RECYCLEBIN )
    AND UPPER(OBJECT_NAME) IN UPPER(:OBJECT_NAME)
    08/06/2007 13:13:22 oracle.dbtools.db.DBUtil bind
    INFO: Bind:OBJECT_NAME:LNK_REDDIS_SME
    08/06/2007 13:13:22 oracle.dbtools.db.DBUtil bind
    INFO: Bind:SCHEMA:EXPL
    08/06/2007 13:13:22 oracle.dbtools.raptor.navigator.ObjectQueryInstance executeQ
    uery
    FINER: Loaded:LNK_REDDIS_SME
    08/06/2007 13:13:22 oracle.dbtools.raptor.navigator.ObjectQueryInstance executeQ
    uery
    INFO: Elapsed Time:40
    08/06/2007 13:13:22 oracle.dbtools.db.DBUtil executeOracleQuery
    INFO: Prepared:SELECT OBJECT_NAME, OBJECT_ID,
    DECODE(STATUS, 'INVALID', 'TRUE', 'FALSE') INVALID,
    'FALSE' runnable
    FROM SYS.DBA_OBJECTS
    WHERE OWNER =:SCHEMA
    AND OBJECT_NAME = :PARENT_NAME
    AND OBJECT_TYPE = 'PACKAGE BODY'
    08/06/2007 13:13:22 oracle.dbtools.db.DBUtil bind
    INFO: Bind:SCHEMA:EXPL
    08/06/2007 13:13:22 oracle.dbtools.db.DBUtil bind
    INFO: Bind:PARENT_NAME:LNK_REDDIS_SME
    08/06/2007 13:13:22 oracle.dbtools.raptor.navigator.ObjectQueryInstance executeQ
    uery
    FINER: Loaded:LNK_REDDIS_SME
    08/06/2007 13:13:22 oracle.dbtools.raptor.navigator.ObjectQueryInstance executeQ
    uery
    INFO: Elapsed Time:10
    08/06/2007 13:13:22 oracle.report.addin.ReportEditor updateContent
    INFO: ReportEditor.updateContent()
    The only thing that happens are the log entries...
    Thanks,
    K.

  • Source Code for Business Package Assets

    If anyone customized I would like to know how to get to the Java source code for Asset Business Package
    Regards
    Mike

    Augustine Vinish wrote:
    Hi Team ,
    I have find out the source code of the Package from dba_source at text column .
    How can I find out
    *1 .where the Database is mounted ie Server information and*
    *2 .Name of the Sql file contains the package body*
    *3 .location of the file in the Server*
    Regards ,
    AugustineHi - the source code isn't read in from a file by the database, it's actually stored in the database itself (have a look at the user_source view). Now you may have text files backups of your source code, that have been used previously to create the packages, but the database won't store any info about the file used to do this.

  • Modifing source code in Business Packages

    Is it correct that one is allowed to change the source code for web dynpro based business packaged?
    I've heard that SAP do not deliver source code for htmlb based packages, but for the web dynpro based packages they do.
    How about the licence agreement in these to cases?
    Bjorn

    Hi Bjorn:
    SAP actually provided the source code for the standard webdynpro application such as ESS or MSS. It is necessary as for appliying a modification. SAP requires you do it modifiying the source code as it is happening with ABAP Code.
    Kind Regards
    Gonzalo Pérez-Prim

  • How to get Source Code out of SCA File

    I have a SCA file comprising SAP Ecommerce 5 solution. What I want to achieve is to get all the source code out of it including the original directory structure. Unzipping it doesn't give me the required results and requires a lot of manual work creating directories and more unzipping.
    I tried importing it into a Local SC in NWDS but it complains that " Import (into source SC) not possible: SCA doesn't contain DC sources".
    I don't have access to NWDI at this point.

    Hi,
    For getting the source code of the Business Package Content, follow the steps below:
    1. Make sure Source Archive is available for the Business Package.
    2. Create a NWDI Track, and include all dependencies (check SAP Note : 1080927 - Creating CMS Tracks for common Application Types )
    3. Once you have track in place, you can import the Track into NWDS
    4. In Development Configurations perspective of the NWDS you can see the track.
    5. Now create Project from Inactive Workspace to start modifying the code.
    Check the link for general links
    http://wiki.sdn.sap.com/wiki/display/JDI/NWDIRelatedNotesandLinks
    Hope this helps.
    Cheers-
    Pramod

  • How to search ONLY in package names, without descriptions?

    Hello!
    I would like to know how I can search with pacman only in the package names, without searching descriptions?
    For example, searching for the rar package (pacman -Ss rar) gives me tons of results with hundreds of packages, where "library" occurs in the description.
    I have already read the pacman manual page, but I couldn't find anything suitable.
    Greets, Horst

    perl -e '$search = "rar";$output=`pacman -Ss $search`;while($output=~/^(\S.*?\Q$search\E.*?\n(?:\s.*\n)*)/mgi){print $1}'
    This does the normal "pacman -Ss whatever" search, but then it checks that the search term is in the package name. Just replace "rar" in "$search = "rar" with whatever you want to search for.
    I tried to make it work with grep using -P, but I still don't know how to make it case-insensitive then ("-i" doesn't seem to work with perl regexes). Here it is anyway though:
    pacman -Ss rar | grep -P "^\S.*?rar(?:.*|\n)*?(?=\n\S)"
    Aside from being case-sensitive, you also have to replace both instances of "rar" with your search term.
    Here's a script version that you can run from the command line:
    #!/usr/bin/perl
    use strict;
    use warnings;
    my $search = "@ARGV";
    my $output = '';
    open(my $pipe,'-|',"pacman -Ss $search") or die "Unable to create pipe to pacman: $!\n";
    while (defined(my $line=<$pipe>)){$output.=$line;}
    close $pipe;
    while($output=~/^(\S.*?\Q$search\E.*?\n(?:\s.*\n)*)/mgi){print $1};
    Save it as "search_pkgnames", make it executable, then invoke it with your search term: search_pkgnames rar
    Hope this helps.

  • Can I get java 1.2.2 source code

    I have a legacy applet which will go off this year. Unfortunately I have to maintain that on java 1.2.2. I don't want upgrade that to java 5.0 or later for the reason its not going to be there after 8 months.
    This Applet requires 1.2.2 but our client machines are upgraded to 5.0 I tried Java Web Start/Plug in none of them worked.
    So my last try is getting the source code and change the package structure and reference that from my applet(Just to make it work till end of this year).
    I really appreciate your support
    --Murali                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I don't think you'd be able to get the source code for this EOL (end of life)
    release. In those days, only source licensees can get at the source code.

  • Where can I see Controller source code

    Hello all,
    My question might be stupid for some ADF gurus, however many people we found that R12 Pages have lots of code and there is not too much documentation about how to customise a controller.
    1. I can see the *.class of my controller in the $JAVA_TOP/oracle/apps/ar/cusstd/createcus/webui/ArCreCusCO.class on my server, BUT I only see all the code encrypted when I open JDeveloper. So I guess I am doing all wrong.
    2. I want to change ArCreCusCO.class. I see many people say hey I customised XYZ controller but how they found the code and proceed to change it is the least of my headaches
    3. Do I need to configure something in JDeveloper so that I can see the server classes to my JDeveloper is this what they do, if so how you do it ????
    4. I saw something in the Help page saying Adding components to the OA Extension what the heck is this ???
    Thanks for illuminating some newbie in ADF.
    With the new Java philosophy some of 12 years experience developers we are starting from scratch due to this new architecture.
    Hector.-
    p.s. Any input will be taken, however don't make reference to the Oracle Tutorial, this is a piece of cake example I need some Hands-On example ;-)

    hi hbono99
    1.) as u can c .class in java top ,that is compiled code as source code is not delievered by oracle,so u need to decompile this ".class" file to see the source code,JAD decompiler version 1.5.8 will be latest .although it would be useful to see the source code ,but sometimes decompiled class create problems when try to compile again.
    2.) u can make changes in the ArCreCusCO.class after decompiling that and compile again the same to generate the class file ,bcz u can put only class file on the server,BUT this would be lethal to change the standard class,and from here concept of Extension come into the picture ,u need to extend this class."customised XYZ " means the extesion of the parent class,and to do the extension u dont dont need the source .
    3.) u cant see the source code of a .class in Jdeveloper ,there is no such type of setting.
    4.) To extend the ArCreCusCO.class,u need to create a workspace followed by creation of a project with in the workspace in Jdeveloper
    process to extend the class
    a.)create wokspace and project
    b.) create the same package in which the ArCreCusCO.class is residing ,under the \jdev\myprojects\ in your Jdeveloper
    c.) right click on project ,go to create new class,here u will find the option to metion the package where u want to put the extended class(normal package starts with xx.oracle.----) plus option to mention the classs nmae u want to extend
    d.) click ok at last ,u will get your extended class
    e.) source code generaly has two methods processRequest and ProcessFormRequest ,u can add the code according to the requirement .
    extension works bcz inside both the method it calls super ,so first it executes all the methods the parent class in your case ArCreCusCO.class and then control comes to extended class,now your code will get executed ,which will accomliseh your requirement
    f.)tranaser the class file of extended file to server , to add this extended class with seeded page u need personalize the page ,there u will find the option to add your class ,u mention your class with compete package (the way as we import the file with their package names in our source code,here import is not required)
    thanx
    Pratap

  • How to document ABAP Source Code like doxygen

    Hi, all.
    Is there any way or tool to generate HTML from ABAP source code? Like doxygen?
    What i want to do is like the following.
    - Retrieve all the ABAP source code of a specified package.
    - Generate HTML(coloring of keywords or so) from the ABAP source code.
    Best Regards.
    Sejoon Ahn

    You dont need to check the source code to find whether program is moved to PRD.
    Just check the version management of program in development itself.
    Click on transport log of request to find it.

  • JMStudio source code question / compilation problem/ what is JMFI18N ?

    Hi everyone , I'm trying to make videocapture application and I was studying JMStudio source code but i have a few problems
    1:
    DirectSound Capture Supported = true
    Exception on commit = java.io.IOException: Can't find registry file
    DirectSoundAuto: Committed ok
    JavaSound Capture Supported = true
    JavaSoundAuto: Committed ok
    Exception on commit = java.io.IOException: Can't find registry file
    Found device Microsoft WDM Image Capture (Win32)
    Querying device. Please wait...
    Exception on commit = java.io.IOException: Can't find registry file
    Exception on commit = java.io.IOException: Can't find registry filehow to repair it? i dont know where should i start !!
    2:
    JMFI18N - i cant find documentation for this class - i cant find this class - i know nothing about it and i cat fine anything any ideas?
    thanks a lot
    jan jarczyk

    I know it's a little late, but maybe this source code can help some other programmers out:
    package com.sun.media.util;
    import java.io.PrintStream;
    import java.util.Locale;
    import java.util.MissingResourceException;
    import java.util.ResourceBundle;
    public class JMFI18N
      public static ResourceBundle bundle = null;
      public static ResourceBundle bundleApps = null;
      public static String getResource(String key)
        Locale currentLocale = Locale.getDefault();
        if (bundle == null) {
          try {
            bundle = ResourceBundle.getBundle("com.sun.media.util.locale.JMFProps", currentLocale);
          } catch (MissingResourceException e) {
            System.out.println("Could not load Resources");
            System.exit(0);
          try {
            bundleApps = ResourceBundle.getBundle("com.sun.media.util.locale.JMFAppProps", currentLocale);
          } catch (MissingResourceException me) {
        String value = "";
        try {
          value = (String)bundle.getObject(key);
        } catch (MissingResourceException e) {
          if (bundleApps != null)
            try {
              value = (String)bundleApps.getObject(key);
            } catch (MissingResourceException mre) {
              System.out.println("Could not find " + key);
          else
            System.out.println("Could not find " + key);
        return value;
    }

  • Is Source Code availble for all the iFS clases (i.e.: webui package)

    I am trying to build some custom pages to interact with iFS. Some of them are similar to the prebuilt pages (to do searches for example).
    I found the class files that the JSPs use but cannot find any source code for them. Are they available? I know there are several packages that the API is provided for but by looking at how the webui classes, etc. interact it would provide insight into how to use them.
    For example I want search pages that will take a list of folders and fillnames(via a Query string) and generate a list similar to what "container" does via the "advancedfind.jsp" page.
    Basically I am found the jar files such as
    ...\jsp\lib\ojsp.jar
    ...\ifs1.1\lib\webui.jar
    ...\ifs1.1\lib\utils.jar
    ...\ifs1.1\lib\email.jar
    I am looking for source and JavaDoc for these classes if it exists.
    Thanks,
    Simon

    the source code for the WebUI and other modules that make up 9iFS is not available to the public. there is example code for using the API in the 9iFS (version 9.0.1) installation. you can also consult the documentation and whitepapers here on OTN.

Maybe you are looking for

  • Suddenly I cannot access one website

    All of a sudden I cannot access one website at www.countrywalkers.com from any of the three Macs on my network. Two of them are wireless and one is ethernet-cabled I work for them so it would be helpful if I could do so. I e-mailed them and they have

  • How can I get photos off iPad onto PC

    A friend posted some photos on Photo Stream and I was able to load them onto my friend's iPad, however I am having trouble getting them from the iPad to my Windows PC.  I plugged in the USB cord into the iPad and PC, a window pops up on the iPad aski

  • Year Prompt selection

    Hi gurus, I have a requirement that if I select year value from prompt then the report data should filter with selected year and next year of the selected year. For Ex: If i select year 2010 then the year values in the report output should be 2010,20

  • JDBC connection.setAutoCommit(false) commits after each update????

    The problem is on AUTO COMMIT of JDBC connection. What I did was: conn.setAutoCommit(false); conn.executeUpdate( mySQLStatement ); conn.rollback(); The expected result to the database table should be: NOTHING UPDATED. But what actually happened was:

  • The Great Thing iPhone HD Ad

    Unable to load the XL or HD version of ad, is the link broken or my browser problem? Thanks.