r3 - 05 Oct 2003 - 23:11:00 - FrankDieboltYou are here: SuperWaba >  Codev Web  > HowToContribute

Great Ant

You might have noticed that SuperWaba has migrated to Ant for the Java build process. Ant is an oustanding tool with many standard tasks usefull during build processes.


Hint: type ant -projecthelp in the SuperWabaSDK root folder to see a list of all the Ant targets (build process operations) with their descriptions.

As you may know, Ant is a incredibly extendeable and is already a capable java tool that offers source control, build process, file management, server access, and so forth.

Here is a sample of an Ant's capability, and I hope many of you will invent other nice operations that could be conveniently automated and save people time.

I just added three cvs targets to do the 3 main anonymous user CVS operations, you may now know about. These are:

  • checkout a version to create your own "sandbox" (target cvs-checkout)
  • update your local "sandbox" (target cvs-update)
  • make a patch (target cvs-genpatch)

All you need is the SuperWabaSDK root Ant "build.xml" file.
I recommend the LATEST version in the CVS repository. You can download this single file through the SourceForge cvs web access [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/superwaba/sdk/build.xml?rev=HEAD&content-type=text/xml here?]

Then go to the SuperWabaSDK folder and type:
ant cvs-checkout to create a Superwaba sandbox (it will retrieve the SourceForge Superwaba modules src & vm)

Periodically, execute ant cvs-update commands to retrieve the latest version from the SourceForge repositary and stay in sync with the evolving sources.

Write the source code to implement your feature or fix a bug, then generate the diff file to contribute a patch by typing ant cvs-genpatch

We gave up the idea of sending emails automatically through Ant with an attachment containing the patch to Guilherme because some bad thinking guys may use this to commit SPAM :-))

So instead, please submit the patch to the Superwaba project (patch tracker) on Sourceforge which also offers tracking features and other patch management capabilities.

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
Codev.HowToContribute moved from Codev.Contributing on 06 Oct 2003 - 00:17 by FrankDiebolt - put it back
 
SuperWaba home
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding SuperWaba? Send feedback