I'm working on a package with some procedures in them and I'm running into a bit of trouble. When I try to test the procedure to convert gallons to liters or the other procedures, it just prints out what was declared in the unnamed block instead of converting the numbers. Any ideas?
CREATE OR REPLACE PACKAGE eng_metric
IS
PROCEDURE ...
I'm trying to build 3 packages, A, B and C. A defines some base classes that are used in B and C. I've got all 3 of them in the same project group, all set up to output to the same custom BPL output folder. This folder is in the search path for B and C. But when I go to build B and C, the compiler chokes on the Requires list. "Requir...
I have seen that most of the components (VCLs) in Delphi are split in two parts.
1) DesignTime Package
2) RunTime Package
Why all this fuss. What difference does it make if both RunTime and DesignTime packages are united into one single Package?
I have never really been able to understand this separation logic.
So what is the logic be...
I have SQL SERVER database that have a huge proliferation of stored procedures. In my Oracle databases it's not a problem because Oracle supports packages.
Even if SQL Server didn't support the cool features of packages like State and encapsulation, what do programmers do to get around this obvious deficiency?
...
Suppose that I have 2 packages : A and B.
In package A, I call a procedure in package B.
In procedure of packcage B, is it possible to know that procedure has been called from package A ?
Thank you very much for these informations. It was very instructive.
I appreciate.
...
I'm looking to write a small Scala library to get a feel for its Actor programming model.
In the example code I've come across, some libraries use inverted domain (e.g. org.foo.bar) for packages and some do not (maybe just for brevity).
Is it advisable for Scala libraries to use the same package naming conventions as Java? More ge...
Now that I am learning more about design time aspects of component development, I have what may turn out to be a couple of IDE "plugins" targeting Delphi 2007 (+ others if compatible).
The forms / UI for these, ideally, will utilize some of the third party components I use regularly. Assuming the licensing is okay to distribute those c...
I am writing a python package with modules that need to open data files in a ./data/ subdirectory. Write now I have the paths to the files hardcoded into my classes and functions. I would like to write more robust code that can access the subdirectory regardless of where it is installed on the user's system.
I've tried a variety of met...
Is there a free package for reading, manipulating and writing ASN.1 in Java?
It must be:
Free
Lightweight
Self-contained (without external dependencies on, e.g. Apache commons)
Java 5 (not Java 6), and Java 4 is preferred.
...
Given a package, how can I automatically find all its sub-packages?
...
How can I open __init__.pyc here?
>>> import stompservice
<module 'stompservice' from 'C:\Python25\lib\site-packages\stompservice-0.1.0-py2.5.egg\stompservice\__init__.pyc'>
All I see in C:\Python25\lib\site-packages\ is the .egg file, but where are the internal files of the package?
...
I have made a directory called "middle" and inside it another directory called "tier" and inside the "tier" directory are OrderManager.java which is an interface and OrderManagerImpl.java having its implementation.
The problem is when I try to compile OrderManagerImpl.java from outside the package middle.tier it compiles but when I do t...
I am going to move to a 64 bit machine and a 64 bit OS (Windows) and am trying to figure out if any of the extensions/packages I am using are going to be lost when I make the move. I can't seem to find whether someone has built a list of known issues as flagged on the Python 2.5 release page. I have been using 2.5 but will at this tim...
I was looking at this question and I wondered to myself are there any design patterns/rules of thumb that you can use when breaking up your project into packages/assemblies.
I usually don't seem to have any issues with this as I tend to just break stuff up into packages/assemblies such that each does as little as possible that is releva...
Hi all,
I am going through most of my applications and porting them to D2009 and I have one application that makes use of dynamic packages. For the life of me I cannot get my host application to recognize classes registered in a package. I traced through and the initialization section in the package being loaded was called and RegisterC...
i'm new to a team working on a rather large project, lots of components, dependencies. for every component, there's an 'interfaces' package where the 'exposed' interfaces for that component is placed. is this a good practise?
my usual practise has always been interfaces and implementations in same package.
was wondering what's the sta...
I am running CentOS 5.2 and using yum to manage packages. I have had little luck installing php-posix but know with almost 100% certitude that it is a real and available package...somewhere. Has anyone had luck installing it?
FWIW, I am using the following:
sudo yum install -y php-posix
Update: I've realized that this may be an issue ...
How do I reference a file relatively to a package's directory?
My directory structure is:
/foo
package1/
resources/
__init__.py
package2/
resources/
__init__.py
script.py
script.py imports packages package1 and package2. Although the packages can be imported by any other script on the syste...
For my program for auto installing Delphi 7 packages I need to find about 50 packages (for testing required time to install them to the palette). Maybe someone have many packages in archive and can upload it to the free file hosting or FTP server?
...
Say I have developed a game, and placed it in the package structure:
com.dxmio.games.breakout
Where then is the 'best practice' place to put resources like audio and images that the game uses?
...