This repository was archived by the owner on Aug 18, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 11name := " chatoverflow-bootstrap"
2- version := " 0.1"
2+ version := " 0.1"
3+ assemblyJarName in assembly := " ChatOverflow.jar"
Original file line number Diff line number Diff line change 11object Bootstrap {
22
33 def main (args : Array [String ]): Unit = {
4- println(" Hello! I'm the bootstrap launcher." )
4+ println(" Hello! I'm the bootstrap launcher... " )
55 }
66
77 /*
8- TODO:
9- 1. Write SBT-Logic to extract all libs from "sbt dependencyList" DONE
10- 2. Write SBT-logic to transform and save this information as URL List DONE
11- 3. Make the boostrap launcher download everything, create folder structures
12- and launch chat overflow with custom classpath
13- 4. Make fat jar with only the scala lib inside
8+ TODO: Code bootstrap launcher
9+ 1. Bootstrap launcher checks integrity (bin folder existing)
10+ 2. Bootstrap launcher checks libraries (no lib folder or flag -> Download everything)
11+ 3. Bootstrap launcher checks java path launched with and starts java -cp "..." chat overflow main class
1412 */
1513
1614}
Original file line number Diff line number Diff line change @@ -153,9 +153,10 @@ object BootstrapUtility {
153153}
154154
155155// TODO: Create automated packaging code. Done by hand right now.
156+ // TODO: This should be a proper wiki article and not buried here. But since I'm the only one building...
156157
157158/* Ensure the following bootstrap folder structure (e.g. in bootstrap/target/...)
158- /launcher .jar GENERATED BY SBT
159+ /ChatOverflow .jar GENERATED BY SBT (use 'project bootstrapProject' and 'assembly')
159160 /bin/chatoverflow... .jar COPY BY HAND
160161 /bin/chatoverflow-api... .jar COPY BY HAND
161162 /lib/... GENERATED AT RUNTIME
Original file line number Diff line number Diff line change 1+ addSbtPlugin(" com.eed3si9n" % " sbt-assembly" % " 0.14.9" )
You can’t perform that action at this time.
0 commit comments