Adding JAR libraries with multiple dependencies

I would like to use the AWS Java SDK library in my Lucee application. In
Railo I dropped the .jar file and all it’s 18 dependent .jar files in the
WEB-INF/lib folder, but is there a better way in Lucee?

For instance, can I declare a dependency using Maven OSGi
https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-osgi/1.11.11 somewhere
in my configuration files?

Not really an answer here but if you are doing this I would suggest wrapping it up as an extension and then you can do something useful for the rest of the community as well as yourself.

You can then do tags/functions that call the api (as you are probably going to do so anyway!)

Here is a starter (not quite a tutorial) Extensions in Lucee 5 :: Lucee Documentation http://docs.lucee.org/guides/lucee-5/extensions.html

Regards
Mark Drew> On 29 Jun 2016, at 13:38, Rupert Rawnsley <@Rupert_Rawnsley> wrote:

I would like to use the AWS Java SDK library in my Lucee application. In Railo I dropped the .jar file and all it’s 18 dependent .jar files in the WEB-INF/lib folder, but is there a better way in Lucee?

For instance, can I declare a dependency using Maven OSGi https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-osgi/1.11.11 somewhere in my configuration files?


Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/b9e08da7-b259-4e9f-bfba-421e9689d44a%40googlegroups.com https://groups.google.com/d/msgid/lucee/b9e08da7-b259-4e9f-bfba-421e9689d44a%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

Thanks Mark. Bundling the libs and the tags together does make sense; I’ll
look to do this during my next refactoring cycle.On Wednesday, 29 June 2016 13:43:33 UTC+1, Mark Drew wrote:

Not really an answer here but if you are doing this I would suggest
wrapping it up as an extension and then you can do something useful for the
rest of the community as well as yourself.

You can then do tags/functions that call the api (as you are probably
going to do so anyway!)

Here is a starter (not quite a tutorial)
Extensions in Lucee 5 :: Lucee Documentation

Regards
Mark Drew

On 29 Jun 2016, at 13:38, Rupert Rawnsley <rupert....@gmail.com <javascript:>> wrote:

I would like to use the AWS Java SDK library in my Lucee application. In
Railo I dropped the .jar file and all it’s 18 dependent .jar files in the
WEB-INF/lib folder, but is there a better way in Lucee?

For instance, can I declare a dependency using Maven OSGi
https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-osgi/1.11.11 somewhere
in my configuration files?


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/b9e08da7-b259-4e9f-bfba-421e9689d44a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/b9e08da7-b259-4e9f-bfba-421e9689d44a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.