-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup file structure, upper case Build.scala #273
base: master
Are you sure you want to change the base?
Conversation
There is a problem with producing a warning instead of an error when Build.scala is missing: |
super(urls, parent); | ||
assertExist(urls); | ||
} | ||
public CbtURLClassLoader(URL[] urls){ | ||
public CbtUrlClassLoader(URL[] urls){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try to keep commits focused on one thing please. Renaming build.scala into Build.scala is pretty large and throwing in changes like this make them very hard to discover. Can you break this up into separate commits please?
regarding the warning: let's basically accept build.scala and Build.scala but show a warning by writing to System.err when build.scala is found. Since we'll accept it, we should have something to return, I believe? |
7700467
to
174ceef
Compare
The update takes care of #274. |
34a8bcb
to
f9762f4
Compare
@tim-zh ah, I missed your updates. Just seeing them now. What do you think about using |
@@ -20,62 +21,70 @@ trait BuildBuild extends BaseBuild{ | |||
|
|||
override def dependencies = | |||
super.dependencies :+ context.cbtDependency | |||
def managedBuildDirectory: java.io.File = lib.realpath( projectDirectory.parent ) | |||
def managedBuildDirectory: File = lib.realpath( projectDirectory.parent ) | |||
private object managedBuildCache extends Cache[BuildInterface] | |||
def managedBuild = managedBuildCache{ | |||
val managedBuildFile = projectDirectory++"/Build.scala" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing the below change, could we simple change this one val instead and show the warning if we are using build.scala here? Maybe easier than the nested if below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. I'll make it that way.
f9762f4
to
823ef0c
Compare
823ef0c
to
50ee4c8
Compare
No description provided.