Projekat

Općenito

Profil

Akcije

Podrška #19713

Zatvoren

eclipse scala plugin

Dodano od Ernad Husremović prije skoro 15 godina. Izmjenjeno prije više od 14 godina.

Status:
Zatvoreno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
18.02.2010
Završetak:
% završeno:

0%

Procjena vremena:

Fajlovi

scala-plugin-stop-in-main.png (72,9 KB) scala-plugin-stop-in-main.png Ernad Husremović, 20.02.2010 11:54
install-scala-plugin.png.png (72,6 KB) install-scala-plugin.png.png Ernad Husremović, 20.02.2010 11:57

Povezani tiketi 2 (0 otvoreno2 zatvorenih)

korelira sa developer toolbox - Prijedlozi #19688: scala jvm, ola bini polylgot's idea, scala vs erlangZatvorenoErnad Husremović16.02.2010

Akcije
korelira sa developer toolbox - Podrška #19721: netbeans 6.8 scala plugin ZatvorenoErnad Husremović20.02.2010

Akcije
Akcije #3

Izmjenjeno od Ernad Husremović prije skoro 15 godina

AspectJ[TM] is
  • a seamless aspect-oriented extension to the Javatm programming language
  • Java platform compatible
  • easy to learn and use
aspectj enables
  • clean modularization of crosscutting concerns, such as error checking and handling, synchronization, context-sensitive behavior, performance optimizations, monitoring and logging, debugging support, and multi-object protocols
Akcije #4

Izmjenjeno od Ernad Husremović prije skoro 15 godina

/home/bringout/devel/work/scala-plugin

build.sh

svn co http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk scala
svn co http://lampsvn.epfl.ch/svn-repos/scala/scala-library/trunk scala-library
svn co http://lampsvn.epfl.ch/svn-repos/scala/scala-plugin-aspects/trunk scala-plugin-aspects
svn co http://lampsvn.epfl.ch/svn-repos/scala/scala-plugin/trunk scala-plugin

cd scala
ant nightly

cd ../scala-library
ant dist

cd ../scala-plugin-aspects
ant dist

cd ../scala-plugin
ant dist

Akcije #6

Izmjenjeno od Ernad Husremović prije skoro 15 godina

bringout@desk-c2:~/devel/work/scala-plugin$ find -name "*aj"

./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/cfprovider/ClassFileProviderAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/launching/JavaLaunchableTesterAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/ui/javaeditor/ScalaEditorPreferencesAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/ui/javaeditor/ClassFileEditorIdAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/ui/javaeditor/HoversAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/ui/javaeditor/CompletionAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/ui/javaeditor/ScalaPartitionerAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/ui/javaeditor/ScalaCloseStringsAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/ui/javaeditor/SaveParticipantRegistryAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/ui/ScalaOverrideLabelAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/search/SearchAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/builderoptions/ScalaJavaBuilderAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/hierarchy/HierarchyAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/core/NameLookupAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/core/CompilationUnitProblemFinderAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/core/BindingKeyAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/core/DOMAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/core/RefactoringAvailabilityAspect.aj
./scala-plugin-aspects/src/scala/tools/eclipse/contribution/weaving/jdt/indexerprovider/IndexerProviderAspect.aj

Akcije #8

Izmjenjeno od Ernad Husremović prije skoro 15 godina

http://en.wikipedia.org/wiki/Google_Guice

Google Guice: Agile Lightweight Dependency Injection Framework

Akcije #10

Izmjenjeno od Ernad Husremović prije skoro 15 godina

http://martinlippert.blogspot.com/2009/09/eclipse-36-m2-is-out-and-includes.html

After graduating the Equinox Aspects work we renamed it to Equinox Weaving. The reason for this is: The design separates between the base mechanism of modifying bytecode at class loading time and the actual bytecode modification. The AspectJ-based aspect weaving for bundles is just one of many possible bytecode modifiers you can think of. Another one that we implemented (but is not yet part of the Equinox Weaving project) allows you to use Springs load-time weaving infrastructure on top of a OSGi runtime together with Spring Dynamic Modules. And the nice thing about it is: While you are free to choose whatever weaver you like, the caching mechanism of Equinox Weaving works independent from all those weavers.

Akcije #14

Izmjenjeno od Ernad Husremović prije skoro 15 godina

eclipse scala plugin ipak radi

Mr. complicator je sahate i sahate potrošio za džaba :(

pa dobro nije baš za džaba ali eto ...

greška 1 - AJDT development tools

ne trebam !

trebam samo eclipse 3.5.1 (i dobar je onaj što dobijem iz apt-get eclipse-a)

on mi čak pravi konflikte sa jdt weaving servisom za scala-u

obični update radi

instalirao nihgtly plugin:

http://www.scala-lang.org/scala-eclipse-plugin-nightly

eclipse scala plugin debug

a ovdje sam se zadržao puno da bih na kraju skontao da pokušavam debugirati u main modulu a to izgleda po default-u nije checkirano (stop in main):

Akcije #15

Izmjenjeno od Ernad Husremović prije skoro 15 godina

evo eclipse - install new software šta dobijem:

znači:
  • jdt weaving
  • Scala IDE for eclipse: scala eclipse plugin
Akcije #16

Izmjenjeno od Ernad Husremović prije skoro 15 godina

ova swing aplikacija radi u eclipse ide-u, ali debug mi uglavnom ne funkcioniše - ne mogu se recimo zaustaviti na event handleru ButtonClicked:

import scala.swing._
import event._

object App1 extends SimpleSwingApplication {

    def top = new MainFrame {
        title = "simple xyz" 

        val label = new Label { text = "-----------------" }
        val button = new Button { text = "click me" }

        contents = new FlowPanel {
                contents += label
                contents += button    
        }

        listenTo(button)

        reactions += {
            case ButtonClicked(button) =>
              label.text = if (label.text == "clicked y") "clicked x" 
                           else "clicked y" 

        }
    }

    def dummy (comp: Int) = { 

        val s = "end" 
        val s2 = if (comp == 6) "dum dum" 
                 else "uvijek je else" 
        s + " / " + s2

    }
}

Akcije #17

Izmjenjeno od Ernad Husremović prije skoro 15 godina

što se tiče sporosti, intelij scala mi izgleda tromija od eclipse-a, iako su mi prve impresije bile obrnute, ali to je zato što eclipse plugin nije uopšte bio dobro podešen

Akcije #18

Izmjenjeno od Ernad Husremović prije više od 14 godina

  • Status promijenjeno iz Dodijeljeno u Zatvoreno
Akcije

Također dostupno kao Atom PDF