Open GoogleCodeExporter opened 8 years ago
Further to this, we can confirm that WRO4J works as expected when lessc is
installed on the Weblogic machine. So the issue seems down to
ro.isdc.wro.extensions.locator.WebjarUriLocator not being able to load webjar
less.min.js.
Original comment by bja...@twigkit.com
on 30 Aug 2013 at 9:39
The WebjarUriLocator uses webjars-locator dependency:
https://github.com/webjars/webjars-locator
Could you try to upgrade webjars-locator to a newer version and confirm if that
fixes the problem? If it doesn't, could you open an issue on webjars-locator
issue tracking page?
Alternatively, you could use less4j processor which is quite stable and much
faster than lessCss.
Original comment by alex.obj...@gmail.com
on 30 Aug 2013 at 9:58
Have you tried to upgrade the webjars-locator dependency? Please, post here
your any information you have.
Original comment by alex.obj...@gmail.com
on 1 Sep 2013 at 9:15
There is a newer version of webjars-locator dependency available (0.6). Could
you upgrade and let me know if that works?
I will keep this issue open for one more week. If no feedback is provided I
will close it with "invalid" resolution (but you'll be able to reopen it
anytime if needed).
Original comment by alex.obj...@gmail.com
on 17 Nov 2013 at 9:37
Many thanks for the feedback. Sorry for the slow response, we�ve been focusing
on other aspects recently. I won�t have time to recreate this problem in the
next few days (the problematic setup was on-site with a remote client). I will
try the suggested resolution and give you feedback once I know more - please go
ahead and mark the issue as �invalid� until then.
Original comment by bja...@twigkit.com
on 19 Nov 2013 at 4:15
Hi Alex,
A quick update on this. I�ve recently been involved in another Weblogic
installation (sadly) and came across this issue again. In this instance, I can
recreate the problem on my local OSX workstation using the latest
webjars-locator and wro4j releases:
WRO4J: 1.7.3
webjars-locator: 0.9
OS: OSX 10.9
Application server: WebLogic 10.3.6
JRE: Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
No lessc compiler installed on server << crucial
The issue occurs when trying to locate less.min.js from the class path. The
exact stack trace is attached.
Hope this helps - let me know if you need any further details.
Bjarki
Original comment by bja...@twigkit.com
on 3 Feb 2014 at 3:34
Stack trace was missing from my email reply - attached here.
Original comment by bjarki.h...@gmail.com
on 3 Feb 2014 at 3:35
Attachments:
I would be able to answer this question if I would be able to inspect the
classpath of the application causing the problem.
As a workaround, I could suggest using less4j processor instead which is not
based on rhino and doesn't require webjar to load from the classpath.
Original comment by alex.obj...@gmail.com
on 3 Feb 2014 at 3:44
Roger that, Alex - will test less4j.
Original comment by bja...@twigkit.com
on 3 Feb 2014 at 4:00
Back to original problem, I'm not sure I can fix the problem itself in wro4j,
since the webjar resource is located in webjars-locator library. So, maybe it
worth raising an issue there?
Original comment by alex.obj...@gmail.com
on 3 Feb 2014 at 4:05
Original issue reported on code.google.com by
bja...@twigkit.com
on 30 Aug 2013 at 9:22Attachments: