|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Minified Netbeans jmaki/Javascript buildsHi, I wondering if you are the guy to ask about my idea for minified Javascript in the build process for web apps using netbeans. I have a enhancement request http://www.netbeans.org/issues/show_bug.cgi?id=134586 and I see that it has been assigned to "Tor". This would be a good enhancement in my view and might be of interest to the jmaki/scripting teams at Sun, what do I do to get this idea put into action. Obviously I could try and do it myself, I fear that I do not have enough netbeans platform/build process knowledge (if I had the time !) to put it into practice though. Regards Neil Hathaway Java/Web Netbeans user Cambridge (UK) |
|
|
Re: Minified Netbeans jmaki/Javascript buildsHi Niel,
This would be a great feature that we already support with jMaki but would be good to have tooling for it. In jMaki widgets are defined using 3 files --widget_name | +- component.htm | +-component.js | +-component.css You can optionally have: --widget_name | +- component.htm | +-component.js | +-component-min.js | +-component.css When we see a minified file (by default) the component-min.js will be picked up instead of the component.js. When you are in development mode the component.js will be used. It would be very nice for Netbeans to generate the minified JavaScript files using the standard convention of FILENAME-min.js This would be a big help for all web / html projects. -Greg On Jun 20, 2008, at 4:06 PM, Neil Hathaway wrote:
|
|
|
Re: Minified Netbeans jmaki/Javascript buildsHi,
What goes in *-min.js file? is it the component.js file compressed? Well am in the stage of creating wizards for those files, If it's the striped version of component.js it would make sense to create this file when building the zip file of the library. Best Regards, Daoud AbdelMonem Faleh. Greg Murray a écrit : > Hi Niel, > > This would be a great feature that we already support with jMaki but > would be good to have tooling for it. > > In jMaki widgets are defined using 3 files > > --widget_name > | > +- component.htm > | > +-component.js > | > +-component.css > > You can optionally have: > > --widget_name > | > +- component.htm > | > +-component.js > | > +-component-min.js > | > +-component.css > > When we see a minified file (by default) the component-min.js will be > picked up instead of the component.js. When you are in development mode > the component.js will be used. > > It would be very nice for Netbeans to generate the minified JavaScript > files using the standard convention of FILENAME-min.js > > This would be a big help for all web / html projects. > > -Greg > > On Jun 20, 2008, at 4:06 PM, Neil Hathaway wrote: > >> Hi, >> >> I wondering if you are the guy to ask about my idea for minified >> Javascript in the build process for web apps using netbeans. >> >> I have a enhancement request >> http://www.netbeans.org/issues/show_bug.cgi?id=134586 and I see that >> it has been assigned to "Tor". >> >> This would be a good enhancement in my view and might be of interest >> to the jmaki/scripting teams at Sun, what do I do to get this idea put >> into action. >> >> Obviously I could try and do it myself, I fear that I do not have >> enough netbeans platform/build process knowledge (if I had the time !) >> to put it into practice though. >> >> Regards >> >> >> Neil Hathaway >> Java/Web Netbeans user >> Cambridge (UK) >> >> > http://kissthedots.blogspot.com/ "Le dieu n'est pas a craindre ; la mort ne donne pas de souci ; et tandis que le bien est facile a obtenir, le mal est facile a supporter." No virus found in this outgoing message. Checked by AVG. Version: 8.0.100 / Virus Database: 270.4.1/1511 - Release Date: 20/06/2008 11:52 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free Forum Powered by Nabble | Forum Help |