eclipse

How do I build a Rhino project as a runnable JAR in Eclipse?

I have a Rhino project where I've written some .js files, and from Eclipse I start my program by calling org.mozilla.javascript.tools.shell.Main with a parameter to one of my .js files, "src/bot.js". Now, in order to run this on my server I would like to be able to build it into a single runnable JAR for easy deployment. How do I do this...

Developing java web services in eclipse

Anyone knows a good tutorial about web services implementation on the eclipse? ...

Feedback from eclipse plugin?

I have written an application that I have wrapped into an eclipse plugin (PDE). When I run the plugin from eclipse it either goes well or it fails. If it fails I don't get any feedback on where it went wrong. I am using a logger (logBack) but the messages don't get printed in the console. I guess its because it works as a plugin which ...

Is it possible to specify in Eclipse managed projects the path of a library independent of configuration

Within Properties/Settings/Tool Settings, one can specify a Library search path (-L). For a specific build configuration one can enter ${workspace_loc:/SomeLib/Debug} or ${workspace_loc:/SomeLib/Release} depending on the configuration. Is there a variable, like ${workspace_loc} that can be used specify a 'universal' search path. This...

Eclipse PDT: put my workspace under htdocs or is there a "move files" build directive?

I am using Eclipse PDT with the Zend community server to develop PHP. If I write some code and hit Run As...PHP Web Page, I get "Page cannot be found". This makes sense since my workspace is off in my documents folder, not in the Zend/Apache's htdocs tree. So one option would be to move my workspace to a folder under the Apache htdocs...

Eclipse Class Count Lines Plugin?

I need a plugin that can count the lines of code that a particular class uses. This includes the code within the particular class, and the number of lines of code in all the classes that it uses as well. (If it has an object from another class, the lines of code in that class need to be counted as well). I've found plugins that tell me a...

In Eclipse, How to sort methods by class during auto-complete?

In Eclipse, you can press period after an object to see its methods and the methods it inherited from its super-classes. Is there a way, (keyboard shortcut during auto-complete or otherwise) that allows you to organize the methods by class, (this, super, super's super)? This would help find methods specific to this subclass much faster. ...

Maven compilation failes (but compilation under Eclipse is successful).

Hello, While building my web project from Eclipse, everything is fine: no errors, no warnings. However while building project with Maven it failes. Below is the output form mvn compile: c:\Users\jwa\Desktop\tets\traffic_web>mvn compile -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] -------------...

Upgrading AspectJ Runtime Library in Eclipse

I am trying to upgrade to a newer version of aspectjrt than the one that comes with Eclipse. I updated the version number in maven pom.xml. Eclipse doesn't seem to pick it up, it still displays the built-in version on its classpath. Which version of the library does m2eclipse uses? ...

Error with android database program

06-29 01:24:15.882: ERROR/AndroidRuntime(747): Uncaught handler: thread main exiting due to uncaught exception 06-29 01:24:15.922: ERROR/AndroidRuntime(747): java.lang.RuntimeException: Unable to start activity ComponentInfo{one.two/one.two.Arrival}: java.lang.NullPointerException 06-29 01:24:15.922: ERROR/AndroidRuntime(747): at and...

Can you recommend a standard, cool environment for Java web application coding?

I'm a beginner coding a Java web application. I used to code Ruby On Rails. Can you recommend a standard, cool environment for Java web application coding? Is Java+Tomcat+Struts+Eclipse standard? ...

Removing the explicit runtime dependencies to other projects' libraries in Eclipse launch configurations for projects that use Plug-in descriptions?

In Eclipse it is possible to create launch configurations in a project, specifying the runtime dependencies from another project. A problem I found was that if you have a multiple project workspace, being possible that each project has its own libraries, it is easy to add explicit dependencies in a secondary project to libraries that are...

Eclipse on Windows 7

Every time I open eclipse Galilio on Windows 7 64bit this message appear and it won't work ------------------------------------------------------------------------------------- Faild to load the JNI shared library "C:\Program Files(x86)\java\jre6\client\jvm.dll" ---------------------------------------------------------------------------...

Java. Warning - Build path specifies execution environment J2SE-1.4

I creat a Maven Project in the Eclipse Helios. It works fine for a day, but one moment emerge this warning Build path specifies execution environment J2SE-1.4. There are no JREs installed in the workspace that are strictly compatible with this environment. Since this message project no more compiling and debugging. Does anyone have so...

In Eclipse PyDev is there a way to exclude arbitrary file-types from the Pydev Package explorer?

If you click on the icon resembling a downard-pointing triangle in the PyDev Package Explorer and then select "Customize View", The "Available Customizations" pop-down allows the user to select which of a standard set of files are visible in the package explorer. That's great if you wish to exlude or include certain standard types of f...

What are the new features in Eclipse Helios?

What are some of the new and noteworthy features in Eclipse Helios, particularly with respect to the Java IDE? I looked around the website but couldn't find any release notes. Thanks ...

Use Scala as if it was Java

I've been reading up on Scala a lot recently and I really want to get into it. I do my Java web development from within Eclipse with Tomcat as my preferred server and I'd like to keep it that way. I've tried the Scala Eclipse plugin but it's safe to say, it isn't there yet. I had to uninstall it because it simply ins't working. On top of...

Eclipse 3.5 Cache Problem

Hi, I am using eclipse 3.5 with google app engine + spring framework to develop application. My problem is when I change the code and build the project, the new code doesn't come in to effect. I even deleted the old file but at runtime, the old version gets display in the browser. Why? ...

eclipse libraries no longer working.

i had put two libraries on the build path of my project, and then i closed eclipse for the night. when i re-opened eclipse, and opened the same workspace, the libraries "aren't working" in that eclipse isn't doing any of the helpful things it was previously doing, like underlining bad syntax with red squigglies, reporting things that did...

RCP based on plugins or features ??

Hi all, I have an RCP application based on plugins because I started this app from a simple Mail example. I am now wondering what is the difference between an RCP application based on features compare to one based on plugins ? For information, my RCP will maybe require some advanced features such as headless build, or self update. Ma...