modules/org.openbravo.client.kernel/build.xml
author Iván Perdomo <ivan.perdomo@openbravo.com>
Tue, 08 Mar 2011 13:30:50 +0100
changeset 11090 6f23b67db4fa
parent 10772 802557f42def
permissions -rw-r--r--
[OBUISEL] Fixes issue with missing extra request properties
<?xml version="1.0" encoding="UTF-8" ?>
<!--
*************************************************************************
* The contents of this file are subject to the Openbravo  Public  License
* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
* Version 1.1  with a permitted attribution clause; you may not  use this
* file except in compliance with the License. You  may  obtain  a copy of
* the License at http://www.openbravo.com/legal/license.html
* Software distributed under the License  is  distributed  on  an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific  language  governing  rights  and  limitations
* under the License.
* The Original Code is Openbravo ERP.
* The Initial Developer of the Original Code is Openbravo SLU
* All portions are Copyright (C) 2010 Openbravo SLU
* All Rights Reserved.
* Contributor(s):  ______________________________________.
************************************************************************
-->
<project name="JSLint" default="lint" basedir=".">
    <description>
        Simple ant project to check JS templates
    </description>
  
  <property name="src" location="src"/>

  <path id="ant.tasks.classpath">
    <fileset dir="lib" includes="**/*.jar" />
  </path>


  <taskdef name="jslint"
           classname="com.googlecode.jslint4java.ant.JSLintTask"
           classpathref="ant.tasks.classpath" />

  <target name="lint" description="Lints the base application JS file">
    <jslint>
      <formatter type="plain" />
      <fileset dir="${src}">
       <include name="**/application_js.ftl"/> 
      </fileset>
    </jslint>
  </target>

</project>