DART on Googlen avoimen lähdekoodin ohjelmointikieli, joka toimii verkkosivuilla ja servereissä, ja jolla voi JavaScriptiä paremmin hoitaa suurten verkkosovellusten koodaamisen. DART kielen kehitys aloitettiin 9/2011 ja 1.0-versio kielestä julkistettiin loppuvuodesta -2013. Nyt jo on olemassa lähes valmiit työkalut Chrome selainta varten. Blogger-blogien pitäjiä varten saamme ehkä kiintoisia Gadgetteja sivupalkkeihin ja muuta toiminnallisuutta verkkosivuille.
TÄMÄ blogi sisältää pääosin omia pohdintojani ja muistiinpanoja, eikä se varmaankaan tuo kovinkaan paljon uutta DART-kielen opiskeluun. Materiaali on pääosin KOPIOITU :( Dartlang-sivustoilta, josta kannattaa KÄYDÄ TARKISTAMASSA kielen viimeiset syntaksit.
Näytetään tekstit, joissa on tunniste DartEditori. Näytä kaikki tekstit
Näytetään tekstit, joissa on tunniste DartEditori. Näytä kaikki tekstit

perjantai 27. joulukuuta 2013

DartEditor Keyboard Shortcuts 12-2013, from Pop-Up window in Editor

Dart Editor KeyBoard Shortcuts 12/2013
Find And ReplaceCtrl+ Shift + Fa
InlineAlt + Shift + Ia
RefreshF5a
Open Class HierarcyF4a USE
Show Key AssistCtrl + Shift + La USE
Content AssistCtrl + SpaceHelp
Extract Local VariableAlt + Shift + LLearn
Extract MethodAlt + Shift +MLearn
Quick FixCtrl + 1Learn
RedoCtrl Shift ZLearn
Rename RefactoringAlt Shift RLearn
Run ScriptCtrl + Shift + F1Learn
Save AllCtrl + Shift + SLearn
Search BoxCtrl + 3Learn
Show in FinderCtrl Alt Shift FLearn
Toggle BreakpointCtrl + Shift + BLearn
Open GlanceCtrl + F Learn __
CloseCtrl + WMenu
Manage LaunchesCtrl + Shift + MMenu
Reanalyze SourcesCtrl Alt Shift B --Menu
Who need these __NoNee
Activate EditorF12NoNeed
Backward HistoryAlt+ LeftNoNeed
Maximize Active Viev of EdCtrl + MNoNeed
Close allCtrl + Shift + WNoUse
Format ElementCtrl + Shift + RNoUse
Forward HistoryAlt+ RightNoUse
Generate JavaScriptCtrl + Shift + GNoUse
Next EditorCtrl + F6NoUse
Previous EditorCtrl + Shift + F6NoUse
Quick Switch EditorCtrl + ENoUse
PropertiesAlt + EnterObious )
No need to learn< easy to rememberObviou
CopyCtrl + CObvious
CutCtrl + XObvious
DeleteDeleteObvious
New FileCtrl + NObvious
Open Existing folderCtrl + OObvious
PasteCtrl + VObvious
RunCtrl + RObvious
SaveCtrl + SObvious
Select AllCtrl + AObvious
UndoCtrl + ZObvious

In this table is information from DartEditors keyboard-shortcyts, as they are in the end of year 2013.  Checked two times... but errors may still be...
I use them, want to learn, No-Use, or use menu instead.  Many are obvious...
For the case you do not want to memorize them all....
Check, if they are changed.  And be thankful co's this was not easy to do.. lol..
Maybe in SDK-folder there is easy copy of this information...


Here it is in Google-Docs for everybody to see and comment.
.

sunnuntai 3. marraskuuta 2013

Setting environment variable for Java in dart-editors .ini file in windows7

TL:DR  just watch 10 last rows... :)

I have so far kept my jre in dart program folder... but
1. Java version there is old & difficult to update
2. I wonder if it conflicts with Chrome browser....  SLOW SLOW..
So trying to find better solution....


Path to Java7=  C:\Program Files (x86)\Java\jre7

My darteditor.ini  -file is now:

-data
C:\Users\Public\dartinit
-vmargs
-d64
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=128m
-Xms256m
-Xmx2000m

