|How to print dynamic generated values of form field in selenium using Eclipes.|
Try this code:
//Get the rate - updated with currect xpath
String rate =
//Print it in Eclipse console
System.out.println("Rate is " + rate);
|Eclipse import Phongegap project|
The documentation here is all you need, just
follow the steps.
|AngularJS file not loading in browser using Eclipse?|
If you're using Spring WebMVC, you can put a line
like this in your context.xml.
This maps your resources folder in WebApp Root (so
src/main/webapp/resources) to the /resources/*
url. Put your CSS, JS, Images in the Resources
folder and then change the link.
|Subversion/Subclipse Install Problems|
You need to have JavaHL installed. Typically that
would mean using Homebrew or MacPorts install
Subversion + JavaHL.
You can also install the SVNKit plugins from the
Subclipse update site, and set your preferences
under Team > SVN to use SVNKit, which is a pure
Java implementation of the Subversion API.
JavaHL is generally preferable because it is part
of the Subversion project itself. But Jav
|Is it possible to install a SVN plugin for Eclipse without getting a security warning?|
It is one of the SVN plugins that is not signed so
there is no way to avoid this warning.
Since Subversive comes from Eclipse most of the
plugins should be signed. It should just be the
'connectors' which are not signed since they come
|How to use git to sync code without committing?|
Before you start, create a separate (feature)
branch and checkout to it. Now you can commit
whatever you want, be it a broken code or just
some experiment. You can also fetch your master
branch (or dev etc.) and rebase on top of it (or
dev etc.) to keep your branch up to date. As soon
as you get the code to the final state, use
interactive rebase* to clean up / squash /
reorganize your commit hist
|Auto Code Completion on Eclipse Kepler for Omnifaces o:importConstants|
Basically, this requires a custom Eclipse plugin
which recognizes the <o:importConstants> tag
and prepopulates the autocomplete menu. As of now,
no such plugin exist and there are as far as I
know no plans (at least not from our side) for
writing IDE specific plugins for OmniFaces
I must however admit that it's interesting to have
a plugin for the very purpose. This kind of
|Subclipse not showing the SVN data in package explorer and team options not available|
If you do not see the Share Project option in the
Team menu, then I would guess the issue is that
you are reusing an existing workspace and you had
Subversive plugin, not Subclipse installed, and
these projects were already connected to
Subversive. So the Eclipse framework thinks it is
associated with Subversive, but that plugin is not
available to add its options to the Team menu.
Create a new
|Getting warning while generating java doc for @RequestBody and @PathVariable in Eclipse|
You get a warning because that is not valid
javadoc. The valid javadoc would be
* Request POST call to create category
* @param category the category to create
* @return category id and title as JSON string
@RequestBody is a Java annotation. It has nothing
to do with javadoc.
|Can't open Eclipse E4 .product in Kubuntu14.04|
The issue is the default oxygen-gtk GTK2 theme as
Either edit the GTK2 theme config file as outlined
above or change System Settings->Application
Appearance->GTK->Select a GTK2 There: and change
it from oxygen-gtk.
|Wrong fields in forms Alfresco exported from Activiti Kickstart|
First of all, before using a tool and a plugin you
should understand the basics about Alfresco
Content Modeling and making your Content Model
visible in Share.
This is typically a question where I can see that
you lack the knowledge of the basics.
Define a workflow Content Model (XML)
Define a simple workflow and use the workflow
Use the share-config-custom.xml to make necessary
|How to run Vert.x Verticle on eclipse?|
Your best bet is the Vert.x Google Group:
There, you can get answers from Tim Fox and other
As for your Eclipse issue, I assume you found that
|JFXtras Agenda Exceptions|
To run your application with the Agenda custom
control from JFXtras, besides
jfxtras-agenda-8.0-r3.jar you need to add also to
Both are available at Maven central.
|How to open a Property from an EMF element in Eclipse in an Editor?|
Have a look at Xtext. Xtext allows you to create
pure text based editors for your EMF models. These
are called DSL editors since they usually only
support a subset of the features of a complete
When writing the Xtext grammar, you need to create
a structure which resembles your existing model
(you especially need to use the same names). Xtext
will then generate a text editor
|Automate JUnit tests for functionality on the server in Eclipse?|
Eclipse (and any other IDE for that matter)
doesn't stop you from doing anything in unit
tests. It doesn't really support much, either,
which is the core of your problem: Eclipse won't
start a server for your unit tests. The same is
true for all other IDEs that I know of.
Instead, you need to read up on how to embed Jetty
in a Java application (= your unit tests) so the
first test can start the s
|Unable to connect Eclipse IDE with hana cloud trial account|
You've specified p1940990208 as account name
(visible in the second screen shot), while in
reality your account is p1940990208trial. Please
fix that and try it out again - I'm pretty sure
it's gonna work fine.
|Connecting Oracle Database 11g Express Edition to Eclipse|
To check the host name ->
open the tnsnames.ora file with oracle developer.
You will see somethimg like this-
ADDRESS = (PROTOCOL = TCP)(HOST = hostname )(PORT
now in eclipse-> windows->preferences->data
management-> connectivity -> driver definition
there add oracle thin driver 11 and include
necessary jars(u will find them in your
|Get current project in a wizard (Eclipse RCP)|
I your wizard implements IWorkbenchWizard
interface, you will have a method with the
following signature to implement:
void init(IWorkbench workbench,
The selection parameter will hold IResource
objects that were selected in the current
navigator when launching your wizard. From
IResource, you can get the project.
|Eclipse (Juno) debugger callstack with full qualified class names|
Does this help? In the upper right-hand corner of
the Debug (callstack) view, click the menu button
(the upside down white triangle), then Java, then
see the 'Show Qualified Names' option.
|When using EGit Eclipse loses autocompleting and more|
I don't think your issue is related to EGit.
Although I don't use CDT very often, by I
sometimes see similar issues with the Java editor,
and it almost always related to content assist
provider getting turned off.
A quick search turned up that such a feature also
exists for CDT, so I would look at the CDT content
provider preferences. For details see also the
following SO answer: http://stackover
|How do I wait for IWorkbenchWindow to become available?|
In an RCP your class derived from
WorkbenchWindowAdvisor can override the
preWindowOpen class to set up hooks just before
the main window is opened.
As an example, the Eclipse RCP uses this to set up
an IPageListener to watch for workbench page
|EclEmma code coverage plugin and PowerMockRunner|
This is a known problem with Eclemma (JaCoCo).
Basically both libraries modify byte code but
Mockito modifies it during runtime which produces
a different binary .class file. JaCoCo apparently
uses keeps track of the classes it's watching via
a hashMap whose hashcode is derived by the class
definition so the hashcode will be different after
Mockito modifies the class so JaCoco can't find
|e(fx)eclipse with eclipse Luna and Java8|
I had faced similar issue when I had installed
JavaFX eclipse plugin in a 32bit eclipse (Luna).
It seems, though you have 64bit OS and 64bit
JRE/JDK, and you have setup Environment Variables,
you will need 64bit Eclipse to run JavaFX under
Hence, make sure you have 64bit Eclipse running on
your machine. If it is a 32bit machine, then there
won't be any problem as neither we could install
|Cannot start Weblogic Server from Eclipse|
I found the solution by my self.
Qualcomm Atheros AWiC Diagnosiccs utility blocks
the CMD. After that I killed the process
(AWiCDiag,exe - I noted that it eat up 3.5 GB of
memory) automagically Starting WLS process reached
100% in few second.
|How to configure jboss application server with eclipse IDE|
JBoss Tools is what you are looking for. It's a
plugin that integrates jboss with eclipse, so you
can start the server, deploy apps, etc.
You can install it using eclipse marketplace, and
there are tutorials out there that show you how to
set up your server in eclipse, and deploy apps
|Scala Play development workflow (IDE)|
Presumably you come from a Java background? Java
tooling is amazing. You take it for granted that
everything just works so perfectly. It wasn't
always like that, it took many years for Java
tooling to mature to the point it is today. Now
Java developers are so used to everything working
perfectly that tiny tiny issues such as false
negatives/postives with IDE errors stand out like
a "pain in the n
|How import eclipse code style to intellij idea?|
Go to Eclipse's Preferences → Java → Code
Style → Formatter and export the settings to an
XML file via the Export All button (or Edit and
then Export in dialog that opens up). Then open
IntelliJ IDEA Settings → Code Style → Java,
click Manage, and import that XML file by simply
As of IntelliJ IDEA 13, there is no possibility to
import .settings/.prefs files directly.
|How to Create a Region in eclipse like Visual Studio|
#region is a feature of the C# language. Unless
you are writing C# in Eclipse through some plugin
(and there is one actually), you can't. If you are
writing C# in Eclipse, then just type it. But I
don't know if Eclipse will collapse it like Visual
|The eclipse keyboard shortcuts of collapsing&expanding editor don't work|
Oh yeah~ , I solved it..
Maybe this problem only happened to me, anyhow
Share to everyone~:
The collapse defauty keyboard shortcut is
Previously, I rebound it with
I think both the "Ctrl+Numpad_Subtract" and the
"Ctrl+-" can use.
Actually, only one can use.
(Why did I use the "Ctrl+Numpad_Subtract"
directly? Because my notebook has no n
|How to quickly copy the current editing file name or full file path in Eclipse (Luna)?|
You can use star explorer or Copy path plugin.
Short cut key to copy path to clipboard in star
explorer is : Ctrl+Alt+
Standard eclipse eclipse doest have such key. You
can select resource in Package/Project/Navigator
view and press Alt+Enter to open property dialog
and then copy path from here.
|Eclipse Luna + Jboss Tools = Heap space error while editing HTML or JS|
I did some intense investigation on the issue. I
found that wasn't causal! The issue would ALWAYS
happen while editing an HTML file whith some
So what's the problem?
The problem is the JS validator.
Disabling the JS validator on compile solve the
issue (it's not a true solution but it's the only
way I found at the moment).
I think that HTML validator and JS validator
|How to reset Eclipse Luna theme to "none"|
Exporting my current workspace settings revealed
entries containing following String:
Apparently it is the native name of the "Windows 7
classic" Theme in eclipse.
Searching my workspaces .metadata folder revealed
12 occurences (I recommend EditPlus or Notepad++
After deleting those I got my clean "null" theme
Now I am happy again. :)
|Save Perspective Layout in Eclipse 4|
For Eclipse 3.x, I re-wrote
Perspective/PerspectiveRegistry to add support for
saving & restoring perspective layout by
instance (in your case, by user) rather than by
Save: Beside persp_id, also including a secondary
id to identify different instance of the same
Restore: Load perspective matching both persp_id
and secondary (instance) id.
Fallback: It is recommended t
|How can I add sql statement in C/C++ Eclipse Editor?|
I have found Edit Plus
It's a text editor that suports new syntax added
There is a syntax file for "ProC or C with
embedded SQL" (ProC) :
|Warning seen java build path leading to HTTP status 404 error|
Go to windows (top, in the tabs) -> preferences
and then type in JRE and click in INSTALLED JRE.
Add the JRE path or fix the already edited path.
Right click the project, click on properties,
click on libraries, at the end you will see the
JRE. Select it as edit it as the WORKSPACE
Looks like your eclipse doesn't have the proper
path to the JRE.
As far as the 404 is concerned tha
|How to connect database in neoclipse?|
You would point neoclipse to the data directory on
disk or to the server http URL that hosts your
Probably easier to copy your database directory
contents to a neo4j-server's
|Is there a way to have some manual-layout edits in a Spring Integration graph re-order elements in the underlying XML context file?|
No, there is no way to edit this graph manually...
If this is allowed then the layout data needs to
be persisted somehow. There is a possibility of
adding more layouts to chose from from the GEF
Zest project. This could be an alternative for
what you are asking. Please submit a JIRA request
for enhacement against Spring Tool Suite project
|JavaFX MediaPlayer "Error: 80de0001 in CallbackToJava..."|
I don't know if you haven't found a solution
I had the same problem and solved it by following
public void handle(DragEvent
|Project "MyProject" has higher compiler option than running Eclipse|
It seems that you are using maven so you need to
adjust it in the compile plugin it your POM