Questions tagged [package]

Package broadly refers to two things: 1) a usable unit/component of built/compiled software, or 2) a partition of the global namespace (Java).

Package may refer to a software component or the action of creating a package. The component could be a portion of a whole system, or the whole system itself, or any level of granularity between. Typical packaging mechanisms include: tar, jar, zip, rpm, war, exe. In this context it may also be used as a verb: "I was packaging my software and...".

Package is also a term from the java world to refer to the mechanism used to partition the global namespace with the intention of making it possible of having two classes with the same name and of creating a logical structure in which classes may be held. In java packages are most commonly represented by directories. Package is also a java keyword used at the start of a class file to indicate the package to which the class belongs. This is important because of 'package' scoped access rules, which allow classes in the same package to access a field/method/class.

Because of the ambiguity here it is best to use other tags to help define the meaning of this one. If you're asking about java packages, please include the Java tag. If you're asking about packaging up your software for deployment/use add other appropriate tags, such as 'Maven', 'Make', 'Ant', etc.

16844 questions
7
votes
4 answers

Dual package statements in Scala

I have seen in a few libraries, Spray for example, dual package specifications like this: package cc.spray package http // code Is this just eye candy for package cc.spray.http, or is there a functional benefit to breaking the two apart like this?
Greg
  • 10,696
  • 22
  • 68
  • 98
7
votes
1 answer

Building R package: no visible global function definition for 'subject'

I'm building an R package for the first time and am having some trouble. I am doing an R CMD Check and am getting the following error: get.AlignedPositions: no visible global function definition for 'subject' I am not sure what is causing this. I…
user1357015
  • 11,168
  • 22
  • 66
  • 111
7
votes
1 answer

How to read input while installing Debian package on Debian systems

I have created a small Debian package which has to take the input from the user and print it out. In order to take input from user "read" command on postinst scripts will not work on Debian systems I don't know what is the exact reason, but it…
forum.test17
  • 2,119
  • 6
  • 30
  • 62
7
votes
2 answers

How to *really* ensure my Java package names are unique?

The standard way to avoid package name conflicts in Java is to use reverse-domain convention com.[mycompany].[rest-of-the-package-name]. This works brilliantly ... if one owns the domain [mycompany].com. However, there are several individual…
curioustechizen
  • 10,572
  • 10
  • 61
  • 110
7
votes
2 answers

GHC package conflicts

I'm trying to compile the following code with GHC: module Test where import Maybe import Prelude hiding (null) import System.IO null = () main :: IO () main = putStrLn "Hello, world!" If I just run ghc Test.hs, I get: Could not find module…
Adam Crume
  • 15,614
  • 8
  • 46
  • 50
7
votes
3 answers

Detailed description of "Known IDE Packages" to safely remove unused packages

I'm doing some cleanup in my Delphi XE2 IDE in order to minimize the loaded packages and as a consequence of less things in the IDE try to make it a little more stable (man, how it crashes). The main reason for doing this was that the Refactor…
Fabio Gomes
  • 5,914
  • 11
  • 61
  • 77
7
votes
1 answer

Force install.packages()

Is it possible to install a package in R forcefully ? > install.packages("gsubfn") Installing package(s) into ‘/home/sebastian/R/x86_64-unknown-linux-gnu-library/2.14’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session…
MadSeb
  • 7,958
  • 21
  • 80
  • 121
7
votes
1 answer

working with package without Namespace in R

I have got betaversion from website. The only available is windows installation as mybetapackage.zip file. When I installed the package, it does not work when I load it. > utils:::menuInstallLocal() > require(mypackage) Loading required package:…
jon
  • 11,186
  • 19
  • 80
  • 132
6
votes
2 answers

How do I setup a shared R package directory on a server?

I have a shared R package directory on a server in order to maintain consistent package versions for all users. This becomes problematic when someone attempts to install a new version of a package that another user originally installed, or they…
Erik Shilts
  • 4,389
  • 2
  • 26
  • 51
6
votes
2 answers

Python `__init__.py` and initialization of objects in a code

I've read the documentation about __init__.py files and some nice questions here on SO, but I'm still confused about its proper usage. Context I have a code with many packages and sub-packages. I've defined many classes, some of which I need to…
mhavel
  • 735
  • 1
  • 7
  • 19
6
votes
4 answers

How do I deploy/import war package into Netbeans

I have looked through the help documentation in netbeans 6.5.1 but cannot find anything explicit explaining how to deploy/import a war package. I know in Eclipse, it's as easy as right clicking in the Project Explorer >> select IMPORT >> WAR…
Lycana
  • 1,154
  • 4
  • 10
  • 17
6
votes
4 answers

Wrap files in one executable package

I'd like to wrap a bunch of files (an .exe a .xml, some images) in 1 executable package. When the user launches this executable package the .exe included in this executable package should run. Is this possible in the first place on the windows…
Bart Claessens
6
votes
1 answer

Bypass "table or view does not exist" in package compilation

There are two schemas in a Oracle database. MYSCHEMA that is controlled by me. OTHERSCHEMA that is not controlled by me. I just know I can get result from select * from OTHERSCHEMA.OTHEROBJECT. However, OTHEROBJECT is a synonym. In my package, I…
Alex Yeung
  • 2,495
  • 7
  • 31
  • 48
6
votes
2 answers

R: combining mutiple library locations with most up-to-date packages

Question: How do I move all of the most up-to-date R packages into one simple location that R (and everything else) will use from now and forever for my packages? I have been playing around with R on Ubuntu 10.04 using variously RGedit, RCmdr, R…
Trees4theForest
  • 1,267
  • 2
  • 18
  • 48
6
votes
1 answer

getting rid of the easy_install message: : module references __file__

module name: module references __file__ This appears several times when I install my own packages using easy_install and initial google search didn't bring any success. I am fully aware that I'm using __file__ inside the modules, but there is…
sorin
  • 161,544
  • 178
  • 535
  • 806
1 2 3
99
100