On Mon, Jun 11, 2012 at 9:07 PM, Aaron J. White <[email protected]> wrote:

> I just recently started using jar files to extend the functionality of
> cfml. Today I figured that it would make sense to include the jars I
> am using within my app's path instead of throwing the jar file in the
> server's lib folder.


Out of curiosity, why?


> Anyone have a solution they could suggest? I didn't notice any special
> functionality in the OpenBD manual, but it wouldn't be the first time
> I missed a hidden gem.
>

You can specify a jar file as the third argument of CreateObject(), but
currently I can't seem to get this working (this is a relatively new
feature).

Alan or Andy, can you shed some light on how that's supposed to work? I'm
assuming you pass the full path to the jar file as the final argument? I
tried that and it breaks, and in the CreateObject() code I don't see where
it's actually doing anything with that third argument, but I may be
misunderstanding where that happens.

Hopefully this is just my misunderstanding about how it's supposed to work
or a minor bug, but the main point here is that you can specify the
location of the jar file as the third argument: CreateObject('java',
'MyClass', '/path/to/jar/file/here.jar')

Kind of a half-answer but hope that helps.
-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to