w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Setting up a java/j2ee development environment with: Eclipse, Tomcat and Vagrant
What files/folders am I supposed to share? (not the whole eclipse workspace I suppose) IMHO, share the project you are working on is enough. This way you may have one VM for each project. You have two options to generate the war: build on host; build on VM (preferred). If you choose Option 1: Since your project folder is shared with VM, you can copy the war to $CATALINA_HOME/webapps once you ssh to VM. I would suggest Option 2 because you could keep the build environment as close to your production environment as possible. Am I better off using a exploded or a normal war archive? I would use normal war archive, but there's not much difference here. How do I configure Eclipse (which lives on the host) to see the remote Tomcat (the one that lives on the guest). You have two opt

Categories : Eclipse

Setup Blackberry Development Environment on Java + Linux + eclipse juno
Hmm..your logs say artifacts not found and so I guess you're using the eclipse blackberry plugin update site to download the jde which unfortunately is no more supported by blackberry. You'll need to download the blackberry eclipse jde bundle that is pre installed with blackberry jde. Check this out. Moreover I haven't seen any support for linux yet.

Categories : Java

Compile Java classes at runtime of Eclipse Plugin
You can use Eclipse JDT compiler, as described at http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Fguide%2Fjdt_api_compile.htm.

Categories : Java

iPhone 5 Vs iPod Touch 5G iOS development differences?
You can't test offline GPS navigation and cellular network on iPod Touch. And mostly they are weaker than their phone counterparts, so you can optimize it on a weaker device, and it will more likely to run smooth on more powerful devices.

Categories : Misc

twitter-bootstrap-rails - differences between development and production
I think you are using other style on your application, something like a scaffold for generator, scaffold will generate scaffold css. I'm use scaffold and i'm having scaffold.css.scss on my apps, Here's style of link on scaffold.css.scss a { color: #000; &:visited { color: #666; } &:hover { color: #fff; background-color: #000; } } You should remove style of link or you can remove scaffold style on your apps if you won't it. Twitter bootstrap do not have style link with a black background, by default. If you don't have other style on your app and only use twitter bootstrap you should find style of link that bring about an issue

Categories : Ruby On Rails

MVC 4 Razor User interface differences between Development Environment and IIS
Chances are that because one is rendering in the "localhost" domain that it is using IE's Compatibility View by default because it is considered to be an "intranet" zone. And the other is likely rendering from something that is considered to be in an "Internet" zone, so no Compatibility View by default.

Categories : Jquery

Tycho and Eclipse: How to resolve OSGI dependencies to my own bundles at development time within Eclipse, without opening all of them in the IDE
As indicated by Nick Wilson, you will need to install the m2e Tycho Configurator, which basically "links up" Eclipse and Tycho (i.e., makes Tycho available in Eclipse). You should've been pointed towards it after having installed m2e, but you can also install it manually: Go to Window > Preferences > Maven > Discovery. Click the "Open Catalog" button. This will open the "m2e Marketplace" window. Search for "tycho", this should give you the "Tycho Configurator" as sole search result. Click "Finish", you're done. I've had this issue as well, and it isn't simple to find the solution, so I hope this helps!

Categories : Eclipse

Moving to Eclipse RCP from Eclipse plugin development
There are no real differences between RCP and Eclipse IDE applications, except maybe a reduced set of plug-ins to rely on (but they can be brought back). What you might have to take extra care is branding (and theming), and packaging (possible via products). Some RCP tutorials to start with: Eclipse 4 RCP Old, 3.x RCP API Products and deployment In case of RAP, the difference is bigger, as you have to manage the different sessions of different users, and theming is more important. A tutorial for the RAP-based issues (including tips for single sourcing RCP and RAP applications) are available from eclipsesource.com. A final note: if you are starting a brand new project, I'd rather experiment a bit with the 4.x API, as it is simpler to manage between RCP and RAP.

Categories : Eclipse

Location of Blackberry code-signing "previous Blackberry Java Development installation directory" in Import Existing Keys (Eclipse BB plugin)
When you originally install code signing keys from RIM, and use them, the toolset will generate three files: sigtool.csk sigtool.db sigtool.set (maybe not needed?) These are the files that Eclipse wants. So, you could just use Windows explorer (or Mac equivalent if on OS X) to search for the folder that has those files. Depending on your situation, it could be in different places. It could be in the user's .eclipse directory: C:Usersmyname.eclipse Or, it could be under the BlackBerry JDE / Eclipse plugin installation directory. For example, C:Eclipseplugins et.rim.ejde.componentpack5.0.0_5.0.0.36componentsin For completeness, I'll dig up a couple old computers, and see where they have the code signing files installed, but for your purposes, doing a filesearch for *.csk is p