Instructions in:  https://www.dartlang.org/tools/editor/troubleshoot.html
Specifying the Java runtime..
If necessary, you can specify the Java runtime that Dart Editor uses. Go to your Dart installation directory and add the following two lines to DartEditor.ini immediatelybefore the existing ‑vmargs line:
-vm
/full/path/to/java
Important: On Windows, use double backslashes (\\) as the directory separator:
-vm
c:\\bin\\java_jdk1.7.0\\bin\\javaw.exe
For example, DartEditor.ini might have:
...
-vm
/usr/local/buildtools/java/jdk-64/bin/java
-vmargs
HOW SHOULD I UNDERSTAND THIS INSTRUCTION ??   //  OR  \  ??


so I should put this, to my darteditor.ini file:  

-vm
C:\Program Files (x86)\Java\jre7  comes to:  C:\\Program Files (x86)\\Java\\jre7

So, that after change my darteditor.ini file is:
-data
C:\Users\Public\dartinit
-vm
C:\\Program Files (x86)\\Java\\jre7
-vmargs
-d64
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=128m
-Xms256m
-Xmx2000m

Does it work?   I dont think so.  Is that \\jre7    must there?
Lets see tomorrow morning at coffee time....

TEST_1,   -vm     C:\\Program Files (x86)\\Java\\jre7      no way  :( 
   Wau... coffee is almost ready..
TEST_2,              C:\Program Files (x86)\Java\jre7          no way  :( 
TEST_3,  ???       C:\\Program Files (x86)\\Java\\jre7\\bin   no way  :(  Failed to load jni shared library..  \client\jvm.dll
TEST_4               C:\Program Files (x86)\Java\jre7\bin      no way 
TEST_5               C:\Program Files (x86)\Java\jre7\bin\jvm.dll   no way
At least these tests are quick to do...
"But this just worked: remove the -vm line I just added, then delete the -vmargs line.  Saved that, double-clicked on darteditor, and hey, presto! darteditor popped up!"   WTF ?  ;)

More coffee...

Reading   https://groups.google.com/a/dartlang.org/forum/#!topic/misc/5eLJLBsEL2E
C:\Program Files\Java\jdk1.6.0_30\bin\javaw.exe
"  I've solved this problem by deleting line .  -XX:MaxPermSize=256m. from my DartEditor.ini   "  ??

https://code.google.com/p/dart/issues/detail?id=6049 
Issue 6049: Failed to create the Java virtual machine

"Rather than removing those lines, could you try specifying your VM?  For example:
-vm
D:\Java\jdk1.6.0_29\bin\javaw.exe     "   More more nore coffee, it's dark outside..

So at leaset two backslashes is right in Windows!!  //
TEST_6     C:\\Program Files (x86)\\Java\\jre7\\bin\\javaw.exe     Getting something...
                  ERROR:  This Java instance does not support a -64 bit-JVM ..install desired...
TEST_7     C:\Program Files (x86)\Java\jre7\bin\javaw.exe     same error...
             in  C:\Program Files    I have no Java..  so  32 bit???

Should I return to my earlier version of jre, in my dart program folder???
TEST_8     C:\Users\Public\dart\jre          no way
------------------------------------------------------------------------------------------------
some New tests: 17.12.2013.. (why?)
x
  testing no jawaw.exe, but  jawa.exe !!!
-vm
C:\\Program Files (x86)\\Java\\jre7\\bin\\jawa.exe   No Java virtual machine !!   :(


-vm
C://Program Files (x86)//Java//jre7//bin//jawa.exe     LOL  nothing happends, I press more times, and then I have 3 DartEditor on run, WITH SMALL ERROR BOXES.
Why am I trying this ?


-------------------------------------------------------------------------------------------------
TEST_9     C:\Users\Public\dart\jre\bin    succes, it works.  Coffee, its gray & raining.
This jre is where I loaded (32bit??) jre a year ago.  do'es it matter?  Is it too old?
Is it security risk??   Sad:  I can't update it easily.
QUESTION:  does it work if I move it to program-folder?
AND THIS HAVE ALWAYS WORKED. EVEN WITHOUT THIS -vm  statement.
So I'm back in my old system, without means to use easily updated Java / jre.

TEST_10  deleting  -vm  statement:  now my dart.ini -file is:
-data
C:\Users\Public\dartinit                                                  //  my special solution.
-vmargs
-d64
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=128m
-Xms256m
-Xmx2000m                              
                                  And it works, cos I have jre in my Dart program folder.
                                  so this is still unsolved...  lol.. more coffee.. more raining...

The worst panic over :) A steady stream of back-breaking work. Readings and runs remppa .. Procrastinate though, the wisdom accrued. Morning coffee, in November, it's raining ..

@etanatikku twitter  = now  @kasuava twitter.
Hahaa!! Tasaista puurtamista => G-Translate => A steady stream of back-breaking work.
.

tiistai 24. syyskuuta 2013

Dart data-hakemiston nimen muuttaminen on hieman raskas operaatio


Paljon dataa..  DartEditori suoritti nimenmuutoksen noin 44 minuutissa.  Symlinkkien tarkastus ja pakettien oikeellisuuden varmistus kesti.  Sitten vielä analysointia.... n 10 min.

390 Mt   Levyllä 471
34 515 tiedostoa,  8062 kansiota      Paljon ilmaista Dartlang -kamaa rohmuttu siis.


Chancing The name of my Dart-data folder was quite a heavy job for DartEditor:
390 Mb,  8062 Folders,  34515 Files.    44 minutes. lol   & then some analyzing, 10 min..

.

keskiviikko 3. huhtikuuta 2013

Dart-data tiedostojen säilyttäminen muualla kuin omassa Windows-hakemistossa.

DartEditorin kansioiden käsittely on automaattista ja ongelmatonta.  Ongelmia voi tietenkin luoda keinotekoisesti, jos haluaa: rupeaa pitämään tiedostoja muussa kuin oletus-sijainneissa.  

Olen nyt kuitenkin 5.4.2013 päätymss siihen, että annan DartEditorin vapaasti rakentaa dart -kansion omaan Windows (@home) hakemistooni.  Sinne editori sitten kopioi mm. esimerkki-ohjelmat (samples) kun klikkaan ne auki.
Samaan @home windows hakemistooni se tekee DartEditor kansion, jossa on .metadata.
Omat Julkinen-kansiossa olevat data-tiedostoni avaan sitten Editorin File/ Open Folder komennolla.

Sivustolla http://www.dartlang.org/docs/editor/troubleshoot.html  on jo aika hyvät ohjeet editorin asentamisesta Windowsissa...

Tämä artikkeli on loppuosaltaan aika sekava...  lukeminen ei hyödytä. tuohon ylös lisäämäni kertoo jo oikeastaan tärkeimmän...

Haluan pitää Dart-data tiedostoni Windowsin julkinen kansiossa, koska olen tottunut käyttämään tiedostoja sieltä.  Windowsin kansio-systeemi on alkeellinen, tuhoutumisaltis ja hankala käyttää.
Julkisessa minulla on kaikki koko ajan nopeasti käsillä.

Darteditori oletusarvoisesti säilyttää .metadata-tiedostot @ user  home hakemistoon.

Merkkaan siis dart\darteditor.ini  tiedostoon -data kohdan alle sen tilalle rivin:
C:\Users\Public\dawo

Nyt kun päivitin 20602 editorin, ini-tiedosto tavan mukaan päivittyi mukana, ja minun pitää taas asettaa tuo tieto uudestaan.  Vanha pää ei tahdo muistaa tätä proceduuria: Kuinkas se nyt menikään?  

En voikaan DartEditorissa avata omaa dawo (dart-work) kansiota, koska se sisältää dart-editorin työtilan.   Editorilla on siis kolme eri kansiota

dart       ohjelmatiedostot, SDK ym,
dawo     oma data-kansioni..          jonka avaan / (installoin) joka kertaa uudestaan editorin File / Open New folder-valikosta.

Mutta: dawo-kansioni sijaintia minun ei pidä tallettaa minnekään; minä vain avaan sen tuosta editorin file / open folder valikosta...

Nyt olen jo melkein valmis alistumaan :)  editorin pompotukseen; se pitäköön mitkä tiedostot haluaa omassa Windows7% käyttäjähakemistossani.  Minä en sinne koske...
Minä käytän vain C:\Users\Public\dawo kansiotani... :)   hauskaa.

