packages

Check for Ruby Gem availability

Is there a way to check if some gem is currently installed, via the Gem module? From ruby code, not by executing 'gem list'... To clarify - I don't want to load the library. I just want to check if it's available, so all the 'rescue LoadError' solutions don't help me. Also I don't care if the gem itself will work or not, only whether it...

Frame inheritance and duplicate files in packages

I have been developing a number of components using TFrames and ModelMaker -- I've found the combination of visual design/development + inheritance + ModelMaker to be very compelling. I then register these TFrame descendants w/a registration unit, and they become full-fledges palette-based components from there. I'm using Delphi 2007. E...

Obj C - #import < > and " "

I'm wondering what decides whether you're allowed to use < > or " " when you're importing files in objective c. So far my observation has been that you use " " for the files in your project that you've got the implementation source to, and < > when you're referencing a library or framework. But how exactly does that work? What would I ha...

Am I stupid for not using custom packages in Flex 3 (flash)?

When I create a new class file in Flex 3 it warns me that I should not use the default package. I personally never used packages before, but think that packages won't make things any more easier since I just want to be able to use all my classes everywhere without importing all kinds of packages which I would have to remember the names ...

Delphi Package: "The following changes must be made..." never goes away.

On one of my packages, which was adapted from another using Save-As and edit, I keep getting the following message (this is in Delphi 2007): ======= The following changes must be made before this package can be compiled. Choose OK to apply these changes and continue compiling. Remove cmSizePanel_Reg. Unit(s) cmSizePanel_Reg were...

A Dashcode project without a Dashcode project package

Dashcode keeps source files in a ".dcproj" project file, which is really a package to OS X, which in turn is actually nothing more than a directory structure. I'd like to continue to use Dashcode but without the "convenience" of the ".dcproj" structure. Why? I want to... check the source code into Mercurial use TextMate when develop...

Newbie question: how to include JAR files when compiling?

I have the following in a java file (MyRtmpClient.java): import org.apache.mina.common.ByteBuffer; and ByteBuffer is inside a JAR file (with the proper directory structure of course). That jar file and others I need are in the same directory as the .java file. Then I compile with the line: javac -cp ".;*.jar" MyRtmpClient.java But...

Newbie question about Lisp and Packages

Here is the back story skip to the bottom if you do not care and only want to see the question. So I have been playing around in LISP for a little while. Some basic functions, some classes ,and file IO. When I run across this article: http://www.adampetersen.se/articles/lispweb.htm And I am excited to try and use lisp for a web appli...

SSIS Package tasks execution detail

We have deployed SSIS packages in one of our Prod Server using source server as another Prod DB server, in this job I have many packages (almost 10 packages) with many tasks and sub tasks. The job is executing successfully and we can find the each package execution start time and end time using job steps. Now we would like to know ea...

How to diagnose "Cannot access package information" error in Delphi IDE

I am developing a set of TFrame-based components that inherit from one another (as so many who have helped me tremendously along the way already know!), and am running into yet another little "snag," related to packages and installation. I have essentially the following hierarchy: TFrame TBaseFRame TBaseSizeableFrame TViewerType1 ...

Trying to import a module that imports another module, getting ImportError

In ajax.py, I have this import statement: import components.db_init as db In components/db_init.py, I have this import statement: # import locals from ORM (Storm) from storm.locals import * And in components/storm/locals.py, it has this: from storm.properties import Bool, Int, Float, RawStr, Chars, Unicode, Pickle from storm.prope...

Java Package Introspection

How do i get all classes within a package? ...

What do the *-dev packages in the Ubuntu repositories actually contain?

My question is very basic, as is my knowledge right now. I'm a long-time Linux user, but have only recently taken a major interest in programming. I see that many popular applications in the Ubuntu repositories have -dev packages (e.g. pidgin-dev in addition to pidgin). My question is this: What is in these packages? How does download...

Delphi 2006 loses component package

Delphi 2006, whenever started afresh, loses component package. This happens on a daily bases. We have component packages with custom VCL components that we wrote ourselves. When starting up Delphi 2006, nothing is noted. But as soon as I open a form that has some of these components on it, I receive bds.exe - Unable To Locate Compone...

"Cannot load package A, it contains unit X, which is also contained in package B"

(More package/component install fun for me -- thanks everyone for all your help to date). I am getting the error listed as the title, in Delphi 2007. Package A is my package of frame-based "viewer panels." Package B is a package containing a couple of components that are used to show information about datasets linked to a gven databa...

What is the most compatible way to install python modules on a Mac?

I'm starting to learn python and loving it. I work on a Mac mainly as well as Linux. I'm finding that on Linux (Ubuntu 9.04 mostly) when I install a python module using apt-get it works fine. I can import it with no trouble. On the Mac, I'm used to using Macports to install all the Unixy stuff. However, I'm finding that most of the pyth...

Visual c++ redistributable redistribution

I'm coming from a Linux background, but I'd like to provide a version of my software on Windows. For users to run my program, they will need the Visual C++ redistributable. I would like to provide it for them as part of the package. My worry is that there, in the future, will be an SP2 of the Visual Studio 2008 Redistributable. If I ...

Delphi "E2161 Error: RLINK32: Error opening file ________.drf " during Build All

I am trying to resolve a problem with a set of packages that apparently have dependency issues. Occasionally during a Build All, I get this error: Delphi "E2161 Error: RLINK32: Error opening file ____.drf " What does it mean / indicate, and what is a "drf" file? ...

Is "implicitly imported" always a bad thing in Delphi packages?

Trying to rearrange my packages for a set of TFrame-descendent components, I'm finding it seemingly necessary to break out some of my utility TFrame descendents separate from the dialog forms which use them, mainly because the former are registered to the palette as true components and that seems to confuse the IDE sometimes with respec...

How do I remove packages installed with Python's easy_install?

Python's easy_install makes installing new packages extremely convenient. However, as far as I can tell, it doesn't implement the other common features of a dependency manager - listing and removing installed packages. What is the best way of finding out what's installed, and what is the preferred way of removing installed packages? Are...