Problems in Resources Plugin 1.2.9 ?

73 views
Skip to first unread message

Sandro Martini

unread,
Oct 1, 2014, 6:27:50 AM10/1/14
to grails-de...@googlegroups.com
Hi all,
after updating some Grails webapps (from 2.2.5 to 2..4.3), some with many other things, and a new one (created by scratch with 2.4.3), if I use the resources plugin up to 1.2.8 all is good, but if I use the latest (just released) 1.2.9 I get a lot of errors, for example this:

jquery - 1.11.1 => default
resources - 1.2.8 => OK
resources - 1.2.9 => KO, see under

| Server running. Browse to http://localhost:8080/test-grails24
Browsing to home page, I get this in console:
Error |
2014-10-01 12:00:39,927 [localhost-startStop-1] ERROR resource.ResourceMeta  - Resource not found: /plugins/jquery-1.11.1/js/jquery/jquery-1.11.1.min.js
Error |
2014-10-01 12:00:39,952 [localhost-startStop-1] ERROR resource.ResourceMeta  - Resource not found: /plugins/jquery-1.11.1/js/jquery/jquery-1.11.1.js


I'm on Windows at 64 bit with JDK 7u67.

Someone already note this ?
If this is a real problem, where should I open an issue (issue for Resources plugin seems outdated) ?


Thanks a lot.

Bye,
Sandro

Burt Beckwith

unread,
Oct 1, 2014, 11:04:20 AM10/1/14
to grails-de...@googlegroups.com
Not much is happening with the resources plugin - you should probably take this as the motivation to switch over to http://grails.org/plugin/asset-pipeline which is actively developed and issues are addressed quickly. As an added bonus, none of the maintainers of asset-pipeline have been arrested lately for walking around in an airport with an AR-15 (that I know of anyway).

Burt

Sandro Martini

unread,
Oct 1, 2014, 12:25:56 PM10/1/14
to grails-de...@googlegroups.com
Hi Burt,

 
Not much is happening with the resources plugin - you should probably take this as the motivation to switch over to http://grails.org/plugin/asset-pipeline which is actively developed and issues are addressed quickly.
I have a plugin based on resources plugin, this is the main reason for this "legacy" usage ...
Since previous release I have seen many changes in resources plugin sources, maybe some of them broke (at least in Windows) something ...
 
As an added bonus, none of the maintainers of asset-pipeline have been arrested lately for walking around in an airport with an AR-15 (that I know of anyway).
good to know :-) ...

Anyway it seems a strange problem to me, really none get a similar error with latest release (could be something related to Windows) ?
I'll post an issue in plugin issue tracker, and post an update here (if any) ...

https://jira.grails.org/browse/GPRESOURCES/


Bye,
Sandro

James Jack

unread,
Jun 16, 2016, 8:53:51 PM6/16/16
to Grails Dev Discuss
I see the same issue in a project I'm working on.  Did you find the cause?

Sandro Martini

unread,
Jun 17, 2016, 3:50:56 AM6/17/16
to grails-de...@googlegroups.com
Hi,

> I see the same issue in a project I'm working on. Did you find the cause?
>
I think it's a problem in the resources plugin, did you already tried
with latest [resources plugin
release](https://grails.org/plugin/resources) ?

Otherwise (as recommended by others in this thread) I think you should
change your code and use [asset-pipeline
plugin](https://grails.org/plugin/asset-pipeline) which is more
updated, sorry ...


Bye
Reply all
Reply to author
Forward
0 new messages