Skip to content

Resources doesn't play nicely with jquery plugin configs #7

Open
@felipero

Description

@felipero

I was trying to use resources plugin with the latest version of JQuery.

On the plain JQuery plugin I could do that:

jquery {
sources = 'jquery' // Holds the value where to store jQuery-js files /web-app/js/
version = '1.6.4' // The jQuery version in use
}

And the JQuery tag would know how to find that in my own /js/jquery/ directory.
<g:javascript library="jquery" />

I don't want to update the plugin jquery version on the plugin directory, but the resources plugin can't find the .js on my dir. It keeps giving me this exception:

java.lang.IllegalArgumentException: Module [jquery] depends on resource [/plugins/jquery-1.6.1.1/js/jquery/jquery-1.6.4.min.js] but the file cannot be found

I tried to find where to fix that so I could provide a pull request or something like that, but I couldn't. so far. Any help where to find that or maybe you guys could fix that either. :)

Thanks by the way for the great plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions