CleanCode v1.2.07 AntDoc

Press that icon in order to update AntDoc GUI

sourceforgeBuild
Target validation.js2perl

validation.js2perl

  |
  +--validation.js.data
    |
    +--validation.js.data.check
    |
    +--init
  |
  +--cgi-bin.exe
    |
    +--cgi-bin.apps
      |
      +--cgi-bin.cgiAppBase
        |
        +--init
      |
      +--cgi-bin.page
        |
        +--init
      |
      +--cgi-bin.list
        |
        +--init
      |
      +--init
    |
    +--cgi-bin.check
    |
    +--init
  |
  +--init

Converts the validation data dictionary from JavaScript to Perl, so the same dictionary is used by the client-side and the server-side engines. (This is done by execute the cgi-bin program page with trivial inputs, discarding the output; the program's side effect is to convert the .js dictionaries to .pm files.) NB: If the "Lib/*.pm" files are under source control, be sure to copy them back to sourceforge tree after checking in.

Detail:
<target
	depends="init, cgi-bin.exe, validation.js.data"
	name="validation.js2perl"
>
	<exec
		dir="${mirror.bin}"
		executable="perl"
		outputproperty="null.storage"
	>
		<-- First argument: the program to execute -->

		<arg value="page"/>

		<arg value="DUMMY=0"/>
		<-- suppresses prompt for arguments -->

		<redirector errorproperty="run.error">
			<errorfilterchain>
				<linecontains>
					<contains value="*** ERROR"/>
				</linecontains>
			</errorfilterchain>
		</redirector>
	</exec>

	<fail message="${run.error}">
		<condition>
			<contains
				string="${run.error}"
				substring="*** ERROR"
			/>
		</condition>
	</fail>
</target>


Edouard Mercier 2003.10.01 21:48:07 - AntDoc V0.8g - XSL Transformer Factory: org.apache.xalan.processor.TransformerFactoryImpl