Tag Archive: Chrome

Nov
03
2011

Dart Editor (Linux) – IDE Eclipse

Well it now seems that Google is putting the batteries, just to surprise us with an editor based on open source Eclipse weighsabout 35 mb and is very easy to install (just unzip the package and have installed the jre), even is an alpha version but it works.

You can use it as a compiler (Dart to javascript), but this is completely invisible to the user and we just give the ”Play” will have your application running in the browser.

Read the rest of this entry »

Permanent link to this article: http://www.dartexperience.com/en/2011/11/03/dart-editor-linux/

Oct
20
2011

Install Dart. Part 4: Building the Dart Eclipse IDE Plugin

Following these instructions we can get the plugin for eclipse Dart README.txt:

1.-Download Eclipse :  http://eclipse.org/downloads/

eclipse-jee-indigo-SR1-linux-gtk-x86_64.tar.gz
(Eclipse IDE for Java EE Developers 64 bit Linux,if your machine is 32,
 download it to 32)

2.- Extract it in our folder ~ / dart-dev/eclipse, our workspace: ~ / dart-dev/workspace.

Read the rest of this entry »

Permanent link to this article: http://www.dartexperience.com/en/2011/10/20/instalacion-dart-parte-4-construyendo-el-plugin-ide-eclipse/

Oct
18
2011

Installation Dart. Part 3: Building

Tutorial

 

Following in the footsteps of http://code.google.com/p/dart/wiki/Building
sudo apt-get install gcc-4.4 g + + -4.4 g + +-4.4-multilibexport CXX = g + + -4.4 CC = gcc-4.4 

After building:

dart cd. / tools / build.py - arch = ia32 

If we get this error:

make-j 1 buildtype Debug_ia32 all CXX = (host) out/Debug_ia32/obj.host/v8_nosnapshot/gen/libraries.omake: g + +: Command not foundmake: *** [out/Debug_ia32/obj.host/v8_nosnapshot / gen / libraries.o] BUILD FAILED Error 127 

  We’ll have to install the following:

sudo apt-get install build-essential g + + 

Another possible error:

make: *** [out/Debug_ia32/obj.host/v8_base/third_party/v8/src/ia32/lithium-codegen-ia32.o]</p><p>Error 1 

-Removing -Werror Resolved dart / tools / gyp / configurations_make.gypiY we will have our virtual machine ready, if we can prove:

main () {print ('Hello World .');}

and run:

dart/out/Debug_ia32/dart_bin hello.dart 

HelloDart

Permanent link to this article: http://www.dartexperience.com/en/2011/10/18/instalacion-dart-parte-3-building-construccion/

Oct
18
2011

Install Dart. Part 2: Getting the Source

Tutorial Instalacion

Following the instructions http://code.google.com/p/dart/wiki/GettingTheSource:

-Within our dart-dev folder (It may take a while):

gclient config http://dart.googlecode.com/svn/trunk/deps/all.deps

gclient sync

Gclient is a tool that allows synchronization of multiple repositories.

-At this point, you may find yourselves with the following error:

*********************************************************************
* WARNING: Can't download DumpRenderTree! This is required to test client apps.
* You need to do a one-time configuration step to access Google Storage.
* Please run this command and follow the instructions:
*     third_party/gsutil/20110627/gsutil config
*
* NOTE: When prompted you can leave "project-id" blank. Just hit enter.
*************************************************************************
Error: Command /usr/bin/python dart/tools/get_drt.py runhooks returned
non-zero exit status 1 in /home/chrisbu/dart-devel

Resolved to :

dart/third_party/gsutil/20110627/gsutil config

It allows you to authenticate with Google to finish download the code, examples, …

Click on the link and it will return a code that will be inserted when prompted

Instalación 1

-If you already fix it, run it again

gclient sync

Permanent link to this article: http://www.dartexperience.com/en/2011/10/18/instalacion-dart-parte-2-getting-the-source-obtencion-del-codigo/

Oct
18
2011

Install Dart. Part 1: Configuration and construction of the environment in Ubuntu

Tutorial Instalacion

Install Dart. A series of tutorials to get Dart to try our first code.

Currently, there are 2 ways to test our code Dart:

-Translated to javascript with Python.

-Setting up your own virtual machine. (This is what I explain in this series of mini-tutorials)

Start building and configuring the environment in Ubuntu (explainlater as it is in windows). Currently the form is a bit tedious, hopefully later be easier …

1 .- Initial Setup:

-Eclipse installed

-JDK installed:

sudo apt-get install default-jdk

2 .- Setting up your pc:

Following the instructions will make it http://code.google.com/p/dart/wiki/PreparingYourMachine

wget http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh
source install-build-deps.sh

-Create a folder and access it.

mkdir ~/dart-dev
cd ~/dart-dev

-We chromium checkout repository of depot_tools:

svn co http://src.chromium.org/svn/trunk/tools/depot_tools

(If you do not have svn: sudo apt / get install subversion)

-Add our folder depot_tools

export PATH=$PATH:$HOME/dart-dev/depot_tools

Finally, install openssl:

sudo apt-get install libssl-dev

Permanent link to this article: http://www.dartexperience.com/en/2011/10/18/instalacion-dart-parte-1-configuracion-y-construccion-del-entorno-en-ubuntu/

Pag. 1 of 212