I'd like to use the Rhino JavaScript compiler to compile some JavaScript to .class bytecode files for use in a project. It seems like this should already exist, since there are groovyc, netrexxc, and jythonc tasks for Groovy, NetREXX(!) and Jytho...
I'm trying to incorporate some JavaScript unit testing into my automated build process.  Currently JSUnit works well with JUnit, but it seems to be abandonware and lacks good support for AJAX, debugging, and timeouts.    Has anyone had any luck a...
I have ANT script which compresses .js files into their own files, but i want to compress all .js files into one .js file.   How to make it work using below ANT script.  <echo message="Compressing Javascript files at location: ${build.root}/re...
I am trying to write an Ant <scriptfilter...> to change occurrences of the string "__LINE__" to the correct line number in Java source files.  Does anyone have an example of using JavaScript (or some other embedded scripting language) t...
After upgrading to Dojo 1.7.3, our ant build that was working flawlessly for years on previous versions of Dojo is now completely non-operational due to out of memory errors:  [java] starting writing resources... [java] java.lang.OutOfMemoryError: GC...
After a couple of days searching for how to use the YUI Compressor in an Ant build script I have finally got it working. Many old examples (<2010) exist for creating an Ant task and using that within your build script, but that was overkill for me...
I know this question has been asked many times, but here are my specific needs. The obfuscator needs to come in a form of a java library, so I can make an Ant task in order to automate the build process. IE7, 8, Firefox and Chrome must be able to in...
I have the following ant build target :  <target name="analyze">     <script language="javascript">     <![CDATA[             importPackage(java.lang);             var path = project.getProperty("PROJECT_HOME")...
I'm trying to compile a bunch of handlebars templates into a single compiled file using ant.  I have a number of folders that each contain about 4 templates each and I want to compile these all into one file.  With folders like:  folder01   |- te...
I'd like to run JSLint4Java as part of my build process.  I have about 1000 JS files in a library, and don't really want to add a  /*globals foo, bar, baz */   header to each of them -- especially since many of them are from an external libra...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.