eclipse

Problem running Spring 3 mvc-basic sample

I am trying to get started with Spring 3, using Eclipse 3.6 and Spring STS. I have also installed m2eclipse. I have checked out and imported the Spring3 mvc-basic sample app. When I try to run it (via eclipse/run/run on server) I get a number of errors in the webapp startup on tomcat, all relating to jstl1.2.jar: org.apache.jasper.Jas...

What JAR files are needed for Eclipse to use JSTL so it ultimately works on GAE/J?

I've been trying for longer than I'd like to admit to get JSTL working under Eclipse (and ultimately under GAE/J). I've downloaded Eclipse, the Google App Engine Extension for Eclipse, and JSTL (http://download.java.net/maven/1/jstl/jars/ - jstl-1.2.jar is in the WEB-INF\lib directory). My code is below along with the output: <%@ tagl...

eclipse: running multiple launch configurations at once

hello, i have a several launch configurations in eclipse each launching the same java-program but with different parameters. now is it possible to run all of these at once (with one mouseclick) instead of selecting each of it seperately and launching it? thanks! ...

Opening existing project from source control

I've been pushing my source to a Mercurial repository. Today I needed to delete my local copy and re-clone. I did this by simply moving my local copy somewhere else (just in case) and typing "hg clone url". This part has worked just fine. However, when I try to pull the newly cloned local copy into Eclipse, I get the following error:...

Eclipse line wrapping format not getting applied to code

I'm trying to use the Eclipse Java Code formatter. Eclipse 3.5 on Red Hat Linux. I have found the Code Styles at Preferences / Java / Code Style / Formatter. I have created a new profile Our team uses c++ style braces, so I have specified those. They display in the preview nicely: SomeClass fField = new SomeClass() { }; ...

Eclipse + Subversion (subclipse) + Maven (m2eclipse) multi-module project

I have some related legacy projects that are a mess and I would like to mavenize them as a multi-module project shared on subversion (first multi-module project, we've always had them separate). There are a few key parts 1) webservice, 2) model, 3) various swing clients, 4) model (w/ persistence from hibernate), 5) core JSE tasks. I've...

WEB Logic throughs java.lang.ClassNotFoundException: FeatureForm when I compile and deploy a change in my eclipse maven project

Hello all, I just started using Maven with eclipse and deploy my application to web logic. When I do a clean install for the first time, my maven project builds and deploy successfully. after that, when I make any change to the source code or jsps.. I do a pre-clean install to update the project. Now, everytime I do pre-clean install a...

on save compile and deploy with maven eclipse and weblogic

Hi All, I just started maven in general and m2eclipse in specific. What I have been doing before is follow: 1)Deploy my application to tomcat. 2) make any changes to the java or jsp files. 3) save and run the application again ( no restart is neccessary unless I changed a config file). now, everytime I make a minor change to my maven...

what is the bug in this android layout xml chunk

Hi, When I try to debug my app I get a runtimeexception when I include this xml in my layout. I cannot see what is wrong with it, can you? I am using android eclipse plugin, eclipse 3.5.2, with the latest android plugin and the latest java 6...21 on winxppro 32 bit sp3 Thank you. <ImageButton android:id="@+id/map_button" android...

Eclipse RCP app: How to disable specific extenstions?

I'm using Eclipse HELIOS to code a Rich Client app. The following entries are added automatically to my APP "PERSPECTIVES MENU": "Java, Java Browsing, Java Type Hierarchy, Team Synchronizing". I need to get rid of them. i'm using the extension point="org.eclipse.ui.activities" to disable unwanted extensions (like the editor and search o...

Maven - Installing JAR not available in public repositories (in Eclipse)

When I deploy a successfully build Maven Project, from Eclipse, to Tomcat: the application complains that the jar file is not found. Steps taken: 1) Installed JAR in local Maven repository: mvn install:install-file -Dfile=xmlrpc-1.1.jar -DgroupId=org.apache -DartifactId=xmlrpc -Dversion=1.1 -Dpackaging=jar 2) Edited the POM file in ...

Deploying GWT app to Glassfish 3.0

Hello, I'm having some troubles figuring out if its possible to run a GWT Application inside a Glassfish Application Server 3.0. I was already able to run it using Tomcat, but that seemed more natural and more easy to do. Can you point out a place where I can learn how to deploy my app to glassfish? I'm currently using GWT Plugin wi...

How do I Install JBoss 6 in Eclipse Helios JEE

When i went to The "new server wizard" I cant find in the category for JBoss the 6 version. And when I clicked "Download new server adapter" I dont get JBoss 6 adapter in the list. Thanks for the answers. ...

running android emulator in eclipse

Hey guys, Does anyone know how to run the emulator within eclipse without using ADT. All I want to do is run the emulator with -partition-size option of the emulator and you cant do this by default. Im sure there might be a tricky way of doing this but googling doesn't give me any clues. does any one know ? I also thought about runnin...

Is there a convention for maintaining both a free and pro app version from the same codebase in Eclipse?

I am releasing two versions of an app--free and paid. The differences between the two are few, and I would like to release both using the same codebase (maybe a different constant defined for the other build?). Has anyone done this? Can someone point me in the right direction? Thanks! ...

Read a file in java from a linked folder in eclipse

So I'm attempting to read a file in an Eclipse Java project. The resource itself is in a linked folder that I've added using: New -> Folder. Advanced >> Link folder etc. I couldn't open the file so I wrote a simple method to find out what I could access: public static void main(String[] args) { File folder = new File("."); S...

How can I compile an Java program in Eclipse without running it?

I would like to compile my Java program in Eclipse but not run it. I can't understand how I do it. How can I compile an Java program to .class files in Eclipse without running it? ...

Using Eclipse, how can I build & compile an Android project targeted for 1.5 that uses 1.6+ features?

Probably a simple question but I've developed an app that has always been using a build target of 1.5 without issue. However, now I'm adding TextToSpeech which was introduced in 1.6. I've created a TextToSpeech wrapper that encapsulates the TextToSpeech code and I have checks in the activity so that when it does run, it should only wor...

Eclipse Visual Editor: Unable to create JApplet Visual Class?

I installed Visual Editor for Eclipse a while ago, and initially was able to use it with no trouble. However, I booted up my desktop for the first time in a week yesterday, and found that, while the visual editor packages were still installed, whenever I wanted to create a new class in my project, there was no Swing folder when I expande...

Using superscript in an Android textSwitcher

I can't manage to get my textSwitcher to be able to support superscript text. No matter what I try it shows up as regular size text. Here is what I've tried: Spanned span = Html.fromHtml("<sup>TM</sup>"); String subscript = span.toString(); mSwitcher.setText(getText(R.string.desc_about1) + subscript); Then I ...