Renaming an existing package in Jdeveloper 9

Hi,
In Jdeveloper 9. is there a way to rename an existing package ?
I cannot see any option to do it ?
How can I do it manually ?
Thanks

Hi,
Jdev 9, wow!
you try rename a folder through file system and change the package property of your files.

Similar Messages

  • Support for Creating Web Service from pl/sql package in JDeveloper 11

    We have been creating all of our web services from pl/sql packages in our Oracle database using JDeveloper 10.1.3.1. I understand that this capability is not supported in Jdev 11. We have been mandated to either move up to JDeveloper 11, or consider switching to eclipse, or even VS2008 and run .NET services from IIS. I have seen work-around solutions using TopLink and Jdev 11. Are there plans to revive this feature in the near future? We're now looking at switching to .NET since we could scrap our OAS instances and use IIS to publish web services. The only reason we were sticking with Oracle was the ease in converting all our existing package to web services with Jdev.
    Is anyone else in the same situation. If so, what solutions are you considering?

    Hi,
    there are a lot of option to make plsql web services .
    First you can stay with jdev 10.1.3
    Use the xmldb servlets
    use jdev 11g tp4 to create plsql ws and upgrade to jdev 11g production
    And I think in the next release of jdev it will be back , there are more options which disappeared like the adf bc sdo ws or jmx datacontrol etc.
    thanks Edwin

  • Is it possible to add other java packages to JDeveloper?

    I am running JDeveloper 9.0.3 and Java SDK 1.4.2.
    I have downloaded the Java Web Services Development Pack (JWSDP) from Sun, and some of the java source files contain import statements for packages that do not exist in my SDK. For example
    import javax.xml.soap.*
    These packages are contained within jar files that come with the JWSDP install. Is there anyway to import these packages into JDeveloper so that it can compile the source files?
    Thanks
    Paul

    Create a new library which will the jar files from JWSDP and add the library to the project.
    Project | Project properties
    Select Libraries
    Click New
    Enter library name (something like JWSDP)
    In the classpath add the jar files
    CLick ok
    Add the new library to selected list
    raghu
    JDev Team

  • Not able to rename the existing file

    Hi All,
    I have a java file Test.java in which i am doing the following stuffs.
    1) I am creating a new file
    2) Entering contents in the existing file
    3) Renaming the existing file--When i am doing this i am not getting any error but the existing file is not renamed
    The contents of the file Test.java*************************
    package com.fidelity.ereview.utils;
    import java.io.*;
    public class Testing {
         public static void main(String[] args) throws IOException {
              File f = new File("D:/TCS/myfile1.txt");
              f.createNewFile();
              System.out.println("new file " + f + " is created");
              FileOutputStream fileobj = new FileOutputStream(f);
              DataOutputStream writeInsideFileObj = new DataOutputStream(fileobj);
              writeInsideFileObj.writeBytes("sunita");
              writeInsideFileObj.writeBytes(",");
              writeInsideFileObj.writeBytes("choudhury");
              File f2 = new File("D:/TCS/myfile2.csv");
              f.renameTo(f2); **// renames the file HERE The file is not renamed**
    Kindly anybody help me....

    import java.io.*;
    public class Testing {
    public static void main(String[] args) throws IOException {
    //File f = new File("D:/TCS/myfile1.txt");
    File f = new File("D:/TCS/myfile2.csv");//above replaced by
    f.createNewFile();
    System.out.println("new file " + f + " is created");
    FileOutputStream fileobj = new FileOutputStream(f);
    DataOutputStream writeInsideFileObj = new DataOutputStream(fileobj);
    writeInsideFileObj.writeBytes("sunita");
    writeInsideFileObj.writeBytes(",");
    writeInsideFileObj.writeBytes("choudhury");
    writeInsideFileObj.close();//I added
    fileobj.close();//I added
    //File f2 = new File("D:/TCS/myfile2.csv");
    //f.renameTo(f2); **// renames the file HERE The file is not renamed**
    }Why create a file add data to the file and then rename to change the file type?
    You can add data to any file type with java.

  • Update existing package - naming convention/workflow questions

    OK, so we have an existing package:
    Adobe_CS6_MasterCollection_en_US_20120910_Install.pkg
    Fast forward 1 month...
    We now want to update the package so it has latest patches and so it is also renamed:
    Adobe_CS6_MasterCollection_en_US_20121010_Install.pkg
    How do we do this with AAMEE 3.1...there doesn't seem to be an opportuntity to rename the package.
    Is it safe to simply rename the package before we begin to update it? Or can/should we rename it after we have updated it?
    And what do we rename...just the *.aamee file? Or do we also need to rename the existing packge that we are updating? Before or after?
    Lots of questions....
    Our goal/intent is to be able to provide monthly or quarterly updates...this would require our naming convention to show correct date on the package.
    Thanks,
    Don

    Hi,
    I understand your problem about maintining the AAMEE packages without renaming them. May be a low cost solution for you right now is to add 1 more level of folder structure where you dont rename the AAMEE packages (and AAMEE package folder name) but rename its parent folder.So if you have an X.pkg made inside X folder on mac, keep this X folder inside Y folder. And you can change this Y manually after successfully updating the package to reflect current status. Doing this, you you are actually changing the path where the AAMEE package is kept on your machine but not the package itself. So you can keep modifying the current package and still maintain the version information.
    I completely agree with rahul that the ability to rename the AAMEE package after modifying it is a good utility, but right now this solution may help you in maintainence.
    Thanks,
    Saransh Katariya | Adobe Systems | [email protected]

  • Adding one function to a existing package

    i want to add one function to an existing packgage .
    How can i do this?

    Hi,
            Its Simple , Take Your Existing Package Spec And Body from Your Database,It Will Like Below Shown Code,
    Package Spec:
    Create or Replace Package my_existingpack
      is
      Procedure myproce_1 (lv_variable in varchar2
                                        lv_variablex out varchar2);
      procedure myproce_2(lv_variable in varchar2
                                        lv_variablex out varchar2);
    end my_existingpack;
    Package Body :
    Create or Replace Package Body my_existingpack
      is
      Procedure myproce_1 (lv_variable in varchar2
                                        lv_variablex out varchar2)
       is
       Begin
    --Some Code Will be Here.
    end myproce_1;
      procedure myproce_2(lv_variable in varchar2
                                        lv_variablex out varchar2)
    is
    Begin
    --Here Some Code inside....
    end myproce_2;
    end my_existingpack;
    Now You Are Going to Add /Patch A New Funtion In Existing Package:
    Package Spec:
    Create or Replace Package my_existingpack
      is
      Procedure myproce_1 (lv_variable in varchar2
                                        lv_variablex out varchar2);
      procedure myproce_2(lv_variable in varchar2
                                        lv_variablex out varchar2);
    Funtion MypatchFun (lv_variable in varchar2
                                   lv_variable2 in varchar2)
    Return Varchar2;
    end my_existingpack;
    Package Body :
    Create or Replace Package Body my_existingpack
      is
      Procedure myproce_1 (lv_variable in varchar2
                                        lv_variablex out varchar2)
       is
       Begin
    --Some Code Will be Here.
    end myproce_1;
      procedure myproce_2(lv_variable in varchar2
                                        lv_variablex out varchar2)
    is
    Begin
    --Here Some Code inside....
    end myproce_2;
    Funtion MypatchFun (lv_variable in varchar2
                                   lv_variable2 in varchar2)
    Return Varchar2
    IS
    Begin
    --Here Your Code...
    End;
    end my_existingpack;
    Now Compile Both Package Spec And Body.

  • How to rename the existing project in NetWeaver

    Hi All,
    Please let me know the process of how to rename the existing project in NetWeaver.

    Hi,
        If you want to rename Development Component (DC) project, here is the procedure..
    How to rename local Development Component Projects in Netweaver Developer Studio
    Regards,
    Uday.

  • Can we rename the existing z-program in SAP-abap

    Can we rename the existing z-program in SAP-abap. If yes, than how it can be done. But actually we don't want to copy the code from the existing z-program to the new one which will be created. We just want to make rename the existing z-program in SAP-abap. Please suggest, how it can be?
    Edited by: akg.amit on Oct 20, 2010 7:40 AM

    Hi Amit,
    In SE38 Open the program with old name. Press the RENAME button. In the Target program field provide the new name of program name. This new name for program should not exist in your system. Click on the Rename button. It will give a pop-up where it ask if you want to rename any includes in that program. I assume you dont have any includes in the program. So press the Rename button again without selecting the "Include" check box. Now it will ask for the Transport request. Provide your Transport request number. The program will be renamed.
    Regards,
    Immanuel.

  • Problem in generate Java  from PL SQL package in Jdeveloper

    Hi
    i have problem in create java class from PL SQL package in JDeveloper.
    I use Database navigator of jdeveloper and right click on a package and choose Generate Java then in Jpublisher window choose my view Controller and accept other default values.
    I call methods of generated class in the Action of a button in my JSP page, but when I click the button it  throw null pointer exception !!! i fund one of generated method return null and it lead to this exception.
    protected DefaultContext __tx = null;
    public DefaultContext getConnectionContext() throws SQLException  {
    if (__tx==null){
    __tx = (getConnection()==null) ? DefaultContext.getDefaultContext() : new DefaultContext(getConnection());
        return __tx;
      public Connection getConnection() throws SQLException
        if (__onn!=null) return __onn;
         else if (__tx!=null) return __tx.getConnection();
         else if (__dataSource!=null) __onn= __dataSource.getConnection();
         return __onn;
    i try to generate class in Model project and create DataControl for that and use method action but noting change and i get null pointer again!!
    Jdeveloper Versino = 11.1.1.7.0

    Let me ask you another question: Why do you generate java from the package at all?
    Where do you want to call the package?
    Back to your question: you should see code like
        public void setDataSourceLocation(String dataSourceLocation) throws SQLException {
            javax.sql.DataSource dataSource;
            try {
                Class cls = Class.forName("javax.naming.InitialContext");
                Object ctx = cls.newInstance();
                java.lang.reflect.Method meth = cls.getMethod("lookup", new Class[] { String.class });
                dataSource = (javax.sql.DataSource) meth.invoke(ctx, new Object[] { "java:comp/env/" + dataSourceLocation });
                setDataSource(dataSource);
            } catch (Exception e) {
                throw new java.sql.SQLException("Error initializing DataSource at " + dataSourceLocation + ": " + e.getMessage());
    in the generated code. This code look up a datasource (which you have defined e.g. on the Weblogic Server) by calling the method
    setDataSourceLocaltion("jdbc/HRConnDS");
    This look up the datasource nad stores it in the class variable.
    Timo

  • Package javax.servlet does not exist, package javax.servlet.http does not

    Dear All,
    I am a newbie to JAVA.
    I installed JDK1.6.0_04, then NetBeans IDE 6.0
    I tried compiling an example servlet, but got this error message:
    package javax.servlet does not exist, package javax.servlet.http does not exist
    I tried locating these packages, but in vain. I also tried setting the CLASSPATH to many values, still it did not work.
    Can anyone, please, help me with this.
    Should I be able to see/locate these packages, do I have to download them?
    Thank you very much.

    davidgoodman wrote:
    Dear All,
    I am a newbie to JAVA.
    I installed JDK1.6.0_04, then NetBeans IDE 6.0
    I tried compiling an example servlet, but got this error message:
    package javax.servlet does not exist, package javax.servlet.http does not exist
    What servlet/JSP engine do you plan to deploy to? Tomcat, perhaps?I think it's Tomcat (C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14). Are there other engines that come with NetBeans IDE 6.0 (when I downloaded NetBeans, I chose ALL)
    >
    If so, you'll need to put the servlet JAR in your CLASSPATH. (servlet-api.jar for Tomcat 5.5 and earlier, servlet.jar for 6.0 >and later.)
    I tried locating these packages, but in vain.
    You won't find them until you realize that you have to deploy that servlet someplace.How to deploy?
    I also tried setting the CLASSPATH to many values, still it did not work.
    See above. What were you planning to set CLASSPATH to?First I set to:
    C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\lib (because I found jar named servlet-api.jar in this folder)
    Later I added this:
    C:\Program Files\Java\jdk1.6.0_04\lib (out of trial-and-fail)
    Finally I added some paths that lead to a library such as
    C:\Program Files\glassfish-v2\lib
    C:\Program Files\glassfish-v2\lib\ant\lib
    Can anyone, please, help me with this.
    Should I be able to see/locate these packages, do I have to download them?
    You have to get a servlet/JSP engine. Step 1.Thank you for your help

  • Renaming a existing org unit

    Hello All,
    My client wants to rename a existing org unit, so that the history should be available of the org unit.
    Scenario:-
    From dt. 01.01.2005 to 31.12.9999 the name of the org unit is ABC org unit. Now I want to rename the org unit as XYZ org unit with effect from 01.01.2011, so that I can know that from 01.01.2005 to 31.12.2010 name of the org unit was ABC & from 01.01.2011 to 31.12.9999 the name of the org unit is XYZ.
    Should I use the copy function to rename the org unit in tcode PO10 or PP01 or is there any other way to do so, so that the history of the org unit should be maintained.
    Regards,
    Daniel

    Hi Daniel,
    To do this go to PP01, enter the OrgUnit ID and then edit infotype 1000 (Object). You can set the start/end date of the new name when renaming it. This will delimit the previous record (the current name ABC) the day before the start date and create a new record (the new name XYZ) from the start date you entered.
    I hope that helps.
    Good luck!
    Luke

  • How do I rename an existing catalog

    how do I rename an existing catalog

    Lightroom doesn't have that capability within the software.
    The easiest way is to:
    Locate your catalog in your OS file manager. Rename the Catalog and the Preview folder without touching anything to the right of the decimal point. The names must be identical to the left of the decimal point for the Catalog and the Preview Folders.
    When finished, double click the NEWNAME.LRCAT to reopen LR with the renamed catalog.

  • How to add a file to an existing package programmatically in Acrobat 8?

    Hello
    Is it possible to add a file to an existing package programmatically in Acrobat 8? (embed a pdf file in a pdf package programmatically); If so, how should I do it?
    Thanks in advance,

    Finally, I found out how to add a file to an existing package programmatically by using JavaScript (function: app.execMenuItem("AddFileAttachment")). Thanks for your help Ironsenth. However, I need to specify the file to attach programmatically and I can't figure out how to do it.
    Could you let me know where I can find this information (what document to read)? Is there any parameters for the 'AddFileAttachment' method?
    Thanks in advance,

  • PLS-00801: Internal Error - Compiling Package in JDeveloper

    I am trying to compile a package in JDeveloper so that I will be able to debug it. The issue is that the whenever I compile it I get a back an PLS-00801: Internal Error.
    What is really strange is that when I compile it using sqlplus - the package comes back fine without any problems.
    The package is approximately 5400 lines, contains UTF8 characters (I turned on UTF8 encoding in order to get the package to show correctly [found that one on this site - thank you]). It contains approx 15 methods, lost of cursors, ...
    I am using the following version of JDeveloper.
    Version 9.0.4.0 (Build 1419)
    Oracle IDE: 9.0.4.13.2
    UML Modelers Vers: 9.0.4.12.69
    JMIG Framework: 9.0.4.3.75
    SCM Support Version: 9.0.4.12.69
    Business Components: 9.0.4.13.79
    Java Version: 1.4.2_03
    Java Home: c:\Programs\JDev9i\jdk\jre
    Any help would be greatly appreciated - even pointing me in the direction of the logs to see if I can track down why I am getting this error.
    Thank you
    Marc Padberg

    Okay -
    I broke down the PL/SQL package and figured out what was causing the internal error - it was a parameter that was based on ROWTYPE of a cursor.
    Whenever I have a CURSOR%ROWTYPE as a parameter I get an internal error in JDeveloper.
    Any help to resolve this would be greatly appreciated.
    I wrote a small sample package using dual that simulates this.
    CREATE OR REPLACE PACKAGE sample_problem IS
    PROCEDURE call_internal_method;
    END sample_problem;
    CREATE OR REPLACE PACKAGE BODY sample_problem IS
    CURSOR get_data IS
    SELECT 'Test' as NAME FROM dual;
    -- I have to comment this method out
    -- in order to compile in JDeveloper
    PROCEDURE internal_method_with(p_rec get_data%ROWTYPE)
    IS
    BEGIN
    DBMS_OUTPUT.put_line(p_rec.NAME);
    END internal_method_with;
    PROCEDURE internal_method_without
    IS
    BEGIN
    DBMS_OUTPUT.put_line('No Rowtype Passed');
    END internal_method_without;
    PROCEDURE call_internal_method
    IS
    lrec_get_data get_data%ROWTYPE;
    BEGIN
    OPEN get_data;
    FETCH get_data INTO lrec_get_data;
    CLOSE get_data;
    -- I have to comment this method out
    -- in order to compile in JDeveloper
    internal_method_with(lrec_get_data);
    internal_method_without;
    END call_internal_method;
    END sample_problem;
    /

  • Why did they skip the "save as" command in the last version of Keynote? how do I rename an existing keynote presentation quickly?

    Why did they skip the "save as" command in the last version of Keynote? How do I rename an existing keynote presentation quickly without the "Save As" command??

    Why did they skip the "save as" command in the last version of Keynote? How do I rename an existing keynote presentation quickly without the "Save As" command??

Maybe you are looking for