| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <project basedir="." default="build" name="webcommon/javascript2.editor"> |
| <description>Builds, tests, and runs the project org.netbeans.modules.javascript2.editor</description> |
| <import file="../../nbbuild/templates/projectized.xml"/> |
| |
| <target name="build-init" depends="projectized.build-init"> |
| <mkdir dir="build/testfiles" /> |
| <unzip src="external/testfiles-jsdoc-1.zip" dest="build/testfiles"/> |
| <unzip src="external/js.foundation-parser-1.0.zip" dest="test/unit/data/testfiles/ecmascript6"/> |
| <unzip src="external/javascript2.editor-requirejs-2.1.14-resources.zip" dest="."/> |
| <unzip src="external/javascript2.editor-jquery-1.6-resources.zip" dest="."/> |
| </target> |
| <!-- Generated JavaScript files for core libraries, used by code completion |
| etc. See the JsStubsGenerator project (in main/misc repository) for details. --> |
| <target name="-bundle-corestubs"> |
| <copy file="external/js-corestubs-5.1.zip" tofile="${cluster}/jsstubs/corestubs.zip"/> |
| </target> |
| <target name="-bundle-reststubs"> |
| <copy file="external/js-reststubs-3.zip" tofile="${cluster}/jsstubs/reststubs.zip"/> |
| </target> |
| <target name="-bundle-domstubs"> |
| <copy file="external/js-domstubs-DOM3.zip" tofile="${cluster}/jsstubs/domstubs.zip"/> |
| </target> |
| <target name="release" depends="projectized.release,-bundle-corestubs,-bundle-domstubs,-bundle-reststubs"/> |
| </project> |
| |