Categories : Eclipse

Can't install plugin in eclipse due to dependency on bundle org.eclipse.core.runtime 3.8.0
I solved this by simply modifying the name that I had entered for the plugin that I was installing. In the name text field option available after clicking add new on help > Install new software, make sure the name you provide is one word(could include underscores) without any spaces in it.

Categories : Android

org.eclipse.core dependency to org.eclipse.runtime suddenly changed
The problem is likely caused by version ranges. These ranges do not even have to be used for the Eclipse artifacts. Assume you depend on [1,2) and 1.1, and 1.2 are available. At a moment in time, 1.3 is added that has different dependencies. If it finds multiple groupId:artifactId with a different version then it picks the first it finds. Maven follows a breadth first strategy to find dependencies so that you can override it in your top level pom. This is of course very obscure and error prone. A better way is to specify all your app dependencies in one pom so you can ensure valid versions.

Categories : Eclipse

Agile web development with rails ProductsControllerTest , meaning of :product symbol
There is nothing magical about this construct. The @update is a variable name that references a hash. The hash is declared earlier in your test file. @update = { :title => 'Lorem Ipsum', :description => 'Wibbles are fun!', :image_url => 'lorem.jpg', :price => 19.95 } This hash contains new data that should be passed to the update action in the products controller. It's confusing because of the way the variable is named. A better name might help: @product_attributes The products#update action expects a hash containing updated data. That data is used to update the object. The following line in your test... post :update, :product => @update Corresponds to this line you probably have in your products controller: if @product.update_attributes(par

Categories : Ruby On Rails

Eclipse e4 and plug-in development
I'm not sure what exactly you want to achieve. Option 1: You want to write a plug-in for an e4 RCP application: You can do this (e.g., contribute ViewParts to an e4 application model) via a model fragment. Basically, instead of extending the org.eclipse.ui.views extension point in Eclipse 3.x you create an application model fragment file in your plug-in and reference this in an extension to the extension point org.eclipse.e4.workbench.model. In the model fragment, you define the parts, commands, etc. you want to contribute. See for example these tutorials for more details: http://eclipsesource.com/blogs/2012/06/26/eclipse-4-e4-tutorial-part-3-extending-the-application-model/ http://www.vogella.com/articles/Eclipse4Modularity/article.html Option 2: You want to write a plug-in e4 s

Categories : Eclipse

execute sql statements in java at runtime using Runtime.getRuntime().exec()
Don't use an intermediary shell. And use a ProcessBuilder: final List<String> fullCommand = Arrays.asList(exportQuery, filePath, sql + ';') final ProcessBuilder builder = new ProcessBuilder(fullCommand); final Process p = builder.start(); Note that using ProcessBuilder you can send stdout/stderr to a file, and even customize stdin. You can set the working directory, customize the environment etc. Use that. Really. Runtime.exec() has no reason to be used anymore.

Categories : Java

Eclipse Issue for Android Development
Go to eclipse window - >Preference -> Left side click on android -> Browse the android sdk home directory.as like bellow image..-.Apply -> ok...Done. After that create the project.

Categories : Android

Eclipse + GWT -> Out of memory in development mode
If the browser application is throwing the OutOfMemoryError, then you don't need to change the Eclipse settings (eclipse.ini), that's only for Eclipse itself (more memory, usually faster workbench). To increase an app's memory (any Java app launched from Eclipse), go to the Run/Debug configurations... in the Run menu and set the VM arguments on the Arguments tab of the app's run config: -Xms128M -Xmx1024M -XX:MaxPermSize=256M

Categories : Java

Eclipse Plugin Development---PopupMenuCreation
You should separate the code into the following pieces and dataflows: Handler: get the selection and create the wizard and wizard dialog (as you do already) Handler->Wizard: use the Wizard's constructor or a custom init(foo) method (which you call from the handler) to set the selected object (or whatever you want to pass as initial data) from the handler Wizard->WizardPage: When creating the Wizard, instantiate the WizardPage(s) and pass the selection to the wizard pages. (If you need a more complex model which is shared between the Wizard and its pages consider creating an instantiating a simple value-holder class as your wizard model; i.e., a simple java class with your data and getters/setters. That object can then be shared across the pages if you pass it to every page's constructor)

