eclipse

How to get Ant in Apache to copy files every build

Hi, I'm using Eclipse and Ant in my development environment. I've come across a problem Here's part of my build.xml <target name="deploy" depends="dist" description="deploy jar files"> <!-- Deploy jar files on local Tomcat --> <echo>Deploying in ${tomcat_home}/webapps</echo> <echo>Copying JSP files from ${build_dir} to ${to...

problem referencing JPA

Hey guys, I have to use a jpa project on one of my projects, but I'm having this error once I create an entitymanager and call persistencecontect in my sessionbean: @Stateless public class Biblio implements BiblioLocal { @PersistenceContext(unitName="BiblioJPA") private EntityManager em; /** * Default constructor. */ ...

Tomcat not displaying Eclipse project

I'm using the Sysdeo plugin to connect Eclipse (Gallileo) to Tomcat 6.0. When I deploy a new project I can see the project.xml file in Tomcat 6.0\conf\Catalina\localhost directory. But somehow Tomcat is not seeing this information because when I point my browser at http://localhost:8080/project I get a message that the requested resour...

Eclipse and Flex Plugin

I have downloaded Eclipse - Helios and it is working perfectly. I am having a little trouble understanding the Flex functionality with Eclipse. Is it possible to download a Flex plugin or whatever it is called free of charge to develop and compile mxml and actionscipt files without having to purchase FlexBuilder 3 or 4 at a price of $60...

Eclipse Replace text in all Classes?

Is there a command to replace a string of code with another in all .java files in an Eclipse project? In Visual Studio there is a "Replace in all files" option that I can't seem to find in Eclipse. ...

pydev and the src directory vs. scm

Hi, I'm trying to transition to eclipse+pydev but am having a problem importing projects under scm. My old projects (and also projects on github) don't have the "src" parent directory that pydev seems to really like. If I use egit or subclipse to import/check out the project, the pydev environment is incomplete. If I externally check o...

cannot install aptana

Hi folks, I am trying to install aptan in my eclips hilios. Its giving me a wired problem. I went here and installed it http://docs.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration When I went to perspectives I dont see aptana there. I tried to reinstall aptana and it said I couldnt as it is already in...

How to specify arguments when starting Android emulator in Eclipse (to wipe data).

I have read that in order to clear data stored in the Android emulator I should start the emulator with the "-wipe-data" arguments. However, I can't see how to specify startup arguments. I have read that it should be possible to specify these in the "Target" tab of the Debug Configurations dialog. However, if I open Debug Configurations ...

Where to put business logic in Eclipse RCP program

I'm writing a small application in RCP to wrap around the business logic in another (non-RCP) simulation library. I can access and use the library fine from any of my plugins, but I don't know where I should put the instance of the Simulation library so that, say, one of the command handlers can make calls to it. From reading the docs i...

How to get key values in MultiMap Blackberry

How to get key values in MultiMap Blackberry while parsing XML ...

"show annotation" info in eclipse lost because of formatting, is it possible to restore changeset history after whole file was formatted and commitet?

His, I have accidentally applied new formatting to a big xml file and commited it in svn. Because of the new formatting, if I select "Team -> Show Annotation" (Who Modified the Line) all information about previous changesets is lost. Is there a way to revert annotation history? Reverting my changeset, and commiting it again without ap...

Is it possible to color brackets/parenthesis in eclipse [php]

So I've recently been converted to Eclipse from Textpad [wow I didn't know what I was missing] and the only main complaint is I can't figure out how to how to get my brackets to be a different color. I changed all the other colors to my old look so I guess my real problem is I can't add new rules to the list of different template items ...

Error: Symbian SDK Error - Failed to initialize session

I've tried to deal with this before, about 8 months ago, I didn't find a solution for this then, and also now there is no real solution for it. I downloaded the Nokia Symbian-3 SDK 0.8 - the newest today, I have Java 1.6.0.13, Eclipse 3.5 and winXP sp3, and when I try to run the emulator from the IDE, on the "Connect to agent" step, the...

How to configure eclipse pdt and lamp server on Ubunto 10.04?

Hello everyone, this is a basich question about properly setting up the lamp server to work with eclipse and xdebugger. I have lamp server installed and working properly. I have eclipse pdt as described here Eclipse plugin PPA for Ubuntu by Yogarine and it is properly installed. I have installed xdebugger and configure the xdebug.ini fil...

creating a build file with ant

I am trying to work through the HelloWorld example on the Web that shows you how to create a build file using ANT in Eclipse. This is the project build file from the web example <?xml version="1.0" encoding="UTF-8"?> <project name="HW.makejar" default="makejar" basedir="."> <target name="makejar" description="Create a jar for th...

Eclipse, Subversion and relocating of projects

Hello, I use Eclipse 3.5.1 downloaded from Yoxos under Ubuntu 9.10. I had to correct some problems : - GTK bug (export GDK_NATIVE_WINDOWS=1) - sqlite3 (I replaced the version of Ubuntu by a fresh one from the site and compiled; before I got a crash each time I get a hint about a function) But I still have one with subversion : I r...

How to install Scala plugin manually ?

http://www.scala-ide.org/ gives http://download.scala-ide.org/update-current-35 There are features and plugins directory. Which should I use or both ? Should I just unzip them all in eclipse features and/or plugins directory ? By the way what diff between features and plugins ? ...

How to get an Id Perspective of Eclipse ?

It is possible to launch eclipse with -perspective idPerspective so how can I get this idPerspective ? ...

Unable to highlight text/variable in eclipse

Hello, My Eclipse IDE wouldn't highlight similar text/variable in Java code, till yesterday it was working fine. Today if I click on a variable inside a class it would not highlight same variable present elsewhere in class. Should I enable any thing in IDE? ...

Building jar with maven-scala-plugin

I created scala application and now I want to build jar. I run mvn package than I try to run jar by command java -jar target/burner-1.0-SNAPSHOT.jar and I see error: Failed to load Main-Class manifest attribute from How can I define Main-Class property? Do I need to create Manifest.mf? where? Or I need to have mainclass property some...