Editing and Compling a Database Package from a file

Hi,
I'd like to know if there is a way to open and edit a database specification and body source code file from the filesystem, and also be able to compile this is SQL Developer.
Currently I am able to open the .pks and .pkb files and I get 'Compile' and 'Compile for Debug' icons. However, when I hit these buttons they appear to do nothing. No messages are displayed to say if the package is compiled successfully or unsuccessfully. What I have noticed though is that the code is executed and the package is created on the database but there is no feedback. If I 'complile' a package that I know is invalid, the package becomes invalid in the database and vice versa. But I have no way of knowing this until I check the package on the database.
If I am doing something wrong or there is another way to do this, then please let me know. I really want to be able to work on these files from the filesystem rather than the database.
SQL Developer 1.5.1 on Windows 2000.
Cheers,
Jon.

Jon,
The current SQL Dev support for file based development in this area isn't wonderful. However, the output of "compiling" a PL/SQL file with the compile button (ie running as script) is shown in the Script Output tab of the Log dockable window. If you have the window docked and the Script Output tab selected, then it will normally display the following where the package body is invalid:
Warning: execution completed with warning
PACKAGE BODY MY_PACKAGE_PKG Compiled.
To show the errors there, you will need to use something like after the CREATE OR REPLACE PACKAGE BODY statement:
SHOW ERRORS PACKAGE BODY MY_PACKAGE_PKG
The output doesn't always appear and the treatment of compilation errors is nowhere near as good as when compiling directly in the database where you can jump to the error location with a double click.
theFurryOne

