Re: [Maven-js-plugin-users] Doesnt compress scripts under the vendor folder
Brought to you by:
mvaaltemus
From: Kannan E. <kan...@gm...> - 2007-11-07 10:32:44
|
Ok, I got the issue here, i see a small message "Unterminated string literal". I put a System.out in JSMin.java file, and I could see that there was *indeed* an error in one particular javascript file, in the lang folder, which stopped further compression. Seems a little odd though, if there is a javascript error in one file, shouldnt the task go ahead and compress everything and then report errors ? :) My problem seems to be solved once I correct the javascript errors Regards, Kannan On Nov 7, 2007 3:06 PM, Kannan Ekanath <kan...@gm...> wrote: > Hi, > This is further to the thread > http://sourceforge.net/forum/forum.php?thread_id=1858317&forum_id=712484 > > I have my folder structure as follows > webapp > src > main > java > resources > webapp (this is the folder under which web contents are placed) > scripts > myapp > (some scripts under many directory levels) ---- > A > jscalendar > B.js directly under jscalendar > lang (folder) > C.js under a lang folder > vendor > dojo-widget > (Many java script files) > myvendor > (js files) > test > > My configuration for the plugin has a <include>**/**.js</include>. I see > that all scripts under myapp folder are getting compressed (they are nested > deep at many directory levels). B.js directly under jscalendar is getting > compressed. However anything under vendor/dojo-widget is not getting > compressed. and anything under lang folder is not getting compressed. > > I assumed it was the licensing information which was present in these > files which was the problem, but some files under myvendor folder is not > getting compressed although there is no license information. > > I am not able to do any *guess* based on these patterns, can someone tell > me why these folders are getting skipped or if you need someother logs how I > should enable them? > > -- > Regards, > Kannan Ekanath -- Regards, Kannan Ekanath |