Skip to content

Commit e3a5109

Browse files
committed
rethink fat jar with compile dsl
1 parent 100262e commit e3a5109

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/cfml/system/util/CompileDSL.cfc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,18 @@ component accessors=true {
635635
}
636636

637637
function buildFatJar() {
638+
/*
639+
is a self-sufficient archive which contains both classes and
640+
dependencies needed to run an application
641+
to make a fat jar
642+
we need:
643+
- Main-Class attribute in the manifest file
644+
- include dependency jars
645+
- it contains classes from all the libraries, on which your project depends
646+
and of course the classes of the current project
647+
- it has to do the same as
648+
configurations.compile.collect{ it.isDirectory() ? it : zipTree( it ) }
649+
*/
638650
j = "run fat jar ";
639651
shell.printString( " " & j & " " );
640652
//command( j ).run();

0 commit comments

Comments
 (0)