Similar Messages

  • When i signed in it recognized my name and password but then it asks formy password again but the email address i cant edit and it says like randompeoples from my buddy list it doesnt say mine so i cant enter my password

    when i signed in it recognized my name and password
    but then it asks formy password again but the email address i cant edit and it says like randompeoples from my buddy list i must of shared music or something with its so weird and it doesnt say mine so i cant put my password

    Go to Settings>icloud, scroll to bottom of screen and tap Delete Account.  Then log in using a different ID.

  • Compiling a package from source files

    I am trying to install a package from source files. The installation instructions for this package say that I should just download the scripts to one directory, enter the correct paths in the Makefile (which comes with the package) and run "make".
    The problem is that while the g++ compiler is there on my computer
    (there is a binary called g++ located at
    /Developer/usr/bin/g++
    I am not sure if that is the real compiler. Or where the c header files are, for instance, I can't find math.h, or stdio.h or any of the other standard files.
    Any help will be greatly appreciated. I am very new to command lines, so please explain as you would to a five year old.
    To help with specifics, I edited the Makefile so that the first part looks like:
    #MATLABDIR ?= /usr/local/matlab
    # for Mac
    MATLABDIR ?= /Applications/MATLAB_R2008b.app
    CXX ?= g++
    #CXX = g++-4.1
    CFLAGS = -Wall -Wconversion -O3 -fPIC -I$(MATLABDIR)/extern/include
    Thanks a ton for the help

    Your compiler program is gcc. (/usr/bin/gcc).
    http://gcc.gnu.org/
    in terminal type (at the prompt):
    gcc --version
    (press return)
    should output the following:
    i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
    Copyright (C) 2007 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    If it does, your compiler is alive and kicking and ready for action, if not, reinstall developer tools
    package from your SL install DVD.
    The usual ritual for compiling is to drag the directory containing the source code to your desktop,
    then, in terminal, change terminal path to the source directory using the change directory command
    "cd".
    example; say I have a program called cdrtools 2.0.1 and the source is in a folder I dragged to my
    desktop called cdrtools_2.0.1:
    In terminal i would type:
    cd /Users/kj/Desktop/cdrtools_2.0.1
    Follow the instructions that come with the package. Typically they will tell you to:
    ./configure
    ( Many packages have a configure script which will query your system and configure themselves
    appropriately. Not supported by all software).
    make
    ( Compile the software. Some require a file name to build such as make foo. make reads a file
    normally called Makefile for what commands to run).
    make install
    ( Install the software. Typically packages will put themselves in /usr/local. Run as root).
    That is the usual ritual, but you must follow the instructions that come with the software, as they
    may vary.
    Read documentation!
    Look for files called: INSTALL, README, SETUP, or similar.
    For more information see the following:
    http://luv.asn.au/overheads/compile.html
    Now beware that some source code written before Snow Leopard was released may not compile
    properly on SL, because of SL's 64Bit gcc extensions. If the source has not been updated to run
    under the Snow Leopard compiler, then the compilation may fail.
    IF the program fails to compile, or fails to run after compiling, then most likely, then the source
    may need updating.
    good luck, and don't pull all your hair out at once. Save some for later.
    The guys in the 'NIX forum can help you with all the grizzly details as you go on your quest.
    http://discussions.apple.com/forum.jspa?forumID=735
    Good luck,
    Kj ♘

  • I bought creative suite cs6 design standard student and teacher edition and the download did not work properly - files appear incomplete/ or damaged - none of the program items work at all. File size for installation seems very small for a product of this

    I bought creative suite cs6 standard student and teacher edition and the download did not work properly - files appear incomplete/ or damaged. File size seems very small for a product of this size. Can you assist with download issue or provision of software ?

    Lalalaladog where did you download CS6 from?  I would recommend downloading the installation files for Creative Suite 6 Design Standard at Download CS6 products

  • Read and write excel sheet data from uploded file in sharepoint site programmatically 2013

    hi team,
    I am working on sharepoint 2013.I want to read and write data in excel sheet (micrsoft excel) from stored file in shrepoint docoumnt library .please suggest me
    vijay

    Hi
    Vijay,
    check those links
    http://www.sharepointwithattitude.com/archives/61
    https://social.technet.microsoft.com/Forums/en-US/e760051b-a92f-473c-9ec9-0f0c36c99e40/read-and-write-excel-sheet-data-from-uploded-file-in-sharepoint-site-programmatically-2013?forum=sharepointdevelopment
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation. Please remember to mark the reply as answer if it helps.

  • Shrink Log file in log shipping and change the database state from Standby to No recovery mode

    Hello all,
    I have configured sql server 2008 R2 log shipping for some databases and I have two issues:
    can I shrink the log file for these databases: If I change the primary database from full to simple and shrink the log file then change it back to full recovery mode the log shipping will fail, I've seen some answers talked about using "No
    Truncate" option, but as I know this option will not affect the log file and it will shrink the data file only.
          I also can't create maintenance to reconfigure the log shipping every time I want to shrink the log file because the database size is huge and it will take time to restore in the DR site, so the reconfiguration
    is not an option :( 
    how can I change the secondary database state from Standby to No recovery mode? I tried to change it from the wizard and wait until the next restore for the transaction log backup, but the job failed and the error was: "the step failed". I need
    to do this to change the mdf and ldf file location for the secondary databases.
    can any one help?
    Thanks in advance,
    Faris ALMasri
    Database Administrator

    1. can I shrink the log file for these databases: If I change the primary database from full to simple and shrink the log file then change it back to full recovery mode the log shipping will fail, I've seen some answers talked about using "No Truncate"
    option, but as I know this option will not affect the log file and it will shrink the data file only.
          I also can't create maintenance to reconfigure the log shipping every time I want to shrink the log file because the database size is huge
    and it will take time to restore in the DR site, so the reconfiguration is not an option :( 
    2. how can I change the secondary database state from Standby to No recovery mode? I tried to change it from the wizard and wait until the next restore for the transaction log backup, but the job failed and the error was: "the step failed". I need to do
    this to change the mdf and ldf file location for the secondary databases.
    can any one help?
    Thanks in advance,
    Faris ALMasri
    Database Administrator
    1. If you change recovery model of database in logshipping to simple and back to full Logshipping will break and logs wont be resored on Secondary server as log chain will be broken.You can shrink log file of primary database but why would you need that
    what is schedule of log backup. Frequent log backup is already taking care of log files why to shrink it and create performance load on system when log file will ultimately grow and since because instant file initilaization is not for Log files it takes time
    to grow and thus slows performace.
    You said you want to shrink as Database size is huge is it huge or does it have lots of free space. dont worry about data file free space it will eventually be utilized by SQL server when more data comes
    2. You are following wrong method changing state to no recovery would not even allow you to run select queries which you can run in Standby mode. Please refer below link to move Secondary data and log files
    http://www.mssqltips.com/sqlservertip/2836/steps-to-move-sql-server-log-shipping-secondary-database-files/
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Uninstall Express Edition and reinstall regular database

    Hello,
    Two questions please:
    1 - howe can I uninstall the Express Edition version of the database?
    2 - Where (weblink) can I download verrsion 19g of the database?
    Thank you,
    André Luiz

    1 - howe can I uninstall the Express Edition version of the database?Run the setup program again.
    2 - Where (weblink) can I download verrsion 19g of the database?You'll have to wait some time for 19g, but the current releases can be downloaded from here
    http://www.oracle.com/technology/software/products/database/oracle10g/index.html

  • Path Problem: Can't Load Database Settings From  A File

    <b>I am writing a swing application with the following functionality:</b><br>
    (1) There is a base class that supports things like changing the look and feel &ndash; this is done via a JDialog that loads all the installed lafs from which the user selects a choice.<br>
    (2) Enables the user to set/change the physical database properties &ndash; location, password usernames and the like. -<br>
    The idea is that when the application starts up for the first time the user will be asked to provide the database settings and then they will be stored in a file and then every time the application starts the settings will be loaded from this file. This works out fine!!!!!!!!!<br>
    <br>
    <b>Now here is the problem:</b><br>
    All the above is supported by an abstract class that extends JFrame (I&rsquo;ve put abstract after testing) - MySuperFrame. After testing, I packaged this class together with other utility classes into a jar file.<br>
    So my application which inherits from MySuperFrame fails on start-up with an exception that the database settings file cannot be found &ndash; And I know that it is in the jar file.<br>
    +<br>
    I think that my problem is the path and nothing but the path &ndash; or relative path.+<br>
    <br>
    This is the structure of my project:<br>
    There is the src and the bin directories and then there is an external folder (not a package inside these two folders) called files (this is where my database settings file is stored).<br>
    How do I solve this problem?<br>
    How do I make sure my application loads the settings file regardless of where it is? I thought of passing the database settings file to a constructor of a database settings dialog class. But I don&rsquo;t know how to sort out the path issue.<br>
    <br>
    Please give me advice on how to implement that?

    Apologies for the bad formatting on the original posting. Here is the formmatted posting:
    Hi All,
    I am writing a swing application with the following functionality:
    (1) There is a base class that supports things like changing the look and feel &ndash; this is done via a JDialog that loads all the installed lafs from which the user selects a choice.
    (2) Enables the user to set/change the physical database properties &ndash; location, password usernames and the like. -
    The idea is that when the application starts up for the first time the user will be asked to provide the database settings and then they will be stored in a file and then every time the application starts the settings will be loaded from this file. This works out fine!!!!!!!!!
    Now here is the problem:
    All the above is supported by an abstract class that extends JFrame (I&rsquo;ve put abstract after testing) - MySuperFrame. After testing, I packaged this class together with other utility classes into a jar file.
    So my application which inherits from MySuperFrame fails on start-up with an exception that the database settings file cannot be found &ndash; And I know that it is in the jar file.
    +
    I think that my problem is the path and nothing but the path &ndash; or relative path.+
    This is the structure of my project:
    There is the src and the bin directories and then there is an external folder (not a package inside these two folders) called files (this is where my database settings file is stored).
    How do I solve this problem?
    How do I make sure my application loads the settings file regardless of where it is? I thought of passing the database settings file to a constructor of a database settings dialog class.*{color:#ff0000} But I don&rsquo;t know how to sort out the path issue.{color}*
    Please give me advice on how to implement that?

  • Problem Accessing Class in my package from jsp file

    Hi,
    I am using Apache tomcat server and i have made package which contains a class for database connection. I have imported this package in my jsp file but when i run the jsp tomcat gives the class not found exception. i have placed the jsp file in /webapps/my_project/ folder and the package in the /webapps/my_project/WEB-INF/classes/ folder.
    Still its not working.
    Please help me out!!!!!!!!

    hi,
    Thanks for ur reply. You have guessed it right, i dont have a .jar file its a .class file in a package subfolder. I have tried out ur suggestion but it didnt work. The following error i shown when i run it.
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\Apache Tomcat 4.0\work\localhost\_\College\test$jsp.java:4: Package college_lib not found in import.
    import college_lib.*;
    ^
    1 error, 1 warning
    Here, College_lib is the package name which contains the class my class file
    Is there any problem with my Apache Tomcat4.0 or any other thing.
    Message was edited by:
    Despo

  • How do I import multiple Ai files into one Indesign File - whilst still keeping the Ai Files editable and up dateable for the one Indesign File?

    Hi All,
    Im relatively new to Ai and Indesign, and have been doing Uni work over Christmas, and have a rather urgent question thats stressing me out.
    I originally had many art boards in my ai file, but due to the number, I split these into single files to help my computer run better.
    Now I want to organise them into one document to save. From searching online Indesign can import these and save as one file, yet automatically update if the original ai file is updated. I would like to do this but just don't know how to do this correctly?
    Any help would be greatly appreciated.
    Im using CC Ai and indesign.
    Thanks in advance
    Sam

    Yes, effectively I would like to catalogue the files into one collection so i can save as one PDF and Print as one.:)
    I know I could save each AI as a pdf them then merge the pdf's together in acrobat, but I have nearly 100 files so would feel more comfortable seeing them all together before print / saving.
    My concern is that if I insert them in Ai, will the file resolution reduce? and will the ai still be editable and would it update the indesign file?
    Thanks for the quick reply

  • How to edit and add a signature on a pdf file

    how to edit and insert signature on a pdf attachment
    Creating, Editing & Exporting PDFs

    First the PDF file has to be editable.
    Then it depends on whether you want to sign it with an annotation (Acrobat stamp), an Electronic Signature (a.k.a EchoSign) or a Digital Signature (Acrobat).
    If it's a Stamp then go to Sign Panel>Get others to Sign and then you can use the Place Signature button.
    If it's an Electronic Signature then after you finished your stamp then just follow the wizard that pops up when you click the Signed. Proceed to Send Powered by EchoSign
    If it's a Digital Signature then go to Sign Panel>Work with Certificates>Sign with Certificate and follow the wizard.

  • Help Saving and recalling a TDS Waveform from a file.

    I have tried everything I can find in the examples with no luck.
    I have a Waveform that I have acquired on my TDS 360. I have it ouput to a graph on the VI front panel.
    That works great.
    The Graphed waveform is exactly what I need.
    Now all I want to do is save this to a file and be able to recall it later on another graph.
    I have to do 10 acquistions in a row and store each one as a serperate file.
    I want to be able to recall them one by one to a graph for analysis.
    Please does anyone have an VI I can copy.

    Try this. The Tek Read Waveform returns a cluster that the waveform graph can accept but the Write Measurement File expects either a signal data type or a waveform data type. The code below will convert the cluster to a waveform data type.
    Message Edited by Dennis Knutson on 02-27-2007 10:59 AM
    Attachments:
    Save Tek as Waveform.PNG ‏7 KB

  • Want to record edit and burn dvds of videos from canon camcorder what is the best way

    what is the easiest way to transfer recordings from my canon camcorder hd to dvds after editing. The new imovie does not have idvd on it to burn dvds.

    I'm assuming you're editing in iMovie? If you still have an older retail version of iLife, you can use that to install iDVD - I am using it with mavericks. Or, the retail 09 and 11 iLife disks are still available at some online resellers. The best thing out there still is iDVD with its customizable menus, themes, etc. However, there are other options for just burning: one good ons is Roxio Toast; then there is the free app Burn (basic I'm told, but works). Or google for others. Personally, I'd get iDVD.
    The new iMovie (or the older versions) did not have iDVD built in - it's just a link to the iDVD application. FWIW, I prefer to use the older iMovie versions because they have more quality options to choose from when exporting. With the new iMovie, choose to export to file and choose your recording size and then you can drag that file into a burning app (or iDVD if you get it).

  • When I am finished editing and I click on library from develop, LIghtroom will no longer save my sharpening edit. How do I fix this?

    When I am done editing a photo and want to export it, I click on library from
    develop, and Lightroom will no longer save the setting I used in detail for sharpening.This
    has never been a problem before; How do I fix this?

    Are you setting the sharpening at 100% zoom (1:1)? Only when zoomed in is the sharpening applied to the Develop display. Also, LR may not be redrawing the Library preview image file. To force the creation of a new preview, select loupe view (E) and zoom to 1:1 and then out to fit.

  • Resources and public folder database - migration from 2007 to 2013

    We migrated our resource mailboxes thru the move mailboxes in 2013 EAC but now we're at the point of decommissioning our 2007 servers.  Before the actual decommission we stopped all 2007 services and dismounted all 2007 databases.  Once we did
    this the resources would no longer work - errors pertaining to cannot directly book the resource.
    I had to bring up the public folder database for the moved resources to work again.  We do not use public folders any longer so we did not do any type of public folder migration.  Do I need to do this for the resources to work?

    Hi,
    Could you please tell me your Outlook version?
    I saw someone got the following error when he tried to book resource after migrating from Exchange 2007 to Exchange 2010, if Outlook version is Outlook 2007. But Outlook 2010 worked well.
    "Cannot directly book a resource for this meeting."
    Please switch between online and cached mode to check the result. And please check if this issue occurs in OWA.
    If possible, please use Outlook 2010 to check the result.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

Maybe you are looking for

  • Bug 6002713: Describe table@db_link gives an error that the object does not

    Not sure if this is correct place to report on a known bug, can't seem to find a bug site/database on the SQL Developer home page. Anyway in SQL Developer 1.2.1.32.13 release notes it says that the bug that stops you describing tables via a database

  • How to insert documents first pagenumber on any page?

    Does anyone know how to insert the pagenumber from the first page in a indesign-document, on a page of choosing? I can only find how to add a document last-page as a number. Example: A document with page 10-20. On page 3, 4 or 13 I would like to have

  • Two sub columns under a column of a table

    Dear Gurus, I've a requirement which is very new to me. I've an ALV table with say some 9 fields. Of 9 fields, 2 fields or say columns should 2 sub columns each under which the related data will come. For ex: Field 1         Field 2        Field 3   

  • Custom VO for OTL Custom Timecard Error in R12

    Hello All, I am very new to OA Framework and JDev so first let me write down the steps I did before I got the error on one of the LOVs on timecard page. 1. Created a database view called HXC_CUSTOM_VIEW with only 2 columns 2. Created VO via Jdev in r

  • Using third party tool to initiate a Forte batchprogram

    Hello Forte Users, Our company has acquired a software product called Maestro. It's a production scheduling facility that manages tasks for batch mode execution. We would like to know if anyone out there has had any experience using this product with