Linux / Ubuntu :ssa  darteditor ini:ssä on:   @user.home/.dartEditor

Windowsissa dart-editori.ini tiedostossa on rivi  @User\home\DartEditor

Kokonaisuudessaan darteditor.ini -tiedosto on siis...

-data
@User\home
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx1000m


Kun avaa dart-kansiossa olevan samples/swipe tai jonkun muun ohjelman, dart editori tekee omaan Windows-kansiooni dart-kansion, jossa on tämän swipen tiedostoja...
Voin avata Samples kansion myös suoraan DartEditori File/OpenFolder  -valikosta.  Silloin näitä ylimääräisiä kansioita ei synny, mutta: näin en siis voi käyttää Wellcome-ruutua...

Kesken:   minun pitää vielä selventää tätä ohjetta..  

x







maanantai 1. huhtikuuta 2013

DartEditor Plugin asentaminen Eclipse editoriin ja Eclipsen.ini -tiedoston PATH muuttujan muokkaus.

Onko ongelmia Eclipse Java:n DartEditor Plugin kanssa?  RATKAISTU.

HP-koneessani Eclipse C++ ja Eclipse-JAVA toimivat heti ongelmitta..
DartEditor plugin asentaminen jälkimmäiseen meni ongelmitta...

PB-koneessani Eclipse-JAVA ei alkanut toimimaan...  Luultavasti se ei löydä
JDK:ta tai JRE:tä   Windows 7:ssä siis nämä kaikki, molemmat koneet.
En halua muokata Windows7 PATH-ympäristömuuttujaa, joten pitää mennä ronkkimaan
Eclipsen eclipse.ini -tiedostoa..  StackOverFlow:sta löysin ohjeet.

