This is an automated email from the ASF dual-hosted git repository. arusinha pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 94e5769 [NETBEANS-2609]:Provided support to build NB IDE specific to Java cluster (#1268) 94e5769 is described below commit 94e5769d5e3f0df547cb3b25bf32b5dc3289ddc3 Author: Arunava Sinha <arunava.si...@oracle.com> AuthorDate: Mon Jun 3 22:46:20 2019 +0530 [NETBEANS-2609]:Provided support to build NB IDE specific to Java cluster (#1268) * [NETBEANS-2609]:Provided support to build NB IDE specific to Java cluster * [NETBEANS-2609]:Corrected projectName in buildFile * [NETBEANS-2609]: Used Basic cluster to build IDE specific to java * [NETBEANS-2609]: Altered travis configuration for build-basic --- .travis.yml | 3 +++ java/build.xml | 30 ++++++++++++++++++++++++++++++ nbbuild/build.xml | 18 ++++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/.travis.yml b/.travis.yml index d6c125c..d0fd369 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,6 +51,9 @@ matrix: - env: OPTS="-quiet" TARGET="build-platform" jdk: oraclejdk11 + - env: OPTS="-quiet -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false" TARGET="build-basic" + jdk: oraclejdk8 + - env: OPTS="-Dcluster.config=standard -quiet -Dpermit.jdk9.builds=true -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false" TARGET="build" jdk: oraclejdk11 diff --git a/java/build.xml b/java/build.xml new file mode 100644 index 0000000..174cdc1 --- /dev/null +++ b/java/build.xml @@ -0,0 +1,30 @@ +<?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 name="java" basedir="../nbbuild" default="build"> + <description>NetBeans Basic cluster build script.</description> + <import file="../nbbuild/build.xml"/> + + <target name="build" depends="build-basic" description="Build the NetBeans Basic cluster."/> + + <target name="test" depends="test-basic" description="Test the NetBeans Basic cluster."/> + +</project> diff --git a/nbbuild/build.xml b/nbbuild/build.xml index 7c03de8..83f7e95 100644 --- a/nbbuild/build.xml +++ b/nbbuild/build.xml @@ -470,6 +470,24 @@ Hg ID: ${hg.id} </nbmerge> </target> + <target name="build-basic" description="Build the NetBeans Basic cluster."> + <mkdir dir="${netbeans.dest.dir}"/> + <ant dir="." target="build" inheritAll="false"> + <property name="cluster.config" value="basic"/> + <property name="permit.jdk9.builds" value="true"/> + </ant> + </target> + + <target name="test-basic" description="Test the NetBeans Basic cluster."> + <mkdir dir="${netbeans.dest.dir}"/> + <ant dir="." target="test" inheritAll="false"> + <property name="cluster.config" value="basic"/> + <property name="test.type" value="test-unit"/> + <property name="test-unit-sys-prop.ignore.random.failures" value="true"/> + <property name="permit.jdk9.builds" value="true"/> + <property name="vanilla.javac.exists" value="true"/> + </ant> + </target> <target name="-build-platform" depends="init"> <delete file="${netbeans.dest.dir}/nb.cluster.platform.built"/> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists