Is there any clean way to package VB6 Class Modules, other than writing DLLs or manually adding prefixes to the module names?
EDIT: I'm hoping VB6 has something along the lines of packages or namespaces from other languages.
...
I'm trying to extend the JMF implementation for custom data sources in a custom environment.
My JMF implementation is packed to a jar file (only class files, all obfuscated).
The JMF's package manager uses reflection to instantiate a class.
It looks into one of the following packages for the desired class: javax, com.sun, com.ibm.
All t...
I m building an android application where I need these packages to import:
import com.sun.cnpi.rss.elements.Item;
import com.sun.cnpi.rss.elements.Rss;
import com.sun.cnpi.rss.parser.RssParser;
import com.sun.cnpi.rss.parser.RssParserException;
import com.sun.cnpi.rss.parser.RssParserFactory;
What should I do? From where can I find th...
Suppose that I am writing two applications for my employer, we'll call them App1 and App2. These applications depend on some packages containing code needed by both. Let's say that App1 depends on PackageA and PackageB. App2 depends on PackageB and PackageC. The organizing strategy that seems natural to me would be to check everything in...
I have a project that is organized something like
project/
__init__.py
builder.py
component/
__init__.py
Within builder.py, I have a class called Builder that has several class attributes in order to implement the Borg pattern. The trouble arises when I try to import Builder in component/__init__.py and make change...
A little while ago, I saw a question answered here regarding the fine-grained organisation of java packages. For example, my.project.util, my.project.factory, my.project.service etc.
I can't find it now, so I may as well ask the question.
Are there best practices with regards to the organisation of packages in Java and what goes in th...
Hi,
I want do uninstall some useless apps from /system.
I have super access, and the permission DELETE_PACKAGE in the manifest.
But when i run Runtime.exec("pm uninstall package") I get ERROR/AndroidRuntime(10981): java.lang.SecurityException: Neither user 10094 nor current process has android.permission.DELETE_PACKAGES.
Anyone know how...
My code is:
package com.companyName.softwareName {
import flash.display.Sprite;
public class SoftwareName extends Sprite {
public function SoftwareName() {
trace("Testing!");
}
}
and it is located in C:/dev/com/companyName/SoftwareName as SoftwareName.as
Taking the package name out lets it co...
Suppose somewhere I import javax.servlet.http.HttpServlet.
My questions:
Does this mean: I could find a folder structure like javax/servlet/http somewhere and inside that HttpServlet.class file would be present?
If not, where exactly this class file could be found?
Does this mean: These are just nested namespaces with no relevance to...
One of the JUnit best practices is : same package, separate directories. I am wondering what is the equivalent for Mock classes ? Do you keep them in the same package as classes they are supposed to mock, but in the test directory ? or elsewhere ?
...
I have a set of Debian packaging scripts and I would like the version number of the package to be incremented each time it is built. (i.e. debian_revision as specified in the Debian Policy Manual) That is, the first build should be PACKAGE-1.0-0, then PACKAGE-1.0-0, and so on (where 1.0 is the upstream_version). Is there an easy way to s...
I'm having some trouble on a checked out project here at work.
I have a class called GridBuilder, which is located in a package called com.ent.proj.utils.grid
package com.ent.proj.utils.grid
import grails.orm.HibernateCriteriaBuilder
import org.hibernate.criterion.Criterion
import org.hibernate.Criteria
class GridBuilder {
}
The w...
What's a good way to handle fatal errors - missing packages, .ui files not compiled, Qt DLLs or shared objects not found, etc. - in a PyQt app (or other Python app)?
Displaying a cross-platform message box without Qt DLLs or shared objects seems like a lot of work. Dumping a message to the console seems not very helpful, since the end ...
After reading some mailing lists and bbs, I couldn't find a proper way to setup my development environment for package and component development.
Perhaps we can collect some tipps here for a good setup.
For component development it is suggested to create a runtime package containing the runtime code for the component and a design time ...
Hi,
I am writing Perl scripts and when I have too many functions, I usually move them all into a library (also good for code reuse). So I usually create a package (e.g. my_lib.pm) and add use lib 'path/to/lib'; use my_lib; to my script.
I wonder if it's possible to skip the use lib 'path/to/lib';, which sometimes gives me trouble sinc...
Macports is the only packaging system I have checked out on the Mac and I dont like it.(it needs all its applications installed in a particular location. Thats probably the reason why it showed Python2.5 as a dependency which needs to be installed even though I already had it.) For a person who has moved over from Ubuntu, I sorely miss a...
Hello,
The library of Aperture is visible in the file system as a package. Inside this package, there's an XML file (among other things) that I want to get access to. The problem is that I can't simply use the path to that XML file due to the fact that the file is contained in a package (which needs to be opened first).
Is there a way ...
My goal is to be able to use $obj like this:
print $obj->hello() . $obj->{foo};
And I would like to create an object inline, maybe using something like this:
my $obj = (
foo => 1,
hello => sub { return 'world' }
);
but when I try to use $obj as an object, I get an error saying that $obj has not been blessed. Is there some b...
Installing the RODBC package on Ubuntu is a bit of a kludge. First I learned to install the following:
$ sudo apt-get install r-cran-rodbc
That wasn't good enough as the package was still looking for header files. I solved this issue by:
$ sudo apt-get install unixodbc-dev
Good, RODBC installed properly on the Ubuntu machine. But ...
Is it possible to install pygsl in Debian? I am using the package and someone with Debian is not sure how to install it without ruining his packaging (since it's not in apt-get.)
...