Giter Site home page Giter Site logo

crosswalk-developer-tools-eclipse-plugin's Introduction

This project is DEPRECATED!

Given that the Eclipse Android Developer Tools are not supported anymore, we have stopped maintaining this plugin. As of Crosswalk 18, the plugin doesn't work.

Introduction

Crosswalk Developer Tools Eclipse plugin is a suite of tools to develop Crosswalk Applications which extends generic Eclipse to be able to create a Crosswalk Application project, import an exist project from file system or export the Crosswalk Application to be an .apk for running on Android emulator or device.

Requirement

Below dependencies are needed for Crosswalk Developer Tools Eclipse Plugin

Installation

Several simple steps to install the plugin into your Eclipse as following:

1.Use below command to download the source code

git clone https://github.com/crosswalk-project/crosswalk-developer-tools-eclipse-plugin.git

2.Import the source code to Eclipse

In Eclipse menu select:
"File->Import"

Then select "General/Existing Projects into workspace" and click "Next" button

3.Build the plugin and export the binary

In Eclipse menu select:
"File->Export"

Then select "Plug-in Development/Deployable plug-ins and fragments" and click "Next" button

Choose a directoty to export the plugin

4.Install the plugin

Copy the plugin file you exported to the plugins directory in Eclipse

Usage

Configuration for Android SDK and Crosswalk

Before start using the plugin, it's needed to set up the path for the Android SDK and Crosswalk.
We provide a very simple way to do that as below:

1.In Eclipse menu:
Select "Window->Preferences"

2.Select "Crosswalk App" preference of the navigation menu

3.Click "Browse" button to set the path you place your Android SDK and Crosswalk.

4.Click "Save" button to save the setting

Create Crosswalk Application Project

1.In Eclipse menu:
Select "File->New->Crosswalk Project"

2.Input the "Application name" and "Project name" then click "Finish" button

A new empty Crosswalk Project will be created in the workspace

Import an exist project

If you already have an exist Crosswalk in the filesystem, you will be able to import it to Eclipse by following Steps

1.In Eclipse menu:
Select "File->Import"

2.Select "Crosswalk/Import Crosswalk Project" then click "Next" button

3.Use "Browse" button to browse the path of your Crosswalk Project

4.Click "Finish" button 

Export Crosswalk Application

1.In Eclipse menu:
Select "File->Export"

2.Select "Crosswalk/Export Crosswalk App" then click next

3.Input the required information then click "Finish" button

crosswalk-developer-tools-eclipse-plugin's People

Contributors

darktears avatar ikevinhan avatar jacobchen avatar rakuco avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crosswalk-developer-tools-eclipse-plugin's Issues

Which crosswalk path need to set on window preferences

Here I cannot get which crosswalk path I need to set on window preferences tab. As in usage section 3rd point it is mentioned to set the path of SDK and crosswalk. I am using Eclipse Juno is there any issue using that? I have set "crosswalk-11.40.277.7" location path. But when I am trying to export the crosswalk apk to the desired destination there file is not present nut the popup shows that "The crosswalk app has been exported successfully!"

Getting error in eclipse after import crosswalk-developer-tools-eclipse-plugin

Below errors are occuring after importing crosswalk-developer-tools-eclipse-plugin into eclipse.

