How to rename a package?

Does anyone know, how I can rename a BC4J-Package in JDeveloper 9i ?
For example, How can I move all classes and files located in
de.mycompany.myapp.tools
to
de.mycompany.myapp.tools.converters
Or, how can I correct a typo like this:
de.mycompany.myapp.tolls
should be:
de.mycompany.myapp.tools
How can I do this the easiest way?
Any hints would be appreciated.
Frank

Bug 2247064 is filed to track making the refactoring work for BC4J components.
Today the refactoring works for plain Java classes, but not for the XML+Java-file-based BC4J components.
BC4J supports renaming individual components, but not automatically renaming a package.
The package name is referenced in many places in the XML metadata (everywhere a fully-qualified component name is referenced by name), so the renaming of a package will require "fixing up" various bits of metadata in the XML to keep everything in sync.
I'll see if I can craft up an XSLT stylesheet that would rename all of the metadata automatically as an interim helper.

Similar Messages

  • How to rename the package name?

    Thanks for reading my post.
    I need to rename my project, but the package name stays the same. When I tried to rename it, IDE tells me that "rename default package is not supported". Is there any way that I can rename the package?
    Thanks in advance,

    thats a very good question, I have been just living with it myself figuring if the IDE couldn't change it things could get pretty ugly trying to dig down and do it manually. I'll watch this thread and see if anyone comes up with any ideas.

  • Renaming a Package?

    Hi All.
    SAP does not give an option to rename a Package (SE21).
    I can only copy and create a new one.
    So if I want to rename an existing package, how do I do that? Issue is how will all existing objects tied to that package be automatically shifted to the new package name?
    Thanks in adv.

    That's what I thought, and so I posted it in the forum
    Still, if anybody has found a workaround to this problem, do let me know please.

  • How to rename a column name in a table? Thanks first!

    I tried to drop a column age from table student by writing the
    following in the sql plus environment as :
    SQL> alter table student drop column age ;
    but I found the following error
    ORA-00905: 缺少关键字 (Lack of Key word)
    I have oracle enterprise edition 8.0.5 installed at windows 2000
    thank you
    And I want to know how to rename a column name in a table?
    thanks

    In Oracle 8i, your syntax would have worked.  However, if I
    recall correctly, in Oracle 8.0, you can't rename or drop a
    column directly.  One way to get around that problem is to
    create another table based on a select statement from your
    original table, providing the new column name as an alias if you
    want to change the column name, or omitting that column from the
    select statement if you just want to drop it.  Then drop the
    original table.  Then re-create the original table based on a
    select statement from the other table.  Then you can drop the
    other table.  Here is an example:
    CREATE TABLE temporary_table_name
    AS
    SELECT age AS new_column_name,
           other_columns
    FROM   student
    DROP TABLE student
    CREATE TABLE student
    AS
    SELECT *
    FROM   temporary_table_name
    DROP TABLE temporary_table_name
    Something that you need to consider before doing this is
    dependencies.  You need to make a list of all your dependecies
    before you do this, so that you can re-create them afterwards. 
    If there are a lot of them, it might be worthwhile to do
    something else, like creating a view with an alias for the
    column or just providing an alias in a select.  It depends on
    what you need the different column name for.

  • How to Rename a Topic ID in Map File to Avoid Conflict with Another Program?

    Robo 8 HTML:
    Can somebody assist me in understanding how to rename a topic ID in my map.h file?
    An application programmer informs me there are nine topic IDs (shown below) in my project map file which conflict with predefined names of constants/functions from the Visual Studio Libs program and, is requesting I change the names of the topics listed below to resolve topic ID conflict in order to enable F1 call for these topics.
    #define Open    59
    #define Save    60
    #define Print   63
    #define Cut     72
    #define Copy    73
    #define Paste   74
    #define Clear   75
    #define Status  81
    #define Substructure  139
    Can I simply alter the topic names and retain their associated map numbers in <Create/Edit Map ID> dialog to resolve the map file conflict with Visual Studio Libs program functions? Or, is there more work involved in changing a topic name in a map.h file?
    Any assistance with this question is greatly appreciated.
    Thanks,
    robert

    Hi,
    Simply renaming the TopicID's in the .h file won't work. The TopicID is used in the alias file (projectname.ali) to link a map number with a topic. Also, you can use either TopicID's or map numbers to call the help. (Using TopicID's only works for WebHelp afaik.)
    If you use map numbers to call the help, you can rename the TopicID using the mentioned dialog. No problem.
    If you want to change the ID from the files, you have to change both the .h file as the .ali file. No changes to topics needed.

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to rename a macbook pro 13 inch 10.7.3 version

    how to rename a macbook pro 13 inch 10.7.3 version?

    As for the Users...
    Go to system preferences - users and groups - click the plus sign - add the name you want.
    Restart your MB - login with your username.
    go back to users and groups - highlight your uncles name - click the minus sign.

  • Can't figure out how to rename css style in mx

    Hello,
    I can't figure out how to rename css style in mx. I have the
    style selected in the proprety inspector. Is there supposed to be a
    rename option at the bottom of the same dropdown box? There is
    option to edit style and a few others in same dropdown box... but
    no rename option. Please be specific... I have looked it up on the
    internet... but still cant find the option.
    Thanks,
    PoJ

    Do a Find and Replace to find name1 and replace with name2.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "computerpain" <[email protected]> wrote in
    message
    news:ed43p3$m9h$[email protected]..
    > Hello,
    > I can't figure out how to rename css style in mx. I have
    the style
    > selected
    > in the proprety inspector. Is there supposed to be a
    rename option at the
    > bottom of the same dropdown box? There is option to edit
    style and a few
    > others in same dropdown box... but no rename option.
    Please be
    > specific... I
    > have looked it up on the internet... but still cant find
    the option.
    >
    > Thanks,
    > PoJ
    >

  • How to change the package name of Managed Bean class

    Hi: Gurus, when ever I create a new JSP page the Creator creates a code behind file with a package name untitled. Is there any way to change this package name? Can't the Creator gives us an option before genereating manged bean page to choose a package name? And then create the Java source directory structure on the basis of the pakcage name?
    Regards,
    Rashid.

    In the Project Navigator (default location is middle right), go to Java Sources, and you can rename the package ("untitled") to something else by right-clicking it or by left-clicking (just like Windows Explorer).
    I agree, though, that giving the developer an option during creation of the JSP page would be nice.

  • How to open a package body in Oracle sql developer

    How to open a package body in Oracle sql developer..any shortcut for that

    I need another way to get to my package body. I'm on a locked down system, so the only way I can reference anything is if I already know the name of it. I accidentally overwrote my text document that I was using to work on it and I closed out of the package body in sqldeveloper. There must be a command, like an alter or some such. Anyone know the old fashioned way of looking at a package?

  • How to create a package in ECC 6.0.

    Hi,
    Can you tell me how to create a package in ECC 6.0 system?
    Thanks in advance,
    Regards,
    Arnab.

    Hi,
    Thank you for your replies.
    Can you tell me the difference and uses of the two types of package I can create from SE21.
    i.e. : Package and package interface. any sap link would also be helpful. I need to know where i can use what and what would be helpful for my case.
    Regards,
    Arnab.

  • How to Install UTL_SMTP Package in Oracle 8.1.5

    Hi
    We are trying to use UTL_SMTO package to send mail.
    Will this package runs in Oracle 8.1.5? Any restriction on using this package?
    How to install this package? Where the SQL for this package is residing.
    If anyone can answer for this, we will be thankfull to you.
    regards
    Santhosh

    Hi,
    Run d:/oracle/ora81/rdbms/admin/utlsmtp.sql as SYS user. It create the package UTL_SMTP.
    Hope this helps.
    rukmini

  • How to rename a file in Application server

    Hi All,
    Here I have a issue with  the present file which is being generated in application server.
    Before the completion of the file the EDI tool is extracting the file from the app server.So here I would like to generate the file with a temp name and then rename to the actual file name which EDI recognises and fetches.
    Please correct me If I am wrong and let me know how to rename the file in application server.
    Thanks,
    Vijay N

    you can try using unix command , if your application server is unix.
    use move command
    mv   <source>  <target>
    REPORT ZUNIX line-size 400
                    no standard page heading.
    data: unixcom like   rlgrap-filename.  
    unixcom = 'mv file1 file2'.
    data: begin of tabl occurs 500,
            line(400),
          end of tabl.
    data: lines type i.
    start-of-selection.
      refresh tabl.
      call 'SYSTEM' id 'COMMAND' field unixcom
                    id 'TAB'     field tabl[].
    or else you can open dataset/ read the dataset and move it to another file and delete the old file.

  • How to rename the column name in oracle 8i?

    hi,
    Does anyone know how to rename the column name in oracle 8i?My method was drop the relationship key first then delete the old column,finally add the new column.
    Thanks for your replay.
    jing

    There is no facilty to rename a column name in Oracle 8i. This is possible from Oracle 9.2 version onwards.
    For you task one example given below.
    Example:-
    Already existed table is ITEMS
    columns in ITEMS are ITID, ITEMNAME.
    But instead of ITID I want ITEMID.
    Solution:-
    step 1 :- create table items_dup
    as select itid itemid, itemname from items;
    step 2 :- drop table items;
    step 3 :- rename items_dup to items;
    Result:-
    ITEMS table contains columns ITEMID, ITEMNAME

  • How to rename folder in Final Cut Pro X project library?

    How to rename folder in Final Cut Pro X project library? I can't double click on folder, when I right click it just gives options to erase. Can someone help?

    I think you may have misunderstood - the question is regarding renaming a project "folder", not a project name.
    Still, the accepted answer here makes no sense to me at all - it's about renaming an event. So we're all confused ;-)
    BTW as of 10.0.5, I still cannot rename a project folder while background tasks are running - no clue is given that this is what's going on, second-clicking on the folder just (frustratingly) does nothing. When background tasks finish, it works again.

Maybe you are looking for

  • Acrobat 8.1 vs. 9.0 with FrameMaker 8.0

    We're upgrading to FrameMaker 8.0. We're also upgrading Acrobat. Turns out we have some spare licenses for Acrobat 8.1. Is there any advantage to 9.0 worth the upgrade cost?

  • Problem in Inventory,Stock

    Hello everyone Try to be brief When you open the module reports, inventory, audit reports of stock ... I show different results accumulated value by changing the date or select a different store. Sorry for my english Edited by: Philip Eller on Jun 26

  • Can't Put Movies On The iPod..........THEN WHAT'S THE POINT OF VIDEO IPOD

    I've tried everything to get movies on my iPod. I bought $30 QT PRO because I was told that that has the only format that can import movies on the iPod. After I bought it I tried to use it but I get an error -43 messege. Next I was told to then downl

  • Center aligned Text in image

    Hai, I urgently need help. I want to create a jpg image which is totally white in this white image i draw some multiple line text which i want to write in the center of image. I send the Text as string to my class through servlet file. The string has

  • Report works on development machine, but not on distributed machines

    New to CR, I use VS2005 and have added a crystal report that works fine on the development computer. I use the one click deployment to distribute my application with the report on a form. When I try to populate the report, I get the following error: