eclipse

Can I share source code among projects in Eclipse (CDT) without using absolute paths?

Greetings, I know there are similar questions with answers, and some of them are being offered to my as I type this. However, none of them seem to offer a solution without absolute paths. I have two projects in an SVN project, and they need use some cpp and h files in a shared way. I simply could not find a way of avoiding absolute pa...

Eclipse: Setting up Run Configuration for HTML/Javascript Files

I want to use Eclipse as my editor for HTML/Javascript files. When I "Run", I would like to see a browser (any one of Internet Explorer, Firefox, etc on Windows) launched for my file. How can I set up a 'run configuration' to do this? ...

Is there an image design community that collaborates with developers to create applications with a better and more polished look and feel?

So after a lot of hard (and fun) work in development I’ve finally gotten fairly close to the end of my application development..or so I thought. I’m developing a game for Android (but that’s irrelevant to this post). Up until now, the images/drawables I was using were placeholders that took 5 minutes in MSPaint to create. So, now that...

junit 4 testing with spring 3.0 and Hibernate 3 in Eclipse - LazyInitializationException

I'm getting a LazyInitializationException trying to test my DAO methods using the tool stack defined in the title. My understanding is that my test must be running outside the hibernate session, or it has been closed before I try to read children objects from my DAO. From reading the documentation, I understood that using the @Transact...

How to get eclipse Helios to recognise HTML5 elements

Hi all I have spent some time googling this but to no avail. If anyone could point me in the right direction of some resources on getting my eclipse bundle recognising the new HTML5 tags that would be greatly appreciated. I am getting annoyed with all these little warning signs. I am using Eclipse for PHP Developers Version: Helios Re...

eclipse and codeigniter

I am new to using eclipse for php and am struglling with something that should be very simple. I use codeigniter - how can i add my codeigniter project to a new project in eclipse? ...

Variable scope in a switch case

I think I don't understand how the scope works in a switch case. Can someone explain to me why the first code doesn't compile but the second does ? Code 1 : int key = 2; switch (key) { case 1: String str = "1"; return str; case 2: String str = "2"; // duplicate declaration according to Eclipse. return str; ...

How to draw or make a calendar?

Hey, I am trying to make/draw a calendar. I am currently using canvas to draw it but I was wondering if anyone knew of a better way? I just want to display a month view of a calendar. I have .ics files on an SD card. The only difficulty I am having is how to draw the actual calendar. I also am trying to to make it so when the user click...

How Do I Add A Push Pin

Hi, I have created a map to a location following this tutorial Here But no matter what I do I cannot add the push pin, when I get to here "To add a marker to the map, you first need to define a class that extends the Overlay class:" I get stuck, I have tried to add a MapOverlay following the HelloGoogleMaps tutorial on android develop...

Custom Android Widget and Eclipse Intellisense

I am in the process of putting together a little Android app. I have created a couple of widgets by extending the ImageView and ScrollView widgets. The problem that I am having is not with the code itself (i.e. everything runs wonderfully) but rather with the Eclipse "intellisense" in an XML layout. If I am using the native android wi...

How can I make perltidy work with Method::Signatures?

I'm using Eclipse combined with EPIC to write my Perl code. I configured EPIC to use Perltidy with "-pbp" (perl best practices style) to format my code. This doesn't work well when using Method::Signatures' named parameters. E.g., func (:$arg1, : $arg2) is formatted as func (: $arg1, : $arg2) which yields an error. Also, func keyword i...

R.java disappears after project clean

After I added some .png files into my Project Workspace drawable folder I refreshed my drawable folders in Eclipse and the newly added files showed up. But when I tried to access those resources using R.drawable.xyzimage, xyzimage although in the folder could not be resolved. So I did a Project Clean and guess what after this clean R.j...

Eclipse PDT - Javascript Code Assist is not work?

I thought PDT would do code assisting on JS files. Was I wrong, or is there a bug or something I am missing? ...

Eclipse PDT - Javascript code hinting not working?

I thought Eclipse PDT had all the Javascript plugins and supported code hinting, but it's not working for me. Was I wrong, or is there something that needs to be set up for this to work? Thanks in advance. ...

Add a navigation button to map

Hi, after much time and effort I have managed to create a map with a set location and add a push pin(marker) to the map showing exact location. Now I want to add a navigation button, I have five buttons at the top of the screen that allow zoom in and out street view and satillite view. The final button is for navigation, I plan to...

eclipse servers

Hello, I have the Eclipse for Java EE Developers, and when I'm trying to create a new server runtime, I don't see in that list Apache Tomcat, or Glassfish v3 Prelude servers. Where are they? I tried to 'Download additional servers' but I see only 5 versions of Geronimo and a Jetty server, no apache and other Glassfish versions. What up...

How would you access Eclipse JDT index?

How do I access the index that eclipse uses to do Java search, import, etc? ...

Eclipse & Datanucleus - Help implementing PoolManager (BoneCP,Proxool,C3P0 or DBCP)

Datanucleus supports some pool manager options: http://www.datanucleus.org/products/accessplatform_2_2/rdbms/connection_pooling.html DBCP plugin C3P0 plugin Proxool plugin And recently BoneCP plugin I've tried EVERYONE of them, with NO success, because of OSGI (i'm under ECLIPSE RCP) The closest i've been to succeed was with DBCP...

When I install my apk I get an icon for every class in the project

I have a project in Eclipse with maybe 7 different classes that i open with Intent. The problem is when I install the .apk on my HTC phone I get an icon for every class. How do I make the project so it installs as one app only? /Johan Andersson ...

SQL Server 2005 and Datanucleus problem (ntext query)

Started getting errors with SQL Server 2005 This is the first time i've tested our app with Datanucleus 2.x (last test was made with DN 1.x) I use Eclipse RCP. Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The ntext data type cannot be selected as DISTINCT because it is not comparable. at com.microsoft.sqlserver.jdbc.SQL...