Categories : Performance

Exception while trying to run eclipse product
I had the same problem after updating my Eclipse 3.7 application to 4.3. The solution was to replace the contents of the tag in my product file with the following: <configurations> <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="2" /> <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="3" /> <plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="3" /> </configurations> Also see http://wiki.eclipse.org/Eclipse4/RCP/FAQ#Why_won.27t_my_application_start.3F

Categories : Eclipse

doubts related to plugin development for eclipse
What you are describing is a plain OSGi bundle, with no Eclipse-specific features. In terms of the New Plug-in wizard, yours "doesn't contribute to the UI". Technically, it means that it doesn't need plugin.xml. The way your outside code perceives the bundle is just as if it was a regular jar: you can access its classes, instantiate them, and call their methods. Or you can call static methods, just like you are used to. The additional layer provided by OSGi means you can identify which Java packages your bundle exports to its users. Therefore a class which is public, but doesn't reside in an exported package, is not accessible to other bundles (this applies only to the strict mode, however; otherwise you only get an Access Restriction warning).

Categories : Java

Eclipse Plugin-Development Debugger out of Sync
The debugger highlights the code that is just about to be executed. When the debugger says you are in method b() it is simply telling you that it is about to debug method b()

Categories : Eclipse

Update an Eclipse plugin to a development version
First, I wouldn't recommend that you just delete all groovy files from the plugins and features directories. This is probably going to muck up your install beyond repair. In fact, at this point, the easiest thing to do is to just start with a fresh Eclipse install and directly re-install from the snapshot update site. However, if you are feeling adventurous, you can undelete the groovy plugins and features. Try installing again and paste the entire error message here. There is a piece of the error message that you are missing. The full conflict description is not there.

Categories : Java

Android development with Eclipse clean and build
Hey add this in your imports and check if it works... import yourPackage.R; Update : 1) Go to your sdk manager. 2) If there is a build tools update or install then please update or install it. 3) Restart the eclipse.. 4) Enjoy.........

Categories : Android

Unknown extension tag found: Eclipse Plugin Development
As error clearly says, actionProvider is not a valid element for org.eclipse.ui.popupMenus. Valid elements are objectContribution and viewerContribution. Also note that org.eclipse.ui.popupMenus is deprecated, in future versions it maybe removed. More information about popupMenus can be found here.

Categories : Java

Images are linked togheter with eclipse android app development
try to implelemt Intent this way intent.setAction(this, SecondActivity.class); startActivity(intent); instead of startActivity(new Intent("com.example.mereta.Geschiedenis")); another thing try to add finish(); in each activity on back pressed so you will finish each activity when you start another

Categories : Android

Where is the "SDK Development Console" in Google app engine's eclipse plugin?
Check it here: Development Console Once you are there you can see the column Write Ops which will tell you the write ops needed to store that entity.

Categories : Google App Engine

Eclipse plugin development: unknown extension point
Did you add all the plugins as dependencies in the manifest.mf ? Check this link for CDT downloads http://www.eclipse.org/cdt/downloads.php cheers, Saurav

Categories : Java

Eclipse plugin development: Deliver tools (e.g. compiler)
In my opinion the best tutorials are on Vogella site. I found there nearly all information I needed, when I developed Eclipse plugins.

Categories : Java

Eclipse ABAP Development: Cannot Retrieve Connection configuration
I realize this is a really old question but just in case you still have this issue (I have it on my mac all the time) add the following two entries to the bottom of that settings file: @INCLUDE = "file:///home/dfabbri/.SAPGUI/connections" @MESSAGESERVER = "file:///home/dfabbri/.SAPGUI/message_servers" Then create the two files above in that path (connections should already be there), message_servers can be empty. Hope this helps.

Categories : Linux