PB Eclipse-JAVA:n  eclipse.init tiedosto on tekemäni muokkauksen jälkeen tämmöinen:


-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vm
C:\Program Files (x86)\Java\jre7\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m  

Lisäsin siis tuon -vm ja sen jälkeisen path-rivin, täältä saamani ohjeen mukaan:
http://stackoverflow.com/questions/8824131/eclipse-will-not-launch-on-my-windows-7-system-jre-not-found-error   Lainaus StackOverflow tekstistä:
- The -vm option and its value (the path) must be on separate lines.
 - The value must be the full absolute path to the Java executable, not just to the Java home directory.
 - The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JVM."
Oli vielä lisähuomaustus:   try placing the path in between quotations like "c:\program files\java\jre7\bin\javaw    Kysymys oli 14 kuukauden takaa...
Minun ei tarvinnut asentaa noita lainausmerkkejä. TOIMII!!  :)

SEURAAVAKSI: DartEditor plugin asentaminen...menee varmaan ongelmitta:
Etsi verkosta:  Dart Editor Plugin for Eclipse.
http://news.dartlang.org/2012/08/dart-plugin-for-eclipse-is-ready-for.html
http://blog.dartwatch.com/2013/01/integrating-dart-into-eclipse-and-your.html
Ruudut ei ole ihan niin kuin ohjeessa.. en löydä nyt: available software pages...
Merkkasin http://www.dartlang.org/eclipse/update/   yhteen kohtaan.. katsotaan.

Dartiumin linkittäminen ohjelman ajamiseen on sitten eri juttu  KESKEN
Pientä renkkausta: palomuuri ei ehkä heti päästänyt kyselyjä läpi, luvat annettiin..
Voi ehkä vaatia uudelleen käynnistyksen.  Etsitty sivua ei löytynyt...
KESKEN.

Mainittakoon, että eclipse c++ Eclipse.ini tiedostoni on PB-koneessa tällainen:


-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m

Siinä ei ole mainintaa PATH - jre, jdk... ?







keskiviikko 29. elokuuta 2012

Can't send FeedBack in Dart Editor. Palautteen lähettäminen DartEditorissa ei onnistu.

Maaliskuusta lähtien palautteen lähettäminen on onnistunut.. en onnistunut selvittämään, miksi se ei aikaisemmin onnistunut.


Ongelman pohtimista aikaisemmin:  
Hmm.  This might be related to:

This versions of dart seem to demand  Java 6 !!
You have not jre,  or Java development kit; jdk.
I installed jdk  under my dart program directory, and now it works

or:   Try DartEditor in Linux/Ubuntu system....


And same in finish language:
Ja sama suomeksi:

Palautteen lähettäminen Dart Editorissa ei onnistu.  Editorit 10994,  11397

