Building Quartz from SourceThe Quartz download includes the source code as well as a deployable JAR file. One of the benefits of having the source code is that you can look inside and figure out how it does what it does. The source is included as a convenience for developers who want to take a peek inside. It's also necessary if you want to step through the code in an IDE such as Eclipse. The Quartz CVS RepositoryThe CVS repository for the Quartz project, along with the other OpenSymphony projects, is hosted on Java.net. To download anything from the CVS repository, you must have an account. You can view the source tree anonymously from xwork.dev.java.net/source/browse/quartz, but you need an account to download the entire tree.
After you have created your account, you can download the necessary files to build Quartz. To do this, open a command prompt in a directory where you want to put the projects. The download creates two subdirectories in the directory where you run the command: quartz and opensymphony. From the command prompt, type cvs -d :pserver:[username]@cvs.dev.java.net:/cvs login Substitute your account name (without the brackets) in the username field. After you have downloaded the two modules, change the directory to the quartz module and type this: ant -projecthelp This gives you a list of targets with descriptions. The default target for the Quartz build file is jar; you can just type ant from the command line, and it will build a deployable Quartz JAR.
|
Wednesday, December 30, 2009
Building Quartz from Source
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment