Regular expression to find <% but exclude <%@ ?
Hi. Can someone provide me with a regular expression that will find this string : <% but will exclude this string : <%@ Thanks. ...
Hi. Can someone provide me with a regular expression that will find this string : <% but will exclude this string : <%@ Thanks. ...
When I undo a sequence of steps in a Java editor in Eclipse 3.4.2, the cursor skips over a bunch of comments unrelated to any change - only the method comments (eg. /**), not inline comments. Does this happen to anyone else? Any solutions to stop it? ...
Given the following code in Eclipse: import org.eclipse.jdt.core.dom.AST; import org.eclipse.jdt.core.dom.ASTParser; import org.eclipse.jdt.core.dom.CompilationUnit; public class Question { public static void main(String[] args) { String source = "class Bob {}"; ASTParser parser = ASTParser.newParser(AST.JLS3); ...
I want the eclipse Java Compiler Warnings available as an ant task (ie without eclipse) - ideally as ant plugins - but I want the cruise control ant task to fail if an eclipse warning shows up. For the following warnings Non-static access to static member Method with a constructor name Serializable class without serialVersionUID Assign...
When I am trying to to do Model.put() in eclipse for a google python app after changing the parameter of --datastore_path="F:/tmp/myapp_datastore" in arguments of debug configurations.I dont know if its related to above change or is there any other magic behind the scene. Any help. exception value:[Error 5] Access is denied UPDATE, A...
I’m getting the following error when I start Debug from the Eclipse IDE. Message: “Failed to connect to remote VM. Connection Refused” What could be the reason? ...
I noticed the eclipse indenter has support for the latest version of java, and it would be nice if I could use that class to indent generated java source code. Is there a way of integrating it ? EDIT: I need to be able to include the code formatter in my code. No external calls. EDIT2: I've managed to get it working. You can read the s...
When trying to set the interpreter for python in Eclipse by choosing the executable, clicking OK displays "An error has occured." Does the interpreter name matter? ...
I have a ViewPart that is created using a regular plugin extension point with a ratio that defines it's height. At a later point I have a block of code that is adding some more things to the Canvas for the ViewPart. The new items are not shown unless the user drags the edge of the ViewPart to make it bigger. Is there a way to programm...
How can I configure Eclipse to generate getters and setters with some prefix for argument variable? Example: private String someVariable; public void setSomeVariable(String aSomeVariable) { this.someVariable = aSomeVariable; } ...
I'm trying to have a view open programatically at the end of an eclipse ILaunchConfigurationDelegate. Currently I'm getting an "invalid thread access" error when I try to call showView(). How do I open a view from the launcher? ...
Is there any good reason to avoid unused import statements in Java? As I understand it, they are there for the compiler, so lots of unused imports won't have any impacts on the compiled code. Is it just to reduce clutter and to avoid naming conflicts down the line? (I ask because Eclipse gives a warning about unused imports, which is ...
In Eclipse is there a provision to copy multiple items and then paste the items selectively from the clip board? IntelliJ has this feature and I used to find it very useful. Does Eclipse have this and if so what is the key board short cut to view items in the clip board? ...
Hi Guys , I do have a problem with IToolbarManager. I have added a combo & spinner ot toolbar of a view like this IToolbarManager mgr = getViewSite().getActionBars().getToolBarManager(); mgr.add(spinnerCntrAction); spinnerCntrAction = new ControContribution(){ public Control createControl(){ //Creates composite //C...
Is Eclipse's undo history broken? I have been using 3.1, 3.2, 3.3, and now 3.4 versions for the last few years and was always able to undo only about 20-25 changes back in history. This nonsense has cost me some lost modifications countless times when trying to revert some recent changes (if you reply with "you should commit to svn eve...
Is it possible to set a default working directory in Eclipse 3.4.1? By Default that is: ${workspace_loc:(project name)} But I want it to be something like ${custom_var} Per class, I can change the Run configuration -> arguments -> Working directory to "Other", but it's better if the default can be changed. I have a lot of classes tha...
Hi, I use Eclipse as my IDE, and when I run my application I wish the application itself to run as root. My program currently checks if it is root, and if not it restarts itself with gksudo. The output, however, isn't written to the console. I can't use sudo, since it doesn't give me a graphical prompt. (While my program is CLI, Eclipse...
Hi! I'm using this configuration: Eclipse 3.4 + Tomcat 6.0 + Remote Debugging It's working great, I can debug a servlet and so on, no problems. But, my servlet console output is going to $CATALINA_HOME/logs/catalina.out. Is that possible to redirect to the Eclipse console window? I use Log4J in my project but every entry goes to ca...
I'm getting mixed results with an update site I'm setting up: Using http://mylyn-mantis.sourceforge.net/eclipse/update/site.xml gets the latest (3.0.2) version Using http://mylyn-mantis.sourceforge.net/eclipse/update/ gets me an old ( 3.0.1 ) version I got some hints about p2 metadata missing - does anyone know what's missing? Upd...
Eclipse/Aptana seems to remember my password that I use the access my repositories. Is there a way I can clear the stored passwords? ...