To edit or add content to this Wiki, you can simply create a new account at http://wocommunity.org/account.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

WOCompile Task Manual

This has been transcribed by Andrew Lindesay from the old WOProject site.

Description

WOCompile is an Ant task to build WebObjects Java source code. It is a WO-friendly extension of Javac Ant task.

Parameters

There are no special parameters. The documentation for the Javac applies.

Nested Elements

The nested frameworks is a FrameworkSet structure that specifies the names of the WebObjects Frameworks needed to compile the source code. The jar files from these frameworks will be added to the WOCompile CLASSPATH.

Examples

<taskdef  name="wocompile"  classname="org.objectstyle.woproject.ant.WOCompile"/>

<wocompile srcdir="Java" destdir="classes"
    debug="on" 
    optimize="off"
    deprecation="on">
    
   <frameworks dir="${build.root}">
      <include name="JavaWOExtension.framework"/>
      <include name="ER*.framework"/>
      <include name="PRLogic.framework"/>
      <exclude name="ERNeutralLook.framework"/>
   </frameworks>
	  
   <frameworks dir="${wo.localroot}">
      <include name="Mysql*.framework"/>
   </frameworks>
	  
   <classpath> 
      <fileset dir="Libraries" includes="**/*.jar" />
   </classpath>
	  
</wocompile>
  • No labels