Fork me on GitHub
#boot
<
2017-04-11
>
michael.heuberger02:04:25

hello - cannot find a boot option nor task to open an URL in the browser. any clues?

michael.heuberger02:04:23

… or at least define a different index page, other than index.html?

rb171909:04:31

Hi. How can I add a jar file to my classpath. Can I set it in :resource-paths? ie :resource-paths #{"file.jar" .....}

micha15:04:04

@rb1719 like you have a jar that you don't want to install in your local maven repo?

micha15:04:58

@rb1719 you can use this function https://github.com/boot-clj/boot/blob/master/doc/boot.pod.md#add-classpath to add an individual jar file to the claspath, but note that it will not be part of the dependency graph, of course

micha15:04:33

it's usually worthwhile to get the jar into maven somehow so it can participate in the dependency graph

micha15:04:45

even if you just install the jar locally via mvn or whatever

micha15:04:19

but you can also make your own maven repo on S3 for example, and deploy your jar there

rb171915:04:46

@micha Thanks it worked with adding the maven. That's easier than adding to the classpath etc

micha15:04:15

yeah plus when you add the jar to maven it has an artifact id and version

micha15:04:27

which will help you organize your application deployment

rb171915:04:33

Ah that's awesome. Made my life so much simpler by using maven