Ratkaisu:  
Ehkä Sinulla ei ole jre, Java Runtime environment
tai                           jdk, Java Development Kit  
Nämä DartEditorin versiot siis taitavat vaatia   version   6 noista edellämainituista.

Tai:     Asenna koneeseen Linux, vaikka Windowsin sisälle ja käytä Editoria sieltä.

kokeilin lopulta kaikenlaista, sorkin joka paikkaa.. ehkä uusi editorin versio korjasia asian...
.

Ongelma Dart-editorin asentamisessa. RATKAISTU

(Huom, nämä DartEditorin versiot näyttävät vaativan jre tai jdk version 6.  Kun latasin JDK 6:n dart-hakemistooni, niin kaikki näyttää toimivan hyvin.)
Klikkaan editorin asennuspaketin kuvaketta (darteditor.exe)  se avautuu, logo näkyy noin 5 sekunnin ajan, sitten Editori antaa pitkän virheilmoituksen:  
"   \DartEditor\.metadata" is read-only.  " 

Tällainen voisi liittyä ongelmaan, joka minulla oli editorien 10994 ja 11397 kanssa:

Windows Defender esti DartEditorin asentamisen, eikä edes antanut mitään varoitusta tai tiedotusta siitä.  Ei, vaikka olen koneeni "Administrator".  

DART-editori asennetaan toistaiseksi muista ohjelmista poikkeavalla tavalla; Siinä ei ole erillistä asennusohjelmaa, VAAN käyttäjän on avattava se "Windows pääkäyttäjänä", Administraattorina.  

Vasta kun avasin kuvakkeen vartavasten hiiren OIKEAN painikkeen kautta "Windows Administrator:ina", sain asennusohjelman käynnistymään.  Sitten minun piti normaaliin tapaan vastata:  "Kyllä, haluan antaa tämän ohjelman tehdä muutoksia koneeseeni"  

Nyt näyttää siltä, että minun on jatkossakin avattava DartEditori AINA Administratorina.  Toisessa koneessani ei tätä ongelmaa ole, koska olen ymmärtänyt laittaa Windows Defenderin pois toiminnasta.  Myöskin tämän koneen Linux/Ubuntu puolella asennus sujui ongelmitta.  
Eiköhän tämäkin ongelma ratkea joskus...

Kysyin neuvoa tähän ongelmaan Dartlang keskusteluryhmässä:  
Dart Editor FirstRun and missing User\Settings File 


Minä törmäsin tähän ongelmaan, koska tavallisessa koneessani en käytä *Windows Defenderiä.  Siksi se pääsi yllättämään niin pahasti toisessa koneessa. 

Ohjelmoijat eivät yleensäkään käytä Windowsia juuri tämänkaltaisten asioiden takia. 
Suosittelen Linuxia.

Huom!   Nämä DartEditorin versiot näyttävät vaatiivan jre tai jdk 6-version.  
Asensin JDK:n (Java Development Kit) 6:n  dart hakemistooni, ja kaikki näyttää sitten toimivan hyvin. 



Problem installing Dart Editor, caused By Windows Defender. Solved.

Click EditorFile to install it, Logo is seen for 5 seconds, then you get long error message:  
"   \DartEditor\.metadata" is read-only.  " 

This might be connected to same problem, that I had with editors 10994 and 11397. 

Windows Defender prevented DartEditor/installation from launching, and WD gave no warning or information about it. Editor logo was  visible for 5 sec, and then I got DartEditor error message..  And I am The administrator in computer.  

When I launched DartEditor "as Windows administrative"  and answered: "Yes I want to allow this unknown program to ....", I got it installed.  Now I must use this option also when launching editor, but I hope it will be solved soon... 

I asked about this in:  Dart Editor FirstRun and missing User\Settings File 
.

tiistai 28. elokuuta 2012

DartEditor (11434) in windows7 Vista with Problems

Cant Launch DartEditor, it can't create Settings Folder, because: "Read Only"   ??
Settled partly:  Look at the end:  

Editor 11434  Loaded To my bigger computer, HP,  OK.  (tought it was 11397---)

In smaller PB, also windows Vista, same problems contiunue...

DartEditor dont start...  It cant make its settings file to <users personal folder>
I try to move folder from my HP, no succes.
    .metadata is read only...

