Podrška #19713
Zatvoreneclipse scala plugin
0%
Fajlovi
Povezani tiketi 2 (0 otvoreno — 2 zatvorenih)
Izmjenjeno od Ernad Husremović prije skoro 15 godina
Izmjenjeno od Ernad Husremović prije skoro 15 godina
- a seamless aspect-oriented extension to the Javatm programming language
- Java platform compatible
- easy to learn and use
- 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
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
Izmjenjeno od Ernad Husremović prije skoro 15 godina
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
Izmjenjeno od Ernad Husremović prije skoro 15 godina
Izmjenjeno od Ernad Husremović prije skoro 15 godina
http://en.wikipedia.org/wiki/Google_Guice
Google Guice: Agile Lightweight Dependency Injection Framework
Izmjenjeno od Ernad Husremović prije skoro 15 godina
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.
Izmjenjeno od Ernad Husremović prije skoro 15 godina
Izmjenjeno od Ernad Husremović prije skoro 15 godina
Izmjenjeno od Ernad Husremović prije skoro 15 godina
http://github.com/jponge/guice-aspectj-sample
http://jpz-log.info/archives/2010/02/11/revisiting-guice-and-aop-with-aspectj/
An example of Guice / AspectJ interaction
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):
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
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 } }
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
Izmjenjeno od Ernad Husremović prije više od 14 godina
- Status promijenjeno iz Dodijeljeno u Zatvoreno