Description Resource Path Location Type
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 290 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 269 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 284 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ProjectConfigurationPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 45 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ImportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/importer line 69 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ImportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/importer line 132 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ImportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/importer line 158 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ImportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/importer line 163 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater PermissionPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 29 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater XwalkNature.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/project line 47 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater XwalkNature.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/project line 42 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater XwalkNature.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/project line 37 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater XwalkNature.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/project line 32 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 44 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 51 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 57 Java Problem
Type mismatch: cannot convert from T[] to IProject[] ProjectHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 72 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ProjectSelectionPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 91 Java Problem
Type mismatch: cannot convert from element type Object to Map.Entry<String,String> ExportHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 162 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ProjectSelectionPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 106 Java Problem
Syntax error, parameterized types are only available if source level is 1.5 or greater ProjectHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 68 Java Problem
Syntax error, parameterized types are only available if source level is 1.5 or greater ProjectHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 68 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ProjectSelectionPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 60 Java Problem
Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. com.intel.CrosswalkTools Build path JRE System Library Problem
Syntax error, parameterized types are only available if source level is 1.5 or greater ExportHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 80 Java Problem
Syntax error, parameterized types are only available if source level is 1.5 or greater ExportHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 159 Java Problem
Syntax error, parameterized types are only available if source level is 1.5 or greater ProjectHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 55 Java Problem
Type mismatch: cannot convert from T[] to IProject[] ProjectHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 61 Java Problem
Syntax error, parameterized types are only available if source level is 1.5 or greater ExportHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 80 Java Problem
Syntax error, parameterized types are only available if source level is 1.5 or greater ExportHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 162 Java Problem
Syntax error, parameterized types are only available if source level is 1.5 or greater ProjectHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 55 Java Problem
Syntax error, 'for each' statements are only available if source level is 1.5 or greater ExportHelper.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/helpers line 162 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater settingPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/preference line 145 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater settingPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/preference line 110 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 458 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater settingPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/preference line 73 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 561 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater settingPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/preference line 68 Java Problem
The operator && is undefined for the argument type(s) boolean, Boolean ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 394 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 405 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 107 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 307 Java Problem
Type mismatch: cannot convert from boolean to Boolean ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 435 Java Problem
Type mismatch: cannot convert from boolean to Boolean ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 452 Java Problem
'images/' is not a source folder. build.properties /com.intel.CrosswalkTools line 3 Plug-in Problem
Incompatible operand types Boolean and boolean ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 408 Java Problem
Type mismatch: cannot convert from boolean to Boolean ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 424 Java Problem
Type mismatch: cannot convert from boolean to Boolean ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 97 Java Problem
Type mismatch: cannot convert from boolean to Boolean ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 99 Java Problem
Type mismatch: cannot convert from boolean to Boolean ExportProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 96 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater Activator.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt line 39 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater Activator.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt line 45 Java Problem
Type mismatch: cannot convert from boolean to Boolean NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 70 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ImportProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/importer line 68 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ImportProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/importer line 75 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 73 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ImportProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/importer line 81 Java Problem
Type mismatch: cannot convert from boolean to Boolean NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 69 Java Problem
Type mismatch: cannot convert from boolean to Boolean NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 168 Java Problem
Type mismatch: cannot convert from boolean to Boolean NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 171 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ExportProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 63 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ExportProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 148 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 162 Java Problem
Type mismatch: cannot convert from boolean to Boolean NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 165 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ExportProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 152 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater ExportProjectWizard.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/export line 156 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 257 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 262 Java Problem
Type mismatch: cannot convert from boolean to Boolean NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 174 Java Problem
The operator && is undefined for the argument type(s) java.lang.Boolean, java.lang.Boolean NewProjectPage.java /com.intel.CrosswalkTools/src/org/xwalk/ide/eclipse/xdt/wizards/newproject line 176 Java Problem

Issues

I like to use crosswalk in a native Java envirnment in eclipse. I work on digital signage apps and I'm looking to update webview in an existing eclipse envirnment. My issue with crosswalk is the scaling. I run almost everything at 1920x1080 and when putting crosswalk in the webview its oversized. It's not fitting to the screen size. For example if you split a presentation up it four quadrants I get the top left quadrant in fullscreen. I want the view to be scaled correctly and fit to size. Plus there is issues with on touch listeners and knowing what to do when a key is touched like the back button.

On a side note.
I used this project for testing and works the way it needs to. https://github.com/mogoweb/chromium_webview
The project has its issues but everything works the same as the regular webview except importing it and declaring it. Everything else works though. If crosswalk brings something like this to eclipse for native apps I would use it. For me it's not close. It's got errors where this project and webview have no issues so please make this better.

cross walk project

i create a project using your guide .
now it creates blank project
facedetection
--index.html
--manifest.json

there are no java file and other .
how can i run this project ??.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.