package

How to create a package for different files?

How do I create a Java package for different files? I have tried the following. What have I done wrong? And what is the right procedure? The first file is: package dil; public class Hello { Support sp=new Support(); int i=sp.tin(); public void man() { System.out.println(i); } } The second file is: packag...

How to get File within' package, in an Android application

I'm am creating an Android application, but in order to have one of the functionalities working I need to read a predefined xml file whilst only knowing its name, not the R.id.. In normal Java I know I can use getClass().getClassLoader().getResource(xmlName) but using the limited Android SDK thats not working, any knows how to solve ...

Microsoft Access 2002 Package Deployment Problem

Hi I've created a split Access database application and used the packaging wizard to create a deployment package. All the files are installed by the deployment package into C:\Documemts and Settings\All Users\Application Data\Provision Manager, this is too avoid Windows Vista not allowing write access to the Program Files directory. T...

SSIS packages within SQL Server Agent and File Server: advantages - disadvantages

All, I have considerable number of SSIS packages, and need to configure it on PRODUCTION environemnt. Just want to know the advantages and disadvantages of configuring and running SSIS packages within SQL Server Agent over File Server. All the packages are designed in SQL Server 2005. Thank you ...

SSIS package execution through VB.net code

Hi, I've kept my ssis package in my local application folder and through vb.net m able to execute that as package.execute(), But when i publish the same code in my server, its showing some eror, so is that we need to install sql server in the applicaiton server also ? My server does'nt have sql server installed.... or any prerequis...

How do I create a namespace package in Python?

In Python, a namespace package allows you to spread Python code among several projects. This is useful when you want to release related libraries as separate downloads. For example, with the directories Package-1 and Package-2 in PYTHONPATH, Package-1/namespace/__init__.py Package-1/namespace/module1/__init__.py Package-2/namespace/__in...

Delphi 2010 - package problem, File not found error

I have a problem with a application with plugins. Originally, everything was compiled into a single exe, but now, I want to take out some of the code into a bpl on its own. The code that is shared by both the exe and the new bpl is put into a third bpl. application.exe is compiled with package api.bpl api.bpl contains only one file, ap...

Loading a Delphi Object Run Time using BPL

I have a class in a unit. Usually, when I changed the algorithm of its methods, I have to recompile it and deliver the patch as a whole. I think to create the instance of the class using DLL. After searching in delphi.about.com, I found that instead of using DLL, I can use BPL. It is a DLL for Delphi. The problem is almost all examples I...

Overhead for calling a procedure/function in another Oracle package

We're discussing the performance impact of putting a common function/procedure in a separate package or using a local copy in each package. My thinking is that it would be cleaner to have the common code in a package, but others worry about the performance overhead. Thoughts/experiences? ...

Why can not add subversion package to my OpenBSD 4.5 machine?

Hi all, I have an OpenBSD 4.5 on a virtual machine. I configured the net and my machine can connect to the OpenBSD FTP repository in Canada (ftp.openbsd.org) correctly. But when I execute this line: *pkg_add -v subversion-1.5.5* Occurs this error: Unknown element: @sha FTlY/mreDMe9nRNLR5+fSIIZWMnivjO0p83rQLSL6F0= in SCALAR(0x7...

"os x" + octave + Miscellaneous Package: install errors

Trying to install the Miscellaneous Package into Octave, I get this string of errors: octave-3.2.3:17> pkg install miscellaneous-1.0.9.tar.gz configure: error: in /var/folders/0o/0ox7a-rlFVGd8pZnuF96sE+++TM/-Tmp-/oct-zTlMUh/miscellaneous-1.0.9/src': configure: error: C compiler cannot create executables See config.log' for more details....

Guidelines/principles for package and component design.

Alright, our visual studio solution grows big in terms of the number of projects in it. Except for things that are obvious, I want to check whether the way it is now is what it has to be or we can better reorganize/package it. Do you know of any good text on guidelines, principles of package and component design that I can reference? ...

OCCI: Querying for metadata of a stored procedure within a package

I am trying to get metadata about parameters of a stored procedure that is defined in a package using C++ Oracle OCCI. Getting parameter metadata of a standalone proc is straightforward: MetaData meta = connection->getMetaData("MY_PROC"); vector<MetaData> params = meta.getVector(MetaData::ATTR_LIST_ARGUMENTS); However, if I try to que...

Getting all Classes from a Package

Lets say I have a java package commands which contains classes that all inherit from ICommand can I get all of those classes somehow? I'm locking for something among the lines of: Package p = Package.getPackage("commands"); Class<ICommand>[] c = p.getAllPackagedClasses(); //not real Is something like that possible? ...

Java JUnit: The method X is ambiguous for type Y

I had some tests working fine. Then, I moved it to a different package, and am now getting errors. Here is the code: import static org.junit.Assert.*; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.jgrapht.Graphs; import org.jgrapht.WeightedGraph; import org.jgrapht.graph.DefaultWeightedEdge; import or...

Is there a way to force a classloader to load a package even if none of its classes have been loaded?

Let's say a java codebase has a package called "com.example". At runtime, we can get this Package by calling Package p = Package.getPackage( "com.example" ); //(returns null) or even get a list of all packages by calling Packages[] ps = Package.getPackages(); The problem is - if the ClassLoader has not yet loaded any class from th...

debian package creating needed directories in preinst

I have the following debian structure: debian/usr/share/test debian/usr/share/test/test debian/usr/share/test/test/a debian/usr/share/test/test/b After building the package using dpkg-deb --build and installing it using dpkg -i, it doesn't seem to create the folders test automatically if they don't exist. Do I need to create them man...

how to reference python package when filename contains a period

I am using django and I have a file named models.admin.py and I want to do the following idea in models.py: from "models.admin" import * however, I get a syntax error for having double quotes. But if I just do from models.admin import * then I get "ImportError: No module named admin" Is there any way to import from a python file ...

How to pass file path to a SSIS package executed remotely?

Hi, I am trying to create a SSIS package to load data from an excel file to a database table. The excel to import the data will not be defined at the time of creation of the package. It is available, in a desired format, only when the user specifies and locates the file on the local file system at runtime. Could anyone please let me kno...

Problem with LaTeX hyperref

i have an url with cyrilic characters: http://www.pravoslavie.bg/Възпитание/Духовно-и-светско-образование when i compile the document, i get following as url: http://www.pravoslavie.bg/%5CT2A%5CCYRV%20%5CT2A%5Ccyrhrdsn%20%5CT2A%5Ccyrz%20%5CT2A%5Ccyrp%20%5CT2A%5Ccyri%20%5CT2A%5Ccyrt%20%5CT2A%5Ccyra%20%5CT2A%5Ccyrn%20%5CT2A%5Ccyri%20%5...