Source Bundle exception thrown for platform.accountcontrolpanel.core
--------------------------------------------------------------------
Key: CLEREZZA-446
URL: https://issues.apache.org/jira/browse/CLEREZZA-446
Project: Clerezza
Issue Type: Bug
Reporter: Henry Story
Priority: Minor
The Source Bundle feature allows one to get a quick compile/edit/run sequence
going. One can then edit a file, and few seconds later the bundle will be
installed and available live. It apparently only works with Scala only
packages, so I converted the accountcontrolpanel to scala. Then I ran revision
1074740
import sourcebundle.BundleRoot
val br = $[BundleRoot]
import java.io.File
br.createSourceBundle(new
File("/Users/hjs/Programming/Clerezza/git_parent/platform.accountcontrolpanel/platform.accountcontrolpanel.core")
When running the above after having stopped the usually loaded bundle I get
zz>br.createSourceBundle(new
File("/Users/hjs/Programming/Clerezza/git_parent/platform.accountcontrolpanel/platform.accountcontrolpanel.core"))
res2: br.SourceBundle =
org.apache.clerezza.sourcebundle.BundleRoot$SourceBundle@1a541160
zz>
zz>2011-02-26 10:27:28,181 [ForkJoinPool-1-worker-2] WARN
[ForkJoinPool-1-worker-2] (BundleRoot.scala\:209) - Exception compiling
java.security.PrivilegedActionException:
org.apache.clerezza.scala.scripting.CompileErrorsException: <script1>:51:
error: value annotations is not a member of package org.apache.felix.scrimport
org.apache.felix.scr.annotations.Component
^<script1>:52: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.Property
^<script1>:53: error: value annotations is not a member of
package org.apache.felix.scrimport org.apache.felix.scr.annotations.Reference
^<script1>:54: error: value annotations is not a
member of package org.apache.felix.scrimport
org.apache.felix.scr.annotations.ReferenceCardinality
^<script1>:55: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.ReferencePolicy
^<script1>:56: error: value annotations is not a member
of package org.apache.felix.scrimport org.apache.felix.scr.annotations.Service
^<script3>:48: error: value annotations is not a
member of package org.apache.felix.scrimport
org.apache.felix.scr.annotations.Component
^<script3>:49: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.Property
^<script3>:50: error: value annotations is not a member of
package org.apache.felix.scrimport org.apache.felix.scr.annotations.Reference
^<script3>:51: error: value annotations is not a
member of package org.apache.felix.scrimport
org.apache.felix.scr.annotations.Service
^<script6>:33: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.Component
^<script6>:34: error: value annotations is not a member of
package org.apache.felix.scrimport org.apache.felix.scr.annotations.Service
^<script7>:25: error: value annotations is not a member
of package org.apache.felix.scrimport
org.apache.felix.scr.annotations.Component
^<script7>:26: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.Service
^
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.clerezza.scala.scripting.CompilerService.liftedTree3$1(CompilerService.scala:170)
at
org.apache.clerezza.scala.scripting.CompilerService.compileToDir(CompilerService.scala:169)
at
org.apache.clerezza.sourcebundle.BundleRoot$SourceBundle.compileDir$1(BundleRoot.scala:137)
at
org.apache.clerezza.sourcebundle.BundleRoot$SourceBundle.updateBundle(BundleRoot.scala:170)
at
org.apache.clerezza.sourcebundle.BundleRoot$SourceBundle.act(BundleRoot.scala:207)
at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222)
at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222)
at scala.actors.ReactorTask.run(ReactorTask.scala:36)
at
scala.concurrent.forkjoin.ForkJoinPool$AdaptedRunnable.exec(ForkJoinPool.java:611)
at
scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.java:422)
at
scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWorkerThread.java:340)
at
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:325)
Caused by: org.apache.clerezza.scala.scripting.CompileErrorsException:
<script1>:51: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.Component
^<script1>:52: error: value annotations is not a member of
package org.apache.felix.scrimport org.apache.felix.scr.annotations.Property
^<script1>:53: error: value annotations is not a member
of package org.apache.felix.scrimport
org.apache.felix.scr.annotations.Reference
^<script1>:54: error: value annotations is not a member of package
org.apache.felix.scrimport
org.apache.felix.scr.annotations.ReferenceCardinality
^<script1>:55: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.ReferencePolicy
^<script1>:56: error: value annotations is not a member
of package org.apache.felix.scrimport org.apache.felix.scr.annotations.Service
^<script3>:48: error: value annotations is not a
member of package org.apache.felix.scrimport
org.apache.felix.scr.annotations.Component
^<script3>:49: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.Property
^<script3>:50: error: value annotations is not a member of
package org.apache.felix.scrimport org.apache.felix.scr.annotations.Reference
^<script3>:51: error: value annotations is not a
member of package org.apache.felix.scrimport
org.apache.felix.scr.annotations.Service
^<script6>:33: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.Component
^<script6>:34: error: value annotations is not a member of
package org.apache.felix.scrimport org.apache.felix.scr.annotations.Service
^<script7>:25: error: value annotations is not a member
of package org.apache.felix.scrimport
org.apache.felix.scr.annotations.Component
^<script7>:26: error: value annotations is not a member of package
org.apache.felix.scrimport org.apache.felix.scr.annotations.Service
^
at
org.apache.clerezza.scala.scripting.CompilerService$$anon$4.run(CompilerService.scala:179)
at
org.apache.clerezza.scala.scripting.CompilerService$$anon$4.run(CompilerService.scala:171)
... 13 more
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira