Hey all, thanks for helping. I'm going through an Android tutorial and I'm trying to access a color I've defined in colors.xml
<color name = "my_background">#3500ffff</color>
Then I'm trying to access this color by name:
Paint background = new Paint();
background.setColor(getResources().getColor(R.color.my_background));
but it doe...
I am using CodeIgniter and Eclipse PDT; is it possible to get eclipse to autocomplete loa as load-> instead of load? Similair to how you get $this-> automatically.
Thanks,
Lemiant
...
What's the recommended way to use Maven for a project that might grow large in the future?
I work with Eclipse and I see different approaches. Some use one project with no sub modules, and some Like mahout for example, have different sub-projects for different modules (e.g., core, math, examples, etc.). You can see it in this link:
http...
I have been trying to get to run a simple example project with JBoss Seam in Eclipse 3.5.
So far unsuccessfully.
What i did:
I set up a MySQL server that i can connect to using eclipse's data tools.
I installed Tomcat 6.0 and set it up as a server in eclipse
I installed the "JBossAS Tools" v2.2.0 plugin
I created a new Seam Project us...
I am trying out the excellent (and perhaps only good) example on JET :
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.emf.doc/tutorials/jet2/jet_tutorial2.html.
The compiled plugin works fine. But when I try to make some changes in the source code, I get the following compilation error :
Access restriction: The method
...
Hi all,
I am having a problem accessing Tomcat from the browser if it was invoked from Eclipse, but it works fine if invoked from command prompt.
I have configured Eclipse to start Tomcat 5.5.23. It starts fine. If I try to connect to it at least to see the admin page using http://localhost:8081/ I get 404 error "The requested resource...
I've tested deployment to Android Market already as a test, seems like everything is hooked up fine - but now getting a little deeper into java and need to figure out how to use the Eclipse IDE.
I'm having exceptions, but where can see the exception message?.. it's not showing up in my consoles , not even the java stack trace console w...
<menu
label="%RunMenu.label"
path="additions"
id="org.eclipse.ui.run">
<separator
name="stepGroup">
</separator>
<groupMarker
name="stepIntoGroup">
</groupMarker>
<groupMarker
...
Sometimes I put the class name in the comments of methods or class just for referencing. But eclipse does the import automatically and leaves an import statement in the file which causes "unused import" checkstyle errors later. Is there some configuration I can change to avoid eclipse automatically importing when I type the class name in...
Hello, i want to create a Maven project in eclipse. I have install the m2eclipse plugin in my eclipse, i have create a new Maven Project, now i'm stuck with archetype, i want to create a project with Struts 2, Hibernate 3, MySql and JUnit
...
I'd like to differentiate between errors that happen because something is messed up in system (eg. a file is missing) vs. erroneous behavior on behalf of user (eg. selecting too many items in the GUI for some command).
Is there something like "UserMistakeException" (Either in JavaSE or Eclipse API-s) that programmers tend to throw in th...
We have following projects:
office - web application project
console - web application project
MyEclipse by default deploys these web applications to following locations:
C:\tools\jboss-5.1.0.GA\server\web\deploy\office.war
C:\tools\jboss-5.1.0.GA\server\web\deploy\console.war
But in ant build and in our deployment s...
Hi @ll
I am having a problem with setting up an Ant Builder for my Eclipse projects.
I do have several 3rd party libs configured as user libraries within Eclipse. Those libraries are added to the build path of my projects and everything is working fine.
My problem is, that if I want to use the Ant Builder from Eclipse, I will have to ...
Both Eclipse and NetBeans throw errors about the use of anonymous functions. The error in NetBeans says The language feature not compatible with PHP version indicated in project settings
The code is working but the IDEs don't seem to like it. Should I be worried?
...
Hello. I am new to C++. Before, when working with Java, I could make an executable as either a jar or exe file. Is it is possible in C++ for any other format? I need an format that works on Linux. I am using Eclipse as development IDE - is there any built in way to export as an executable file?
...
When I make a new android project and I go to res/values/string.xml I get a screen to add android resources instead of a XML document. I keeps getting the error about : java.lang.NullPointerException.
Is there a way to just alter a XML file (like suggested in tutorials)?
...
I have read :
"Best practices for using git with CVS"
"How to export revision history from mercurial or git to cvs?"
, and neither suit my needs.
At work we use a remote CVS repo. Access to this repo is handled via eclipse CVS tools, and in-house eclipse plugins that are built ontop of team tools for eclipse. This means we can't mov...
Hi there,
I am trying to avoid duplicating customBuildCallbacks.xml for all my plug-ins, when called from either PDE's headless build or the Eclipse GUI. I have in customBuildCallbacks.xml steps to generate code or modify the plug-in packaging that I:
obviously want to run with the headless build
would also like to run either when I ...
I've searched the options but I can't seem to find a way to disable these warnings. Warnings such as this:
Classpath entry org.eclipse.jdt.junit.JUNIT_CONTAINER/4 will not be exported or published. Runtime ClassNotFoundExceptions may result.
Simply serve no purpose to me on my project other than to clutter my "Problems" view.
...
I want to generate a Eclipse CDT project with CMake where the resulting Eclipse project contains the defined build types as selectable build configurations from within the IDE.
For example:
if(CMAKE_CONFIGURATION_TYPES)
set(CMAKE_CONFIGURATION_TYPES PRODUCT_A PRODUCT_B)
set(CMAKE_CONFIGURATION_TYPES "${CMAKE_CONFIGURATION_TYPES}"...