eclipse

Linking menus together

Hi, I am really struggling with linking menus together. The app I want to create is a collection of menus that leads to url links to various sites I plan to open within the application. I have created a list activity menu with 8 options and I have eight classes with further options. My problem is how to link the menus together. I ask th...

How solve these error using tomcat server in eclipse for deploy jsp page?

HTTP Status 404 - /JspTest1/ type Status report message /Projectname/ description The requested resource (/Projectname/) is not available. ...

Editor does not contain main type

Hello, first of all, i like to say that i have read the other two questions regarding the same problem, and the solutions outlined in them did not help me. i tried cleaning, rebuilding, re-opening but it ddnt work out. I use eclipse for scala dev. This is the sample prog that i am trying to get an output from, its just casbah. package c...

Running two projects (trunk & branch) at the same time in Eclipse

Hi, I was wondering if it's possible to run two projects at the same time in Eclipse, for example by using two different instances of JVM (if that makes any sense). A bit of the background: I have a project that executes relatively long experiments (6-8h). I have recently managed to come to a point in development where I could branch ...

How to change default text file encoding in eclipse?

Whenever I add a new html file (or other text file) to the project its encoding is set to Cp1250. I am not sure why, I guess this is probably because input language in windows is set to Polish (which is correct for me as it's my native language and I dont want to change it). Anyway, eclipse says that Cp1250 is a 'default' encoding and I...

Asian characters and Eclipse

Hi, I have unit tests which contains asians chars (chineses ideograms), but Eclipse just display them as a square. When I copy and paste ideograms from a web page I have the same problem. My workspace is in UTF-8, my project and all it files too. My collegue can copy and paste asians chars with Eclipse on his MacBook, but Eclipse on W...

Configure Code Validation in Eclipse Galileo (3.5)?

In Eclipse Ganymede (3.4), you could navigate to: Window > Preferences > Validation ... and enable/disable various Validators. This feature seems to have disappeared in 3.5. Was this feature moved/renamed/refactored? Where can I find it now? I can't find any documentation pointing me to a new location. This is what I'm expecting: ...

Android: Styles, Includes don't take impact on preview?

Is it normal, that styles and includes don't have any effect in preview in Eclipse? The more I get into Layout building the less I can use the preview. Even in the newest SDK Version it's so poorly made. ...

Regex eclipse search/replace

Hello, i'm trying to find an regex for code cleanup. i want to cut of all tabs withoput any character following. \t+\n Does not work for me:/ Eclipse returns everytime "String not found" is the regex wrong? greetings ...

Convert a byte array to base64 for blackberry using Eclipse

How do I convert a byte array to a base64 encoded string using the BlackBerry plug-in for Eclipse? ...

Configuring Eclipse .classpath for two different paths for the same entry

Hi everyone, I'm wondering if there is a way (in Windows 7) to make some sort of mapping of drives so that sometimes you find the files in a network drive and sometimes you find them in a local map? -And to be able to easily switch between those two. The reason I want to do this is that I want to be able to work (as a developer, using ...

ClassNotFoundException when starting Maven 2 RCP application

Hi, I've started a very basic Eclipse (Helios) RCP application with the "Hello RCP" template. I enabled Maven dependency management and added Spring 3 to the POM. After that I created a view and added the following code to my view. @Override public void createPartControl(Composite parent) { RestTemplate restTemplate = new RestTempla...

Best Eclipse Code Formatters?

The default eclipse formatter formats my java code really funny. For example: hello.show().x().y() would be formatted oddly. .x() and .y() would be placed on a seperate line. Are there any other basic formatters that can do a better job? Examples and links welcome. ...

Trouble plugging Aptana into Eclipse

I'm trying to add Aptana to my Eclipse installation. I'm trying to do so on Win7 x64. I've tried both x86 and x64 versions of Eclipse. Most of the time Eclipse would install just fine, run okay, but as soon as I try to pluin Aptana it has problems. It will start up, then encounter an error immediately and close. Right now I have the x64 ...

Eclipse content assist and completion.

When typing xml in eclipse, content assist will add the closing tag of my xml. I type eclipse adds . As soon as I type a character in the body between the opening and ending tag, eclipse instantly puts an outline around the last character of the closing tag. It seems obvious that after you've completed typing the body, there ought to...

Can I make Eclipse's rdoc support work as well as Javadoc does?

When I write Java in Eclipse, I can point to pretty much any declaration or method invocation and instantly get the relevant Javadoc for the class or function I'm interested in. I guess it's spoiled me a bit -- rarely do I have to poke through the API documentation by hand, and frankly it's a nice feature to have. I've been doing Ruby ...

Clearing commit message in Eclipse (while using Mylyn)

No matter what I do, I cannot seem to get Mylyn to stop inserting a commit message based on a Task even though that task is no longer active and closed. I've tried restarting the app, I've tried activating and inactivating tasks (which seems to simply change the commit message, although this is not consistent). Switching to different pe...

is there Eclipse useful Add On for AutoComplete function like xCode?

Hello, I've started up with developing Java. However, These days I've started iPhone project and gave me lazy writing code;auto code generate functionality in xCode. Are there any non-pay free edition add-on exist that does similar to xCode? I mean, I do know Eclipse already has partial auto method look up when you put '.' (dot) token ...

Android project broken in Eclipse after ant build

Hi, I had a project working in Eclipse completely, but after compiling it with ant in order to use Proguard to obfuscate the code the entire project fell apart. The project consists of a single package containing two main activities and 4 helper classes to handle databases and such. After using ant the activities work fine but Eclipse ...

Generated web service client doesn't match wdsl

After developing a web service on Eclipse, based on Axis1 and JBoss, I deploy it and test it with soapUI. It works perfectly. Eclipse generates a wsdl file which I use in Eclipse's new web service client wizard to create an application client that consumes the web service. It generates the client code perfectly, but when I invoke some o...