ganymede

Referencing Javascript libraries with Tomcat

放肆的年华 提交于 2019-12-06 09:23:24
问题 I am using Eclipse Ganymede and Tomcat 5.5 . I would like to add some javascript and especially ajax functionality to a dynamic web project and need some help. I would like to use jquery (but I am open to other suggestions, if you tell me why another library would be better in this case, but I have chosen jquery because it is supposed to be simple (which on the first look it seems to be)). I am having two problems: 1- Tomcat can't find the jquery library. I tried several things in my jsp file

Referencing Javascript libraries with Tomcat

醉酒当歌 提交于 2019-12-04 15:55:51
I am using Eclipse Ganymede and Tomcat 5.5 . I would like to add some javascript and especially ajax functionality to a dynamic web project and need some help. I would like to use jquery (but I am open to other suggestions, if you tell me why another library would be better in this case, but I have chosen jquery because it is supposed to be simple (which on the first look it seems to be)). I am having two problems: 1- Tomcat can't find the jquery library. I tried several things in my jsp file like: <script type="text/javascript" src="WEB-INF/lib/jquery-1.3.2.min.js"></script> <script type=

Hot Deploy for JBoss on Eclipse 3.4: Ganymede

孤街浪徒 提交于 2019-12-04 11:36:43
I am using Ganymede (Eclipse 3.4) to do some Java EE based web development targeting a JBoss 4.2 application server. I have always liked Eclipse very much for a Java editor. The thing is, for Java EE is not as useful as one might think. It's buggy, deployment and debugging is very slow, and you have to re-deploy your Java EE application every time you make a little change. That makes development unbearable. My question is: Is there a plugin that will make my life easier by adding HOT DEPLOY to Ganymede when developing JBoss Applications? Yes, you can use JBoss tools: http://www.jboss.org/tools

Attach Source Issue in Eclipse

旧街凉风 提交于 2019-12-04 09:15:12
In Eclipse (Ganymede) I'm debugging some code that uses Apache Commons HttpClient and would like to step into the HttpClient code. I've downloaded the source code and tried to attach it in the normal fashion (CTRL-click on the method name and use the Attach Source button). I've tried to attach both as external file and external folder with no success. I've attached source before with no issues and can currently step into Hibernate source code successfully. I've even tried editing the .classpath file directly to add sourcepath manually. Still no luck. Refreshing the project, doing a clean build

Eclipse Ganymede not validating JSPs properly

断了今生、忘了曾经 提交于 2019-12-03 13:39:24
I just installed Ganymede and am exploring an old project in it. All of my JSPs are giving me weird validation errors. I'm seeing stuff like - Syntax error on token "}", delete this token Syntax error on token "catch", Identifier expected Syntax error, insert "Finally" to complete TryStatement I'm doing best practice stuff here, no scriplets or anything, so I think that Eclipse is incorrectly applying a Java class validator to my JSPs. Any idea on how to stop that from happening? Under Options/Editors/File Associations I have the following for JSPs: JSP Editor (default) Web Page Editor Text

Eclipse - How can I change a 'Project Facet' from Tomcat 6 to Tomcat 5.5?

╄→гoц情女王★ 提交于 2019-12-03 04:04:03
问题 (Eclipse 3.4, Ganymede) I have an existing Dynamic Web Application project in Eclipse. When I created the project, I specified 'Default configuration for Apache Tomcat v6' under the 'Configuration' drop down. It's a month or 2 down the line, and I would now like to change the configuration to Tomcat 'v5.5'. (This will be the version of Tomcat on the production server.) I have tried the following steps (without success): I selected Targeted Runtimes under the Project Properties The Tomcat v5.5

Is Eclipse 3.4 (Ganymede) memory usage significantly higher than 3.2?

时光毁灭记忆、已成空白 提交于 2019-11-29 11:13:07
I was happily using Eclipse 3.2 (or as happy as one can be using Eclipse) when for a forgotten reason I decided to upgrade to 3.4. I'm primarily using PyDev, Aptana, and Subclipse, very little Java development. I've noticed 3.4 tends to really give my laptop a hernia compared to 3.2 (vista, core2duo, 2G). Is memory usage on 3.4 actually higher than on 3.2, and if so is there a way to reduce it? EDIT: I tried disabling plugins (I didn't have much enabled anyway) and used the jvm monitor; the latter was interesting but I couldn't figure out how to use the info in any practical way. I'm still not

Converting a Java Project to a Dynamic Web Project

拥有回忆 提交于 2019-11-29 01:54:25
问题 I'm using Eclipse Ganymede to create a web application, but the project's currently just a standard Java project. I want to convert it to a Dynamic Web Project and I need a hand in doing that. I've had suggestions given to me about editing the .project file, but when I restart Eclipse it refuses to open the project claiming the file is corrupt. There's also no facet management options in the project properties. Any suggestions? 回答1: Although this question is already answered I'd like to say

Make Eclipse treat .h file as C++?

守給你的承諾、 提交于 2019-11-28 13:46:45
All of our C++ headers use a .h extension. Eclipse thinks these are C headers and flags them with lots of syntax errors on things like classes and namespaces. I've tried to change the file type association from: Preferences > C/C++ > File types but it's "locked". Interestingly, "*.h" is associated with both C and C++ headers, but it seems to be using C. How can I get Eclipse to treat .h files as C++? Try creating a new project and specify your source area as the location. However, be sure you select C++ project (I usually use the makefile option). This is all you should have to do in order to

Unrooted Tests

℡╲_俬逩灬. 提交于 2019-11-28 09:37:28
When running all my tests in Eclipse (Eclipse 3.4 'Ganymede'), one test is listed under "Unrooted Tests". I'm using Junit 3.8 and this particular test extends TestCase. I do not see any difference between this test and the other tests. I don't remember seeing this occur in Eclipse 3.3 (Europa). Clarification: We haven't moved to JUnit 4.0 yet, so we are not using annotations. I also googled and it seemed like most people were having issues with JUnit 4, but I did not see any solutions. At this point the test passes both locally and in CruiseControl so I'm not overly concerned, but curious.