So, what next?   Go to work?   No.   Seems I like to be stucked with problems.  Can't leave them behind.       And I know that only stupid and lazy people use Windows.  I AM ashamed.
Any plans?  little something:

A.   Do check, what are the differencies between my 2 computers.

B.    Try, try, boy...  stuck your head to thick wall.. (never ever even dream of reading instructions).

C.     Conflicting with Eclipse?  so. settings...  And why are Dart folders full of Eclipse stuff?
         I thought i read ALL dart material, but this Eclipse thing i must have partly missed...

D.     Windows security / FireWall, and so.

E.       In HP /DartEditor I can not send FeedBack to Editor Group!  Why?
          How can i send mail directly to EditorTeam?  where can I find their GMail @ ?

..to be continued..   forever...   :)

Seems that this was all about stupid Windows Defender! 
I opened now installation file in Windows with administrative priviledges.  !!  Neither Windows or editor warned me, that I must do it.  Seems that I must now do it every time.  I AM in Windows with full administrative priviledges!  
Dart Editor is functionin, but I do not have now that    .metadata folder.  
     Maybe I should put Windows defender to sleep, when I first time install DartEditor.
In my HP-computer I do not use defender and there I did not have these problems.  

to be continued...







keskiviikko 22. elokuuta 2012

Dart Editor 10994 Problem ... With Eclipse Workspace (?)

I have downloaded about 20 versions of DART editors to my 2 computers without big problems.
I Uploaded 22.8.2012  DartEditor 10994 to my HP Computer without much problems, Java just had to be updated to both computers.    

Settled partly:  Look at the end of my next blog post.  

For PB computer, Win 7, 64 Bit, i get problems.  They are maybe connected to either:
1.   Conflicting settings with Eclipse
I do have Eclipse/Java in my Public folder...

If Dart Editor and Eclipse share the same workspace directory, they'll save conflicting settings, resulting in warnings and errors from both Dart Editor and Eclipse. 
The fix: Don't use the Dart installation directory for any other Eclipse-based software.
Hmm. How is it done?

Or.   2     Missing DART settings directory in my personal Folder,  Public/ USER / DartEditor
       Folder is deleted by me.
- DART editor settings folder in <user's home directory>\DartEditor  Dont exist.


DART EDITOR.INI     File is like this in both computers:

-data
@noDefault
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx1024m


CONFIG.INI  in  DART / Configuration is in both computers:

#Product Runtime Configuration File
eclipse.application=com.google.dart.tools.deploy.application
org.eclipse.update.reconcile=false
osgi.bundles.defaultStartLevel=4
eclipse.product=com.google.dart.tools.deploy.product
osgi.splashPath=platform:/base/plugins/com.google.dart.tools.deploy
osgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info

AND THIS CONFIGURATION FOLDER IS FULL OF ECLIPSE STUFF   WHY?


.Eclipseproduct file:

#Eclipse Product File
#Mon Aug 20 11:42:11 PDT 2012
version=1.0.0.201208201142
name=Dart Editor
id=com.google.dart.tools.deploy.product



=======================================================
When I try to run Dart Editor, I can see DART logo for 5 seconds,  then I get error log :

!SESSION 2012-08-22 17:40:03.005 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_01
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fi_FI
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -data @noDefault

!ENTRY com.google.dart.tools.deploy 4 0 2012-08-22 17:40:12.126
!MESSAGE The folder "C:\Users\  *MY_OWN_DIRECTORY_*    \DartEditor\.metadata" is read-only.
!STACK 0

*   *    *    *    *     And much other stuff here.....

========================================================

The File:   C:\Users\  *MY_OWN_DIRECTORY_*    \DartEditor\.metadata" is read-only...
BECAUSE...   I have deleted The directory.     Why?
BECAUSE...   I had problems with Java and coult not run editor...
Got Java updated, and NOW editor could run,  BUT...

...   There is a conflict with   ECLIPSE..??   wich  I dont want, and wich  I dont need.

IT SEEMS THAT DART EDITOR CANT RECOVER FROM THIS.
Maybe Dart Editor cant create new     User\DartEditor    folder....
It cant do itself a new metadata....

In case that this could bring problem to other users, i had to make this public. 
Trying to find answer:

1.  I hope that someone who knows things, reads this, and could gave the right solution.

