File: p2.xml

package info (click to toggle)
bnd 5.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 44,128 kB
  • sloc: java: 249,039; xml: 90,728; sh: 655; perl: 153; makefile: 96; python: 47; javascript: 9
file content (28 lines) | stat: -rw-r--r-- 1,029 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="bndtools" default="none">
  <!-- Default Target -->
  <target name="none">
    <fail message="This ant script should never be called directly." />
  </target>

  <!-- Initialisation -->
  <target name="init" unless="initialized">
    <dirname  property="projectdir"   file="${ant.file}" />
    <dirname  property="workspacedir" file="${projectdir}" />
    <property name="target"           value="${projectdir}/generated" />
    <property name="initialized"      value="set"          />
  </target>

  <!-- Called by the Eclipse embedded ANT application -->
  <target name="p2Bndtools" depends="init">
    <p2.publish.featuresAndBundles
        source="${workspacedir}"
        repository="file:${target}/p2"
        append="false"
        repositoryname="Bndtools"
        compress="true">
      <features dir="${target}/features"   includes="*.jar"/>
      <bundles  dir="${target}/plugins"    includes="*.jar"/>
    </p2.publish.featuresAndBundles>
  </target>
</project>