I get an "Build failed" error with error output when I try to build my project in Eclipse:
[javac] ......\src\example\servlet\ScrapingServlet.java:10: package org.apache.http.client does not exist
[javac] import org.apache.http.client.HttpClient;
But the Eclipse editor does not give any error. I added the jars to the project with P...
Emacs 24 looks like it will have a package manager. What package management options are there for Vim?
...
Hi All..
Normally when I am writing the perl program . I used to include following package .
use strict ;
use warnings ;
use Data::Dumper ;
Now , I want like this, I will not include all this package for every program . for that
I will have these all package in my own package. like following.
my_packages.pm
package my_packages ...
I'm building a program that uses Delphi Packages (BPLs) as plugins, but I'd like to use a custom extension to show that the files have a specific purpose instead of just being BPLs. That works well enough until I end up with one package having a dependency on another. Then the compiler automatically creates the binary with the extensio...
Why do we use reverse domain name like com.something. or org.something. structure for java packages?
I understand this brings in some sort of uniqueness, but why do we need this uniqueness?
...
Okay so, I have this project structure:
package A.B
class SuperClass (this class is marked package private)
package A.B.C
class SubClass (inherits from super class)
I'd rather not make SuperClass publicly visible... It is really just a utility class for this specific project (A.B).
It seems to me that SubClass should be able ...
Is there any way that I can upgrade my Ruby Gems, and if it doesn't work (on what I'm upgrading them for), than rollback the changes?
...
After android installs an application from the Marketplace, does it keep the .apk file?
Is there a standard location where Android would keep such files?
...
I'm quite happy to rig up a bash script to do this, but it would nice to have an automated tool to sort java files into the correct directories (after creating them).
Thanks!
...
Hi,
How to write an ant task that removes files from a previously compiled JAR?
Let's say the files in my JAR are:
aaa/bbb/ccc/Class1
aaa/bbb/ccc/Class2
aaa/bbb/def/Class3
aaa/bbb/def/Class4
... and I want a version of this JAR file without the aaa.bbb.def package, and I need to strip it out using ant, such that I end up with a JAR ...
I'm in the middle of building an application but found myself too easily creating new packages without keeping the project's structure in mind.
Now, I'm trying to redo the whole project structure on paper first. I am using a Settings class with public properties, accessed as settings for several other classes around the project.
Now, s...
Hi,
I want to install this python package:
http://pypi.python.org/pypi/netifaces/0.5
But I don't know how and I know nothing about python. Still, I guess there is a standardized way to install it. Am I right?
Thanks in advance
...
Hey.
My java application has got a package structure similar to this;
src/com/name/app , src/com/name/app/do , src/com/name/utils/db and so on.
How would I go about compiling java files in these directories in to a runnable jar? I need to package required libraries into the generated JAR (jdbc).
I've always done these things in Eclip...
I have problem concerning python packages and testing. I'm writing an application using wx python and have the following basic folder/package structure for the gui parts. The mainframe.py window has a dependency to the logpane.py panel, which is easily imported using an absolute import in mainframe.py:
import guiapp.utilviews.logpane
...
I have a package with a few modules, each module has a class (or a few classes) defined within it. I need to get the list of all modules within the package. Is there an API for this in python?
Here is the file structure:
\pkg\
\pkg\__init__.py
\pkg\module1.py -> defines Class1
\pkg\module2.py -> defines Class2
\pkg\module3.py -> define...
i.e. Do you put the whole package under VCS or just the components you are programming? Packages by there nature will get upgraded and that code will need to be added into the VCS, plus there is a lot of code that is static.
Specifically I am going to be working on Joomla, adding and building modules, customising modules and the look a...
Given a simple data set, I would like to be able to calculate a trending formula given it's a second order polynomial regression.
In fact, it would be great if one could even forecast X periods during calculation (similar to what Excel does).
I'm looking for a portable C/C++ package that's relatively easy to use, and allows it to spit ...
Hi all,
I am looking for a function that will tell me, for a list of packages, which of them is up to date and which is not (I need it so to trace back an R crash).
Thanks,
Tal
...
Hi all,
I am trying:
install.packages("RGoogleDocs", repos = "http://www.omegahat.org/R")
As suggested here, but it doesn't work.
I ended up manually downloading the file from here.
What other ways are there for me to get to the file directly?
Thanks,
Tal
...
I developped a package to extend Visual Studio. As part of it, I have a context menu that must process the whole text content of the active document (HTML editor).
I understand how to get the current selection :
TextSelection txtSelection = (TextSelection)_bllManager.CurrentDocument.Selection;
But I dont't understand how to get the who...