make/nashorn/buildtools/nashorntask/build.xml
author chegar
Sat, 25 Nov 2017 21:37:14 +0000
branchhttp-client-branch
changeset 55876 42cf279e4a89
parent 47231 8fb3178bef87
permissions -rw-r--r--
http-client-branch: more no body tests
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
     2
<!--
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
     3
 Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
     5
 
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
     8
 published by the Free Software Foundation.
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
     9
 
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    10
 This code is distributed in the hope that it will be useful, but WITHOUT
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    11
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    12
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    13
 version 2 for more details (a copy is included in the LICENSE file that
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    14
 accompanied this code).
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    15
 
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    16
 You should have received a copy of the GNU General Public License version
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    17
 2 along with this work; if not, write to the Free Software Foundation,
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    18
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    19
 
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    20
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    21
 or visit www.oracle.com if you need additional information or have any
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    22
 questions.
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    23
-->
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    24
<project name="nashorntask" default="all" basedir=".">
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    25
  <target name="init">
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    26
    <loadproperties srcFile="project.properties"/>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    27
  </target>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    28
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    29
  <target name="prepare" depends="init">
47231
8fb3178bef87 8187782: no ant build artifact should be produced under make/nashorn directory
sundar
parents: 47216
diff changeset
    30
    <mkdir dir="${nashorntask.build.classes.dir}"/>
8fb3178bef87 8187782: no ant build artifact should be produced under make/nashorn directory
sundar
parents: 47216
diff changeset
    31
    <mkdir dir="${nashorntask.dist.dir}"/>
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    32
  </target>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    33
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    34
  <target name="clean" depends="init">
47231
8fb3178bef87 8187782: no ant build artifact should be produced under make/nashorn directory
sundar
parents: 47216
diff changeset
    35
    <delete dir="${nashorntask.build.dir}"/>
8fb3178bef87 8187782: no ant build artifact should be produced under make/nashorn directory
sundar
parents: 47216
diff changeset
    36
    <delete dir="${nashorntask.dist.dir}"/>
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    37
  </target>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    38
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    39
  <target name="compile" depends="prepare" description="Compiles the nashorn ant tag sources">
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    40
    <javac srcdir="${src.dir}"
47231
8fb3178bef87 8187782: no ant build artifact should be produced under make/nashorn directory
sundar
parents: 47216
diff changeset
    41
           destdir="${nashorntask.build.classes.dir}"
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    42
           debug="${javac.debug}"
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    43
           includeantruntime="true">
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    44
      <compilerarg value="-Xlint:unchecked"/>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    45
      <compilerarg value="-Xlint:deprecation"/>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    46
    </javac>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    47
  </target>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    48
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    49
  <target name="jar" depends="compile" description="Creates nashorntask.jar">
47231
8fb3178bef87 8187782: no ant build artifact should be produced under make/nashorn directory
sundar
parents: 47216
diff changeset
    50
    <jar jarfile="${nashorntask.dist.jar}" basedir="${nashorntask.build.classes.dir}"/>
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    51
  </target>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    52
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    53
  <target name="dist" depends="jar"/>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    54
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    55
  <target name="all" depends="dist" 
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    56
    description="Builds sources and generates nashorntask.jar"/>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents:
diff changeset
    57
</project>