eclipse

copy+paste from eclipse to flash does not work

When I try to copy code from eclipse and paste it in the actionscript editor within Flash (CS3 or CS4) nothing gets pasted. Flash does detect there is something on the clipboard and does try to paste, but no content is added. I can copy paste from eclipse to all other pieces of software running on my computer that have some form of inpu...

SVN : missing files in local copy.

Hi, I use Eclipse Subversion client to checkout my project from a svn repository. My coworkers has committed 2 new files which i can see on the svn remote repository but I can't get them when i update from the head. The 2 files are in the trunk, like me. Someone have an idea ? ...

Hibernate in Servlet causesNoClassDefFoundError: org/slf4j/LoggerFactory

I have a Java (6) application which uses Hibernate (V3.3.2) to read data from HSQLDB, which i build and debug/run with Eclipse (V3.5.1), and it works fine. I then created a GWT (V1.7) Servlet web app, copied my hibernate classes into it, and added the same User Libraries dependencies. However when i run the servlet and try to access a U...

Birt report file path

I'm trying to setup Birt running under Jetty. I can get the "congratulations" report to run: http://10.10.11.1:8080/reports/frameset?%5F%5Freport=test.rptdesign&sample=my+parameter However, I am not able to get any other reports to run. I have the BIRT viewer running from the "reports" context. Trying to run one of the sample repor...

GWT + OSX = SWT issues

I'm new to GWT development and I'm putting myself through the paces with Google's tutorial but I'm getting errors: java[10574:80f] [Java CocoaComponent compatibility mode]: Enabled 2009-11-06 15:27:38.769 java[10574:80f] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000 I checked my Java prefs and I ha...

Drawing into an Eclipse editor

I am trying to draw some shapes (boxed ans arrows) into, i.e., "over" the text in an eclipse editor. To get started, I wrote the following code: IWorkbenchPage activePage = Activator.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(); final Shell shell2 = activePage.getActiveEditor().getSite().getShell(); ...

Visual Studio 2008 automatically add namespces like Eclipse

Does VS2008 have a feature akin to Eclipse's ability to automatically add import declarations for undefined namespaces? ...

Java Web Project referencing another Java project

I have a Java Project, for which I'm now creating a Web interface, using a Dynamic Web Project from Eclipse. The Web project consists of a single servlet and two JSP's. Something like this: /JavaApplication /src /lib /resources /WebApplication /src /Servlet.java /WebContent /WEB-INF index.jsp other.jsp Now, I...

Xcode beginner (from Eclipse to Xcode)

I want to learn Xcode in order to use its Obj-C, C, Java etc. project development facilities. I'm trying to start from the tasks I've done easily in Eclipse. For instance: In Eclipse I used to create a new project and add a .java file with a main() whenever I wanted to test a snippet or a short algorithm that writes on standart output or...

Viewing large XML files in eclipse?

I'm working on a project involving some large XML files (from 50MB to over 1GB) and it would be nice if I could view them in eclipse (simple text view is fine) without Java running out of heap space. I've tried tweaking the amount of memory available to the jvm in eclipse.ini but haven't had much success. Any ideas? ...

Debug PHP web page in Eclipse

How do I run a PHP web page in Eclipse? I am using PDT. I was able to do this when I was studying JEE. I just hit run and then Eclipse's built in browser shows and you can run the website already. Right now I am able to do this by putting my PHP files in the folder that Apache serves and then I open my browser and go the php file I c...

Eclipse Web Project Dependencies

This question is about eclipse development, I am trying to create a web application in Eclipse, the problem is that I don't get the the dependencies jars to the deployed archive. I've created a new dynamic web project and linked it to another java project. The java project references a few 3rd party jars (e.g. Spring jars) but for some ...

Adding item to Eclipse text viewer context menu

Hello. I am developing a plugin for eclipse. In this plugin I need to be able to add an item to the context menu in the text editor. So far I have been unsuccessful in this, does anyone know how to add this item. Also, how do I get a string with the text currently selected in the editor. Thank you so much. ...

P2 headless update not working

I have taken the org.eclipse.equinox.p2.examples.rcp.prestartupdate project and adapted it for use in my RCP application. I then setup an update repository that gets updated as part of my nightly build. When I open my application it goes through the motions like it is updating - it finds the update site, generates an uninstall and inst...

ADT plugin and Eclipse 3.5

I installed ADT plugin to Eclipse 3.5. But at Window->Preferences Android node is not shown. ...

How to make Aptana (Eclipse) not follow symbolic links?

In Aptana Studio 2.0 (which is actually Eclipse 3.5) I have a Rails project X that includes a symbolic link to a folder Y outside the project folder. Folder Y is big. It contains a lot of files and folders. Building the project and refresing the workspace takes a lot of time. Therefore I do not like Eclipse to take the contents of folder...

Problems with jar

I have a project in Eclipse, that inculdes some files with data(not in classpath), and I want to pack this project to the runnable jar-file, but the problem is, that after I pack it to the jar, it's not located there. How can i add it to the jar? ...

How to import an already checked out svn repository into Eclipse?

Hi, I have a svn repository I have checked out and have in my local hard disk. Now, how do I import this into Eclipse? When I choose File->Import and choose SVN, there is only an option to checkout a project from the server again. File->New project seems to be for projects we are creating new projects from scratch. Kindly point out the...

Eclipse .classpath file. How to control server name entry?

I'm using Eclipse Galileo with a kind of well known plugins to develop Java Enterprise Applications. Now having a Java Project, Eclipse writes the following line to the .classpath file in the projects root folder: <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.generic.runti...

Eclipse ini file; parameters, meanings and "best-practice" values

Hi all, I wish to fine tune my eclipse.ini file to best suit my system and development environment. http://wiki.eclipse.org/Eclipse.ini is not very helpful. I would like to know for example: Given a processing power of X RAM Memory of size Y and Java version Z; What the values of -Xms & -Xmx should be. Generally speaking, is there a...