packages

How to find and remove unused Delphi packages from a project

How to find and remove unused Delphi runtime packages from a project that uses packages? I have a Delphi project that is made up of several packages, in the requires part of the packages there are several Borland/3rd party packages listed (rtl.dcp, vcl.dcp ect) I know I need most of them, but there are ones I know I don't need that have...

Which one is better: DMG or PackageMaker

Hi Here's my requirement: 1. I want my installable to have a custom license agreement 2. run another package as part of the installation 3. let the user have an option of running the app on start-up What should I use, create a dmg or use PackageMaker available with xcode? Are there any good web pages showing how to use PackageMaker? T...

Packages in Eclipse/CDT

Is it possible in Eclipse to have some kind of packages (sets of projects) when using CDT projects? We have separated our software in such packages and use VS2005 with .sln files for the Windows parts. At the moment I see only two ways to manage the projects in Eclipse: Put all together into a single workspace and loose the package or...

How do YOU manage Perl modules when using a package manager?

A recent question here on SO got me thinking. On most Linux distributions that I tried, some Perl modules would be available through the package manager. Others, of course, not. For quite a while I would use my package manager whenever I needed to install some CPAN module to find out whether a package was available or not and to install...

Split packages in plain java

OSGi has a problem with split packages, i.e. same package but hosted in multiple bundles. Are there any edge cases that split packages might pose problems in plain java (without OSGi) ? Just curious. ...

Adding Java packages to GWT

I've tried searching but couldn't come up with a defined way on how to add your own packages to a GWT project. My tree structure looks like this: -com.mycompany -public MyApplication.html MyApplication.gwt.xml -com.mycompany.client MyApp.java -com.mycompany.gui TableLayout.java The answer I've seen out there says to ad...

How do I use a Perl package known only in runtime?

Hi, I have a Perl program, that needs to use packages (that I also write). Some of those packages are only chosen in Runtime (based on some environment variable). I don't want to put in my code a "use" line for all of those packages, of course, but only one "use" line, based on this variable, something like: use $ENV{a}; Unfortunatel...

How to get list of units in a Delphi Compiled Package (.dcp file)

Is there a way to list what units/classes are in a Delphi compiled package? ...

What do you expect from a package manager for Emacs

Although several thousand Emacs Lisp libraries exist GNU Emacs does not have an (internal) package manager. I guess that most users would agree that it is currently rather inconvenient to find, install and especially keep up-to-date Emacs Lisp libraries. Pages that make life a bit easier While we wait for a good package manager. Ema...

Delphi Library Path - what should really be going in there?

I've been putting the path to the unit (.pas) file folders of our packages into the Delphi Library path but I'm beginning to wonder if this is a mistake! Take this problem for an example: I have two home grown packages: LowLevelPackage HighLevelPackage HighLevelPackage uses units contained in LowLevelPackage. If the path to both pa...

Does Perl monkey-patching allow you to see the patched package's scope?

I'm monkey patching a package using a technique given at the beginning of "How can I monkey-patch an instance method in Perl?". The problem that I'm running into is that the original subroutine used a package-level my variable which the patched subroutine appears not to have access to, either by full path specification or implicit use. ...

Java Web Project Structure Best Practice

Hi All I am starting a new Java Web Project which is using Hibernate and a standard MVC Architecture. I have just started to layout the projects structure and while doing this I started to look around to see if there was any standards in this area, about where Controllers should go and generally the best way to lay everything out. Howe...

Can you find all classes in a package using reflection?

A beginner question about reflection, I suppose: Is it possible to find all classes or interfaces in a given package? (Quickly looking at e.g. Package, it would seem like no.) ...

LIB file output locations for Delphi 2009 packages.

When building a Delphi 2009 component package, how do you specify which directory should contain the resulting .hpp and .lib files needed for C++ Builder users? ...

What strategy do you use for package naming in Java projects and why?

I thought about this awhile ago and it recently resurfaced as my shop is doing its first real Java web app. As an intro, I see two main package naming strategies. (To be clear, I'm not referring to the whole 'domain.company.project' part of this, I'm talking about the package convention beneath that.) Anyway, the package naming conven...

Best practice for controlling access to a ".internal" package

I write Eclipse plugins and export some classes as an API while wanting to restrict access to other classes. I follow the common Eclipse practice of separating these classes into a ".internal" subpackage. However, then I can't use "package" or default level access on these classes since many of them need to be used by the classes I'm ...

Anyone know of any staticly-typed scripting languages?

I'm about to start an LFS-based linux distro just for a hobby project. I plan on doing some very non-standard tasks, and most of it will involve change almost all scripts in the distro. (mainly init scripts, but also I'll be writing a simple set of package manager scripts.) Since I'm gonna be going this far off the norm, and since I have...

Getting a list of all modules in the current package

Here's what I want to do: I want to build a test suite that's organized into packages like tests.ui, tests.text, tests.fileio, etc. In each __init__.py in these packages, I want to make a test suite consisting of all the tests in all the modules in that package. Of course, getting all the tests can be done with unittest.TestLoader, bu...

How do I find out the filename of a Perl package?

I would like to translate a Perl package name to the full path of the file. say package_name_to_path('Foo::Bar::Baz'); /tmp/Foo/Bar/Baz.pm I know there is a CPAN module to do this? I just can't find it again? ...

packaging vs2005 project

Hello, Here are the steps I take to create a package shipped to the end users: Use visual studio 2005 Build the project (which is library DLL written in C#), both in debug and release mode. I run doxygen and create documentation I create a folder structure where I put my dll documentation and some release notes zip it ship it the ...