playframework - Incremental compile errors after java class modifications -
i have relatively large playframework application causing headaches. basically, every often, following exception:
java.io.filenotfoundexception: c:\...\source\target\scala-2.10\classes.bak\sbt81130890495 478.class (access denied) @ java.io.fileoutputstream.open(native method) @ java.io.fileoutputstream.<init>(fileoutputstream.java:221) @ java.io.fileoutputstream.<init>(fileoutputstream.java:171) @ sbt.using$$anonfun$fileoutputchannel$1.apply(using.scala:75) @ sbt.using$$anonfun$fileoutputchannel$1.apply(using.scala:75) @ sbt.using$$anon$2.openimpl(using.scala:65) @ sbt.openfile$class.open(using.scala:43) @ sbt.using$$anon$2.open(using.scala:64) @ sbt.using$$anon$2.open(using.scala:64) @ sbt.using.apply(using.scala:23) @ sbt.io$$anonfun$copyfile$3.apply(io.scala:586) @ sbt.io$$anonfun$copyfile$3.apply(io.scala:585) @ sbt.using.apply(using.scala:24) @ sbt.io$.copyfile(io.scala:585) @ sbt.io$.move(io.scala:786) @ sbt.inc.classfilemanager$$anonfun$transactional$1$$anon$2.sbt$inc$classfilemanager$$anonfun$$anon$$move(classfilemanager.scala:75) @ sbt.inc.classfilemanager$$anonfun$transactional$1$$anon$2$$anonfun$delete$3.apply(classfilemanager.scala:52) @ sbt.inc.classfilemanager$$anonfun$transactional$1$$anon$2$$anonfun$delete$3.apply(classfilemanager.scala:51) @ scala.collection.immutable.hashset$hashset1.foreach(hashset.scala:153) @ scala.collection.immutable.hashset$hashtrieset.foreach(hashset.scala:306) @ scala.collection.immutable.hashset$hashtrieset.foreach(hashset.scala:306) @ sbt.inc.classfilemanager$$anonfun$transactional$1$$anon$2.delete(classfilemanager.scala:51) @ sbt.inc.incremental$.prune(incremental.scala:82) @ sbt.inc.incrementalcommon.cycle(incrementalcommon.scala:28) @ sbt.inc.incremental$$anonfun$1.apply(incremental.scala:62) @ sbt.inc.incremental$$anonfun$1.apply(incremental.scala:61) @ sbt.inc.incremental$.manageclassfiles(incremental.scala:89) @ sbt.inc.incremental$.compile(incremental.scala:61) @ sbt.inc.incrementalcompile$.apply(compile.scala:54) @ sbt.compiler.ic$.compileinternal(incrementalcompiler.scala:160) @ sbt.compiler.ic$.incrementalcompile(incrementalcompiler.scala:138) @ sbt.compiler$.compile(compiler.scala:128) @ sbt.compiler$.compile(compiler.scala:114) @ sbt.defaults$.sbt$defaults$$compileincrementaltaskimpl(defaults.scala:814) @ sbt.defaults$$anonfun$compileincrementaltask$1.apply(defaults.scala:805) @ sbt.defaults$$anonfun$compileincrementaltask$1.apply(defaults.scala:803) @ scala.function1$$anonfun$compose$1.apply(function1.scala:47) @ sbt.$tilde$greater$$anonfun$$u2219$1.apply(typefunctions.scala:40) @ sbt.std.transform$$anon$4.work(system.scala:63) @ sbt.execute$$anonfun$submit$1$$anonfun$apply$1.apply(execute.scala:226) @ sbt.execute$$anonfun$submit$1$$anonfun$apply$1.apply(execute.scala:226) @ sbt.errorhandling$.wideconvert(errorhandling.scala:17) @ sbt.execute.work(execute.scala:235) @ sbt.execute$$anonfun$submit$1.apply(execute.scala:226) @ sbt.execute$$anonfun$submit$1.apply(execute.scala:226) @ sbt.concurrentrestrictions$$anon$4$$anonfun$1.apply(concurrentrestrictions.scala:159) @ sbt.completionservice$$anon$2.call(completionservice.scala:28) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) [error] (plcm/compile:compileincremental) java.io.filenotfoundexception: c:\...\source\ta \scala-2.10\classes.bak\sbt811308904953346478.class (access denied) [error] total time: 18 s, completed 28-apr-2015 5:26:55 pm
once error occurs, occur every time try compile. have clean compile , takes 25 minutes on computer.
i've tried googling can't m haven't had luck. think occurs if modifying source while running given 1 of supposed benefits of play... well, suck.
i running windows 7 play 2.3.8.
Comments
Post a Comment