Eclipse: what's the proper way to export a plugin as a product?
Check your product configuration: go to the "dependencies" tab and press the "Add Required" button. If you would like to export your plugin (product) as a standalone application(just create a build) I would recommend you to take a look at the Tycho (http://eclipse.org/tycho/). Tycho tutorial: http://www.vogella.com/articles/EclipseTycho/article.html.

Categories : Java

how to disable the maximise button in eclipse plugin development project
Use this if you only want to remove the maximize button: frame.setResizable(false); example code for a small project of mine: public UI() { initComponents(); this.setResizable(false); } how it works: initComponents initializes my GUI which I build from the standard GUI builder in netbeans (you can also download swingbuilder for Eclipse, or just build your GUI yourself). this is my GUI itself which contains my JFrame. this has a method called setResizable() which disables or enables the maximise button Hope this helped

Categories : Java

wso2 carbon hacking - eclipse development environment set up steps
After importing, you need to set the classpath. for that,buildpath-->configure buildpath, you will see libraries are listed under M2_REPO,folder. So, you might need to create a variable called M2_REPO,its path has to point your local m2-repository; eg: Name: M2_REPO path: C:/Users/TOSH/m2-repo/repository

Categories : Wso2

Eclipse plugin development - Add own QuickAssist -> Extract to local variable
This is the only code in Eclipse 4.2 that I could find that implements IQuickAssistProcessor. It's in the org.eclipse.ui.workbench.texteditor.source jar. Perhaps you need to use IQuickAssistAssistant instead? /******************************************************************************* * Copyright (c) 2006, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.ui.texteditor.spelling; im

Categories : Java

Buggy code completion in eclipse JavaScript Development Tools
Standard JSDT can seem non deterministic when it come to completions across files. That is because even if the project is configured correctly then the most expensive type of it's source code analysis only occurs on files that are open. Do you get the same result if both files are open? By the way, there is a fork of JSDT that is a candidate for merging to official JSDT called JSDT+NJSDoc that handles such cross file analysis extremely efficiently (and adds other features): https://bitbucket.org/nexj/webtools.jsdt.core

Categories : Javascript

Eclipse JAR at runtime
Perhaps it's failing to load a dependency of one of the classes in commons-configuration-1.6.jar? Maybe from another commons- JAR? The NoClassDefFoundError should tell you which class the runtime failed to load. Have you checked this?

Categories : Eclipse

How to assign simple product with custom options to configurable product & display it along with Configuralbe product
you can add custom option in simple product type go to your admin, click on manage product find 'Custom Options' from 'Product Information' Tab, set you custom option I think it will help you

Categories : Magento

Display product list from same selected subcategory for this product on product detail page
To get all subcategories of a category: $children = Mage::getModel('catalog/category')->getCategories(50); $searchInCategories = ''; foreach ($children as $category) { //Add , after every id if (strlen($searchInCategories) > 0) $searchInCategories .= ','; $searchInCategories .= $category->getId(); } Where 50 is a category id, in your case this would be PODS id. Now you need to alter the search query for your products: ->addAttributeToFilter('category_id', array('in' => array('finset' => $searchInCategories)))

Categories : PHP

the width of the composite is getting changed when we press on the maximise button in eclipse plugin development using swt
operationsListComposite.setLayoutData(new GridData( GridData.FILL_HORIZONTAL)); tells SWT that you want the composite to fill all the space which is why is expands on the resize. GridData data = new GridData(SWT.BEGINNING, SWT.TOP, false, false); data.widthHint = 100; operationsList.setLayoutData(data); Stops the composite for resizing and gives a suggested size - 100. Edit: You may not need the width hint.

Categories : Java

Installed Eclipse "ADT" bundle for Android development - now auto assist doesn't work
Preferences - Java - Editor - Content Assist - Advanced - Restore Defaults EDIT: If others are having problem even after doing the above suggestion, please also check "Java proposals" is ticked/checked under - Preferences - Java - Editor - Content Assist - Advanced.

Categories : Eclipse

IConfigurationElement in org.eclipse.core.runtime
There are a number of plugins which contain org.eclipse.core.runtime classes. IConfigurationElement is actually in the org.eclipse.equinox.registry plugin. The Require-Bundle in the org.eclipse.core.runtime plugin MANIFEST.MF reexports the dependency on org.eclipse.equinox.registry so this plugin should normally be included automatically.

Categories : Java

DataNucleus JPA runtime enhancement with Tomcat and Eclipse
Tomcat is not a "real" JavaEE server AFAIK, just a servlet container, and in this situation does not implement the JavaEE server aspects of the JPA spec (i.e to use the JPA ClassTransformer that DataNucleus registered with it in your question, or create an EMF using the correct constructor etc etc). So you should use the standard Java way of using a Java agent, via the JVM command line, which is the same for any JPA implementation that supports use of agent transformers

Categories : Eclipse



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.