package

Java packages com and org

What are the meaning of the packages org and com in java? ...

As3 Errors 1046 type not found if I specify a document class

Hello. In my as3 code using Flash cs3, everything works fine without any document class. I can use event handlers and they work. But, once I attach a document class, I start to get this error: 1046: Type was not found or was not a compile-time constant: KeyboardEvent. Could somebody explain why this occurs? This is what my document cla...

Using python graphviz ImportError: No module named _gv

Hi! I'm trying to use graphviz with python and I get the error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/pymodules/python2.6/gv.py", line 7, in <module> import _gv ImportError: No module named _gv The system state: dpkg -l|grep graphviz ii graphviz 2.20.2-3ubuntu5 ...

lxml has essentially nothing

The lxml package for Python seems to absolutely broken on my system. I am not sure of the problem, as all of the files are in place, it seems. My suspicion is that the problem is in __init__.py, but I don't have enough practice with the system to make an accurate diagnosis or fix the problem. Here is some code that I think will help dia...

How do I validate an installer metapackage?

Is there a straightforward way to validate a metapackage's structure (recursively) against its info.plist? I have some code that patches a metapackage and I'd like to verify that it's left it in a correct state. Thanks! ...

Custom installer package for linux/solaris

I am in the unfortunate situation where I need to deploy and upgrade packages and config files on machines with no root access and no ability to use or install a package manager. Are there any neat solutions that allow creation of custom install packages? I am open to custom compiles of some software in a custom location on the servers ...

Error while running the package as SQL JOB in SQL SERVER AGENT

HI All, I have a SSIS package which Imports data from Excel to database.I added this package to execute as a SQL Agent Job.When I am running the package as a job I am able to run it successfully.When I run the package from Visual Studio I am getting error saying... "Code:0xC0202009 Source:User Connection manager " Excel Connection mana...

Visual Studio Package - How can I get hold of the information in the locals window?

I have a VSPackage that I would like to get information similar to that shown in the locals window when in debug mode (the values of variables for the current context). I have been experimenting with the DTE.Debugger.CurrentStackFrame instance which looked interesting because it exposed Argument and Local collections of expressions. How...

importing a module in nested packages

This is a python newbie question: I have the following directory structure: test -- test_file.py a -- b -- module.py where test, a and b are folders. Both test and a are on the same level. module.py has a class called shape, and I want to instantiate an instance of it in test_file.py. How can I do so? I have tried: from ...

Check if path is folder/bundle/alias in ObjC.

Hi, I come from the AppleScript land and there we use alias of (info for thePath) package folder of (info for thePath) folder of (info for thePath) to see if a path is either of the above. But I can't seem to find out how to do it in ObjC/Cocoa. I'm pretty sure it's quite easy but I fail to find any info about it. Thanks... ...

Is package level annotations still available on EJB3 to map entities on JPA/Hibernate?

The Problem: I have two complementary projects, a base one (Base Project) with shared entities and a specific one (Specific Project) that needs to query the entities from the first project. They both access the same database, but in different schemes and different users/grants. Nonetheless, both have at least 'SELECT' grant on the shar...

Package module not found in Python 2.5, but found in 2.6

I have package structure that looks like this: ae util util contains a method mkdir(dir) that, given a path, creates a directory. If the directory exists, no error is thrown; the method fails silently. The directory ae and its parent directory are both on my PYTHONPATH. When I try to use this method in Python 2.6, everything is ...

Find the files related to a software

Hello Friends, I have one doubt. I am doing a project related to system restore concept in Linux. There i am planning to perform application wise rollback in case of failure. Is there any way to figure out what are all the files used by an application in the system? Ok. I will make it a little clear. For instance consider the firefox ap...

How to embed xml file into java package and access it?

I have a XML file with data that is used in both my C# and Java version of a library. Ideally I want to embed this XML file in a package in that library. I only need to access it from within my library, so I was wondering: is that possible? ...

Better way to work with the UPS API?

Specifically, the UPS TradeAbility API -- I'm trying to implement Denied Party screening into my lead processing/quotation web application. However, the TradeAbility API is a bear. I've found some decent package classes for simple tracking, which I've implemented successfully. But I've seen nothing to support TradeAbility. UPS-PHP has i...

How to write a package (developed on Ubuntu 9.10) for installation on a Debian server

I have written a number of applications and libraries (some of which depend on third party libraies), on my home workstation (Ubuntu 9.10). I now want to create packages (one package per application/library), so that I may then install them on my server, which will be running Debian OS. Any guidelines/gotchas on how to go about creatin...

How to use and package a JAR file with my Android app?

I have an API in the form of a JAR that I would like to use in my Android app. Not sure if it should be part of the project in Eclipse or kept separate and added to the project properties. This JAR also needs to be packaged with the application, so how is that done for Android apps? ...

With Zend Framework, what is the difference between Module and Package

Hi all, I devlopp web applications with Zend Framework. For now, I have a huge library, wich contains each an every things, used by a couple of web applications. I am thinking of reorganising it, using the concept of "Module". But I am not sure about the difference between Module and Package. What I understand is : a Module contain...

What is the default package in which my classes are put if I don't specify it?

Let's assume I have a file named Main.java with the following code: public class Main { public static void main(String[] args) { System.out.println("Hello world"); } } Is it put in a specific package, in (maybe?) an unnamed package? Thanks ...

How to list all class names in the current package with Java ?

In my Java project I need to list all class names in the current package, I usually run my app in two different modes : <1> From NetBeans, <2> From an executable jar file packaged by the NetBeans. My question is : How to write my program so that no matter which mode it is running, it can list all the class names in my app. Because when ...