2.  Maybe I wait for the new editor version to solve this....
     Check this 64 or 32 bit system in your computer, and load THAT editor.
      Load bleeding edge versio every day, and try it...    23.8. it did not help.

3. Should I file a BUG or ask in Google+/DART?  When I know exactly WHAT to ask.

4. Try to UNDELETE that METADATA-file....    No possible. 
     Copied it from another computer, no succes. 

5. Compare DART in my HP-computer to DART in my PB-Computer, and....

6.  Forget this and load DartEditor to LINUX-system in my PB-Computer..    Works.
      But I did not forget this....

7.  Read these and other articles....
http://blog.dartwatch.com/2011/10/step-by-step-building-dart-eclipse-ide.html

https://plus.google.com/107675318329982835686/posts/W73PjjuZ7Qi

8.   Delete   ALL DART FOLDERS AND FILES  and hope that new installation will correct things.
      So that it acts like a new application....  Start from new....  Did not work. 
22.8.2012  klo  21.46   UIT +2  Helsinki  Time:
I DELETED  *ALL*  DART FILES AND FOLDERS FROM MY COMPUTER.  LOADED DART AGAIN.  RUN IT.   FAIL.   What then...  Go to  Ubuntu.... ?
      Maybe Dart should have an Uninstaller  ??

9    Try with other windows user profile.     No succes.  Same errors.

10.  Find OLDER VERSION of editor and hope that it makes directories, where all Dart Editor settings are saved.  And THEN the new versio...

11.   Delete temporarily Dart-settings directory in my other, HP-computer. Do I get an error? 

12   http://code.google.com/p/dart/issues/list?can=2&q=label%3AArea-Editor
       Did read it, no help.

13.   Is there a "first run" -option in Dart Editor?

14.   Loadeddart to my personal folder.  No Succes.
        Deleted all Java-Eclipse applications.  No Succes.
 
15.  Be clever and try to think something new answer.

And if i can make some useful material out of this for other users, so I must  File BUG /  Ask it in Stack Overflow /  or  ask in Dart Discussion..  so. collect all facts concerning this case..
But first I must understand what is essential in this matter.

In Linux / Ubuntu  Dart Editor loaded and run without problems in my PB-computer.  But it does not solve this problem.   But before I start disturbing Dart group programmers, I really must read everything in here:   http://www.dartlang.org/docs/editor/getting-started/
I wish I had more time and patience.   :(

I tried to send FeedBack to DartEditor team, from my HP-Computer, where DART is functioning.
I can not send FeedBack from Dart Editor!!  Is 2 pages too much?    Even 3 rows cant be sent.
And error message box is put UNDER text, so that I cant quit it... Without going to Windows Work-Control.

Now it seems I have very little that I can try...    exept to stop trying...
I mus do another blogtext,  some text have already disappeared from this file....


27.8.    FOUND THIS:      http://code.google.com/p/dart/issues/detail?id=702
Dart Editor as an Eclipse plugin [+10]
Is this accidentally  loaded to my PB-computer.  I read this and I must have pressed link.  !!    And now Editor thinks it is Eclipse Plugin?!

https://groups.google.com/a/dartlang.org/forum/?fromgroups=#!topic/misc/XQMT0FVLt_A
Dart Editor Plugin for Eclipse (Alpha) 15 viestiä 8 käyttäjältä ryhmässä Dart Discussion

27.8 Deleted all ALL!  *DART*  material from PB-computer.  New Download.  No Work.  :(  

28.8.  So the problem might be there in the  "Other, quick installation", The "Second Click".  Seems that  in PB i do not have that   MyPersonalWindowsAccount \ darteditor folder...  .metadata ...
When in UBUNTU it works, so this might be  WINDOWS-related problem ?  

By asking in Dart Discussion croup I wanted to close away some alternatives...
https://groups.google.com/a/dartlang.org/forum/?fromgroups=#!topic/misc/os00Yjx_UVs
Maybe I did not quite success....

Altogether, this must be something very simple and stupid mistake here, but I just cant figure it out.

Disabled Windows Defender.  No help.  New Editor 11397, same Problem.
DartEditor dont now make this  "Settings Directory.
!MESSAGE The folder "C:\Users\   <user's home directory>  \DartEditor\.metadata" is read-only.
!STACK 0
java.io.IOException: The folder "C:\Users\   <user's home directory>           \DartEditor\.metadata" is read-only.