packages

How to import classes defined in __init__.py

I am trying to organize some modules for my own use. I have something like this: lib/ __init__.py settings.py foo/ __init__.py someobject.py bar/ __init__.py somethingelse.py In lib/__init__.py, I want to define some classes to be used if I import lib. However, I can't seem to figure it out without separating t...

Adding forms and frames to packages

I am developing a package of IDE-registered components, most of which are derived from a base TFrame class. There are also various custom dialog forms that are called by these components, included in the package. I'm working in Delphi 2007. I'm noticing that sometimes frame and form units, which normally have an associated DFM file, d...

Quickest method to package a Java console app

I've got a very small set of classes built up in a custom package hierarchy with one console app class that employs them. Everything works fine from JCreator and from a command prompt. I'd like to build a second console app that re-uses that same package. As a Java newbie, what is the quickest, dirtiest method to do that? My main con...

What Linux Package Manager would you recommend

Can anyone suggest me a good and simple package management system on Linux? It's for my project study and I would prefer a package manager based on symbolic links. ...

Multiple Java projects and refactoring

I have recently joined a project that is usiing multiple different projects. A lot of these projects are depending on each other, using JAR files of the other project included in a library, so anytime you change one project, you have to then know which other projest use it and update them too. I would like to make this much easier, and w...

Packaging to use to deploy cross-platform?

On windows applications are typically packaged as MSI, on Redhat Linux as RPM, what would be a best open source packaging method that could be used to deploy applications to all platforms including different flavors of unix and windows? Contents would include exes, unix binaries, java jar files, user data, even database scripts to be ru...

How Do I Document Packages in Java?

In the Java APIs I can see Javadoc comments for packages. How/where do I place Javadoc comments to document a package? ...

Help with packages in java - import does not work

I'm a C++ developer - not a java developer, but have to get this code working... I have 2 public classes that will be used by another product. I used the package directive in each of the java files. package com.company.thing; class MyClass ... When I try to compile a test app that uses that I add import com.company.thing.*; T...

Can you export packaging information (ERD or other data model) from Cognos 8.3?

Hey, I was wondering if there's a way to export package information from Cognos 8 from a regular user level or from the framework level. For instance, I want the field names that cognos is pointing to on the database, i want the datatype, the description cognos uses when you right click a data element, etc.. Any suggestions? ...

Delphi Package Build / Install debugging

I'm using Delphi 2007 Pro. I have a runtime package that includes a number of compound components I'm developing, which are based on TFrames. There is also a related design package which installs these components to the tool palette. These TFrame descendents use a number of third-party components, for various reasons, and also inherit ...

Delphi's RAD Studio\5.0\lib\debug Folder

Perhaps a stupid question, but what exactly is the purpose of this Delphi folder?: C:\Program Files\CodeGear\RAD Studio\5.0\lib\debug ..and why/when are *.dcu files put there rather than C:\Program Files\CodeGear\RAD Studio\5.0\lib\ ? I'm trying to find duplicate DCU and BPL files, based on an aswer I received to another question here...

Using ASDF to start Hunchentoot

I'm working on a web app using Hunchentoot (on SBCL and Linux), and usually I just run it from Emacs (SLIME), but for deployment I want something that's easier to automate. So I'm trying to figure out ASDF, because that seems to be what everybody's using these days. myapp.asd: (in-package #:asdf) (defsystem :myapp :name "my app" :...

How to organize packages (and prevent dependency cycles)?

I've been running some metrics on my Java project and apparently there are a lot of dependency cycles between packages. I didn't really know how to organize stuff into packages, so I just did what made sense to me, which is apparently wrong. My project is a neural network framework. Neural networks have Neurons, which are connected to e...

Do you follow any guidelines (java) in packaging?

Do you follow any design guidelines in java packaging? is proper packaging is part of the design skill? are there any document about it? Edit : How packages has to depend on each other?, is cyclic packages unavoidable?, not about jar or war files. ...

Scheduling identical SSIS packages to run in parallel

We've got an architecture where we intend to use SSIS as a data-loading engine for incoming batches. The intent is to reduce the need for manual intervention & configuration and automate the function as much as possible so we're looking at setting up our "batch monitoring" package to run as scheduled SQL Server Agent jobs. Is it possi...

Why do languages like Java use hierarchical package names, while Python does not?

I haven't done enterprise work in Java, but I often see the reverse-domain-name package naming convention. For example, for a Stack Overflow Java package you'd put your code underneath package com.stackoverflow. I just ran across a Python package that uses the Java-like convention, and I wasn't sure what the arguments for and against it...

How to get the newly-installed version within a Debian postinst script?

Per the Debian Policy Manual, my postinst script is getting called at upgrade and configure time, as "postinst configure old-version", where old-version is the previously installed version (possibly null). I want to determine new-version, i.e. the version that is currently being configured (upgraded to). The environment variable $DPKG_...

Delphi IDE Project "Clean"Command -- What does it do?

Running Delphi 2007 (and probably other versions as well, I'm guessing), if I right-click on a project in the Project Manager (either EXE of BPL in this case), there is a "Clean" command above Compile and Build. What exactly does it do? ...

Lucene Javadoc package

Does Lucene has separeted jar with javadoc inside ? Everything in contrib section has separated javadoc jars but it look to me that core has none. Am I right ? ...

How can I detect recursing package calls in Perl?

I have a Perl project were I just had a problem by making a circular package call. The code below demonstrates the problem. When this is executed, each package will call the other until all of the memory of the computer is consumed and it locks up. I agree that this is a bad design and that circular calls like this should not be mad...