Vaadin Visual Designer not working - vaadin

I created a Vaadin 7 project in Eclipse Kepler for Java EE. I am having difficulty in opening the Vaadin Visual Designer. I am using Win 7 64 bit, Java JDK 7, Vaadin plugin for eclipse, IveDE, Apache Tomcat 7.
The source tab for the visual designer is accessible but the Design tab is not available at the bottom left corner. Anyone faced this issue before? I might be missing some files, but I tried updating eclipse and resolved Ive without any change.
Please advice. Thanks in advance for the help.
It is the same issue as described in this post,
https://vaadin.com/forum#!/thread/3655464
Found the workaround, at http://dev.vaadin.com/ticket/12141
add this to the ecilpse.ini file
-Dorg.eclipse.swt.browser.XULRunnerPath=C:\
However I still get a pop up message in eclipse saying that is cannot detect XULRunner 1.9
Any suggesstions?
Thanks in advance.

Did you update the path to your actual xul runner location? For example, if you extracted the archive directly to C:, your path will look like this:
-Dorg.eclipse.swt.browser.XULRunnerPath=C:\xulrunner
You probably don't have all the xul runner files directly on C:.

I am not sure the Vaadin Plugin for Eclipse installs the xulrunner by default. I say this because on this blog Using Vaadin Eclipse Plugin under Win7 x64 I found xulrunner installment listed as a required step.

Just add to the eclipse.ini this:
-Dorg.eclipse.swt.browser.XULRunnerPath=C:\xulrunner\xulrunner.exe
Eclipse will show an error, just ignore that as designer will be working then.

Related

What is currently a good way to develop a Vaadin 8 project with Eclipse?

Yesterday I tried to create a Vaadin project as described under https://vaadin.com/framework/get-started
I did it that way because the current eclipse plugin doesn't support greating Vaadin 8 projects.
Then I imported the project using Eclipse Import->Existing Maven Projects.
THis worked almost fine - only when starting the project using "Debug on Server" the Browser cannot connect to the application, although the application seems to be loaded.
When using mvn clean install and deploying the war manually this works.
What is missing there? Is there currently a good way of using Vaadin 8 with Eclipse?
Apparently this is more of an eclipse configuration question.
The context root can be changed using the projects Properties->Web Project Settings.
I would already use Vaadin together with spring-boot. On spring site they do have also a nice initializer tool to create your project: https://start.spring.io/ (Vaadin 8 is already used)
Also very helpful: http://vaadin.github.io/spring-tutorial/
The big advantage of using spring for me is the dependency injection, which simplifies the project setup.

Visual Studio for Mac- Error CS1902

I just recently swapped my MS PC for an Mac, I'm trying to continue working on an MVC project, but I'm getting an error (Error CS1902: Invalid option 'portable' for /debug; must be full or pdbonly (CS1902)).
Are there any good documents that explain how to make it work? I have seen people porting MVC to .NET Core, but I can't get the analyser to work on my Mac (not sure it's supported yet).
I did two things.
I update the Microsoft.Net.Compliers via nuget.
https://www.nuget.org/packages/Microsoft.Net.Compilers/
Change one value in the properties of project.
https://johnharold.wordpress.com/2017/08/16/csc-error-cs1902-invalid-option-portable-for-debug-must-be-full-or-pdbonly-cs1902/
I wish you can solve the problem
I had this same problem when trying to use Visual Studio for Mac to build a solution that works fine in Windows. Turns out the /debug:portable flag was being passed to the build command, even though the 'Debug Information' was correctly set to 'Full' in my project settings. Search the build output for 'portable' and you will indeed find the flag there regardless of your settings.
The fix is to upgrade the Microsoft.Net.Compilers nuget package. In my case, it upgraded from 1.0 to 2.7, and then the project built successfully.
Right click on the project in the solution explorer and go to
Options, Build, Compiler and change Debug information to Full

How can I remove double SVN integration menu's in the Delphi IDE?

An image says more than thousand words in this case:
As you can see, I have 2 Subversion menu entries in the Project Manager.
How can I remove those bogus second menu entries?
Environment: Windows 8.1 x64, Delphi XE, CollabNet 1.8, TortoiseSVN
EDIT
I got this behaviour after following instructions from this SO post to get the integration working with SVN 1.8.
As I understand it you have installed both the built in integration, and third party integration from VersionInsight. It seems that you want to use the latter and so need to remove the built-in integration. I suspect that you'll be able to do that with a repair/modify install from the Programs area of the control panel.

Moving old project to newer versions

I am new to Blackberry. Present I am working on 4.7 Blackberry component pack.Now I want to move my old projects to newer versions like 5.0 and 6.0. For that I installed eclipse Galileo 3.5 version and configured latest component packs and Blackberry java plug_in 1.1.2.
I searched in google and find somewhere that use File menu option Import>Import Legacy Blackberry projects and it is asking .jdw file in the workspace.I dont want to move entire workspace, I want only single project. am not able to find it.can any one help me to get this......
In Eclipse, for your old project, try to compile with the new JDE like say 5.0. See what breaks, fix it, repeat till it compiles. Then run on handset to ensure it looks ok.

ASP.NET MVC CTP5 Crashing IDE

I've recently installed the MVC CTP5 and VS is now crashing on me when I try to open an aspx, I get the following error in event viewer:
.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A035E00) (80131506)
I was able to find This post on the asp.net forums relating to the same issue but nobody has had a working solution yet (at least not for me).
Just wondering if anyone else has run into this issue and what they have done to resolve it?
EDIT: Wanted to add that I have tried all the tips in the article and can open the markup with a code editor but was wondering an actual solution had been found to resolve this issue.. Thanks!
EDIT: I don't have this issue on my Vista box, seems to only occur on my XP VM.
I had a problem with Power Commands and Preview 5. If you have Power Commands installed, try updating or uninstalling it to fix the issue.
Here are a steps to work around from the post that work for me:
1.Open project based on CTP5
2.IN solution Explorer, enable "Show All files"
3.Open "bin" folder and delete "Microsoft.Web.Mvc.dll", "System.Web.Mvc.dll", "System.Web.Abstractions.dll", "System.Web.Routing.dll"
4.Open "References" folder, click ONCE "System.Web.Abstractions" and in Properties window change "Copy Local" to true. Repeat same with System.Web.Routing.
5.Build application (Ctrl+Shift+B)
6.Open site.master in designer. VS will not crash.
FYI - Microsoft has released a hotfix that fixes [at least some variations of] this problem:
https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16827&wa=wsignin1.0
http://blogs.msdn.com/jnak/archive/2009/02/26/fix-available-asp-net-mvc-rc-crash-in-a-windows-azure-cloud-service-project.aspx
A bit of a null answer but I’ve been having this too. Not that I restart VS often but cleaning out the bin folder before opening the web project is my workaround.
Have same problem, on vista x64 and vs2008 sp1. Have to do probably something with cleaning bin folder and system.web.routing/abstraction, because it crashes even on webforms project with (mvc) routing in it. When I delete all files from bin, and add references again, it works fine.
Really annoying bug in vs2008+ctp5!

Resources