nashorn/buildtools/nashorntask/build.xml
author sundar
Mon, 28 Mar 2016 23:05:01 +0530
changeset 36764 298caeee3757
permissions -rw-r--r--
8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)" Reviewed-by: jlaskey
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">
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
    30
    <mkdir dir="${build.classes.dir}"/>
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
    31
    <mkdir dir="${dist.dir}"/>
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">
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
    35
    <delete dir="${build.dir}"/>
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
    36
    <delete dir="${dist.dir}"/>
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}"
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
    41
           destdir="${build.classes.dir}"
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">
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
    50
    <jar jarfile="${dist.jar}" basedir="${build.classes.dir}"/>
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>