using wro4j-tag with wro4j in runtime

40 views
Skip to first unread message

r...@chargebee.com

unread,
Apr 9, 2012, 11:13:49 AM4/9/12
to wr...@googlegroups.com
Hi,

I'm looking to use wro4j-tag(which you suggested earlier) for runtime. I understand that wro4j-tag is not a runtime tool. However, if I can have access to the wroConfiguration object I can do some hack to make it work.

I'm planning to use HashNaming strategy to name the minified js & css. However, I dont wan't to have them in memory(as it does currently). Instead I want them to be in the disk, as we are using apr to server files from disk in a native way. Do you have any suggestion on this?


Alex Objelean

unread,
Apr 9, 2012, 11:21:22 AM4/9/12
to wr...@googlegroups.com
Reposting another moderated tag (google groups is still buggy). 
In order to avoid the moderation, please become member of the group.

Hi,

I'm looking to use wro4j-tag(which you suggested earlier) for runtime. I=20
understand that wro4j-tag is not a runtime tool. However, if I can have=20

access to the wroConfiguration object I can do some hack to make it work.

I'm planning to use HashNaming strategy to name the minified js & css.=20
However, I dont wan't to have them in memory(as it does currently). Instead=
=20
I want them to be in the disk, as we are using apr to server files from=20

rr

unread,
Apr 9, 2012, 11:41:24 AM4/9/12
to wr...@googlegroups.com
Oops! Sorry. I'm a member now.

Alex Objelean

unread,
Apr 11, 2012, 4:46:01 PM4/11/12
to wr...@googlegroups.com
The maven plugin uses HashNaming strategy to change the name of the bundled resource on disk. You can take a look on Wro4jMojo to check how it is implemented. 

Let me know if you need more help.

Cheers,
Alex
Reply all
Reply to author
Forward
0 new messages