From bd75b5af0161013b26e2feda9cfcc1e152926071 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sat, 26 Mar 2016 16:20:50 -0400 Subject: Early classloading improvements - Changed launcher to already load zinc - use code generation to generate necessary dependencies - changed resolver to linearize dependency DAG in a way that guarantees that every transitive dependee of a node in the DAG is a transitive dependee of that node in the linear sequence - move exit code trapping code into java so it can be used for zinc early There seems to be a bug in this version, where CBT crashes about half of the time with a "object is not an instance of declaring class" Exception during running the task from the build object via reflection. --- cbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cbt') diff --git a/cbt b/cbt index 372c145..5224744 100755 --- a/cbt +++ b/cbt @@ -141,7 +141,7 @@ stage1 () { done compiles=0 if [ $changed -eq 1 ]; then - rm $NAILGUN$TARGET/cbt/*.class 2>/dev/null # defensive delete of potentially broken class files + #rm $NAILGUN$TARGET/cbt/*.class 2>/dev/null # defensive delete of potentially broken class files echo "Compiling cbt/nailgun_launcher" 1>&2 javac -Xlint:deprecation -Xlint:unchecked -d $NAILGUN$TARGET `ls $NAILGUN*.java` compiles=$? -- cgit v1.2.3