File: default-properties.xml

package info (click to toggle)
libnb-platform18-java 12.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 729,800 kB
  • sloc: java: 5,059,097; xml: 574,432; php: 78,788; javascript: 29,039; ansic: 10,278; sh: 6,386; cpp: 4,612; jsp: 3,643; sql: 1,097; makefile: 540; objc: 288; perl: 277; haskell: 93
file content (83 lines) | stat: -rw-r--r-- 3,863 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?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="default-properties" default="netbeans" basedir=".">
  <dirname property="nb_all" file="${ant.file.default-properties}/.."/>

  <!-- Have to be read here, so that they will affect even module builds (e.g. when setting JDK): -->
  <property file="${nb_all}/nbbuild/user.build.properties"/>
  <property file="${nb_all}/nbbuild/site.build.properties"/>
  <property file="${user.home}/.nbbuild.properties"/>

  <property name="-nb.build.dir-default" location="${nb_all}/nbbuild/build"/>
  <property name="nb.build.dir" value="${-nb.build.dir-default}"/>
  <condition property="nb.build.dir.nondefault">
      <not>
          <equals arg1="${nb.build.dir}" arg2="${-nb.build.dir-default}"/>
      </not>
  </condition>

  <property name="nbantext.jar" location="${nb.build.dir}/nbantext.jar"/>

  <property name="license.file" location="${nb_all}/nbbuild/standard-nbm-license.txt"/>
  <property name="build.sysclasspath" value="ignore"/>

  <property name="clusters.list.file" location="${nb_all}/nbbuild/cluster.properties"/>
  <condition property="netbeans.dest.dir" value="${nb.build.dir}${file.separator}netbeans">
      <istrue value="${nb.build.dir.nondefault}"/>
  </condition>
  <property name="netbeans.dest.dir" location="${nb_all}/nbbuild/netbeans"/> <!-- historical location, too much work to change default -->
  <property name="netbeans.javadoc.dir" location="${nb.build.dir}/javadoc"/>
  <property name="moduleCluster.file" location="${netbeans.dest.dir}/moduleCluster.properties"/>

  <property name="autoupdate.catalog.url" value="http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz"/>

  <macrodef name="resolve">
    <attribute name="name"/>
    <attribute name="value"/>
    <sequential>
      <property name="@{name}" value="${@{value}}"/>
    </sequential>
  </macrodef>
 
  <property file="${clusters.list.file}"/>

  <resolve name="nb.clusters.list" value="clusters.config.${cluster.config}.list"/>

  <property file="${moduleCluster.file}"/>

  <property name="test.dist.dir" location="${nb.build.dir}/testdist"/>
  
  <property name="binaries.cache" location="${user.home}/.hgexternalcache"/>
  <property name="binaries.server" value="https://netbeans.osuosl.org/binaries/"/>

  <target name="-load-build-properties">
    <property file="${nb_all}/nbbuild/build.properties"/>
  </target>

  <xmlcatalog id="nbantextcatalog" classpath="${nbantext.jar}">
    <dtd publicId="-//W3C//DTD XHTML 1.0 Strict//EN" location="org/netbeans/nbbuild/xhtml1-strict.dtd" />
    <dtd publicId="-//W3C//ENTITIES Latin 1 for XHTML//EN" location="org/netbeans/nbbuild/xhtml-lat1.ent" />
    <dtd publicId="-//W3C//ENTITIES Symbols for XHTML//EN" location="org/netbeans/nbbuild/xhtml-symbol.ent" />
    <dtd publicId="-//W3C//ENTITIES Special for XHTML//EN" location="org/netbeans/nbbuild/xhtml-special.ent" />
    <dtd publicId="-//NetBeans//DTD Arch Answers//EN" location="org/netbeans/nbbuild/Arch.dtd" />
  </xmlcatalog>
</project>