Click to Play

Google's Caffeine Live at One...
Back in August, WebProNews first told you about Google's Caffeine update. As Matt Cutts told us then, the Caffeine project would provide improvements to...

Recent Articles

How To Correctly Fix And Patch Site Architecture
In the past few months all of the search engines, but especially Google have released or started supporting new ways of fixing site architecture issues. However IMHO these are band-aid solutions for bad site...

Symantec Encouraging Users To Install Patches ASAP
Says to Take Advantage of Biggest Patch Tuesday Yet. Microsoft's Patch Tuesday for this week has been the largest ever from the company. 13 security...

How To Display Exceptions Through Propagation
There are many important things to remember to catch an exception. For instance one must use catch or finally to catch the thrown exceptions in try block.

Helpful Java Q&A
If You are appearing for any technical job's interview specially for software and system development you must know the language Java it is considered as the strongest language present in recent times.To make you...

New Sony Computers Now Come With Chrome Installed
Sony and Google would like to confirm that, "it's not what you know, but who you know" is alive and well. At least, that's the official basis for Sony agreeing to make Google's Chrome the default browser in all Vaio...

Understanding And Implementing JAVA String Methods
Strings are very important part of any programming language.Same is the case with Java.There are so many String methods in String class and it will become...

Understanding A Denial Of Service Attack
I heard on the news today that my favorite social network, Twitter, is being plagued by what they called a "denial of service attack". What on Earth is that?


11.12.09

Compiling Scala With Ant For Ralio Access

By Sean Corfield

I'm working on a Railo project that is using some Scala code for part of the system and I'm using Ant to drive the build process. The Scala website has a lot of tools and documentation and you can read about compiling Scala with Ant for the basics of how to get started.

What they don't cover there is what is needed to bundle up that compiled Scala code and put it somewhere that Railo can get at.

Here's the Ant task I use to create and deploy a JAR:



${www} defines my web root and ${scala.home} defines where Scala is installed on my system.

Read on for more details of the build-scala and docs-scala tasks...

The build-scala task compiles the .scala files to .class files (and is very similar to that shown on the Scala website):



The docs-scala task generates JavaDoc-style API documentation from the source code. It's a good idea to do this automatically every time you build the system so the documentation is always up to date. I don't commit the generated docs to git so that no one accidentally gets hold of an old version.




And finally the init-scala task sets up the Scala environment for the build / docs tasks:



Continue reading this article.


About the Author:
MSean is currently Chief Technology Officer for Railo Technologies US. He has worked in IT for over twenty five years, starting out writing database systems and compilers then moving into mobile telecoms and finally into web development in 1997. Along the way, he worked on the ISO and ANSI C++ Standards committees for eight years and is a staunch advocate of software standards and best practice. Sean has championed and contributed to a number of CFML frameworks and was lead developer on Fusebox for two years.<
About SysAdminNews
SysAdminNews is a collection of articles, news and commentary designed to keep system administrators informed about the latest trends impacting their profession. Updates and Advice for System Administrators





SysAdminNews is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
SysAdminNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITManagementNews.com





-- SysAdminNews is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2009 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


Database Forum Updates and Advice for System Administrators SysAdminNews News Archives About Us Feedback SysAdminNews.com About Article Archive News Downloads WebProWorld Forums iEntry Advertise Contact Jayde