modules/org.openbravo.client.kernel/build.xml
author RM packaging bot <staff.rm@openbravo.com>
Fri, 26 Jul 2013 20:09:48 +0200
changeset 20796 b9e43ea5aa1b
parent 10772 802557f42def
permissions -rw-r--r--
CI: update AD_MODULE to version 20793
staff@10769
     1
<?xml version="1.0" encoding="UTF-8" ?>
staff@10769
     2
<!--
staff@10769
     3
*************************************************************************
staff@10769
     4
* The contents of this file are subject to the Openbravo  Public  License
harpreet@9076
     5
* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
staff@10769
     6
* Version 1.1  with a permitted attribution clause; you may not  use this
staff@10769
     7
* file except in compliance with the License. You  may  obtain  a copy of
staff@10769
     8
* the License at http://www.openbravo.com/legal/license.html
staff@10769
     9
* Software distributed under the License  is  distributed  on  an "AS IS"
staff@10769
    10
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
staff@10769
    11
* License for the specific  language  governing  rights  and  limitations
staff@10769
    12
* under the License.
staff@10769
    13
* The Original Code is Openbravo ERP.
staff@10769
    14
* The Initial Developer of the Original Code is Openbravo SLU
staff@10769
    15
* All portions are Copyright (C) 2010 Openbravo SLU
staff@10769
    16
* All Rights Reserved.
staff@10769
    17
* Contributor(s):  ______________________________________.
staff@10769
    18
************************************************************************
staff@10769
    19
-->
staff@10769
    20
<project name="JSLint" default="lint" basedir=".">
staff@10769
    21
    <description>
staff@10769
    22
        Simple ant project to check JS templates
staff@10769
    23
    </description>
staff@10769
    24
  
staff@10769
    25
  <property name="src" location="src"/>
staff@10769
    26
staff@10769
    27
  <path id="ant.tasks.classpath">
staff@10769
    28
    <fileset dir="lib" includes="**/*.jar" />
staff@10769
    29
  </path>
staff@10769
    30
staff@10769
    31
staff@10769
    32
  <taskdef name="jslint"
staff@10769
    33
           classname="com.googlecode.jslint4java.ant.JSLintTask"
staff@10769
    34
           classpathref="ant.tasks.classpath" />
staff@10769
    35
staff@10769
    36
  <target name="lint" description="Lints the base application JS file">
staff@10769
    37
    <jslint>
staff@10769
    38
      <formatter type="plain" />
staff@10769
    39
      <fileset dir="${src}">
staff@10769
    40
       <include name="**/application_js.ftl"/> 
staff@10769
    41
      </fileset>
staff@10769
    42
    </jslint>
staff@10769
    43
  </target>
staff@10769
    44
staff@10769
    45
</project>