Skip to main content
summaryrefslogtreecommitdiffstats
blob: 7d1fe58dd14f1530d8f10bad4fb8c6beb9f5e9ec (plain) (blame)
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
<!--
    Copyright (c) 2004, 2013 BREDEX GmbH.
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html
 -->
<project name="org.eclipse.jubula.rc.rcp.common" default="gen-lib" basedir=".">

  <property name="OrbitStorage" value="../org.eclipse.jubula.rc.common.orbit/lib" />

  <target name="gen-lib">

    <mkdir dir="lib" />
    <delete>
      <fileset dir="lib" includes="**/*"/>
    </delete>

    <copy todir="lib">
      <fileset dir="${OrbitStorage}">
        <include name="*.jar" />
      </fileset>
    </copy>

	<!--
	The "SNAPSHOT" in the include selector ensures that only the non-source
	JAR is used. Without it, the corresponding source JAR was being used,
	and it was either being used exclusively or was *overwriting* the content
	provided by the non-source JAR. This caused compilation to fail when also
	building source bundles.
	-->
    <copy todir="lib">
      <fileset dir="../org.eclipse.jubula.rc.common/target">
        <include name="org.eclipse.jubula.rc.common*SNAPSHOT.jar" />
      </fileset>
      <mergemapper to="org.eclipse.jubula.rc.common.jar"/>
    </copy>
    <copy todir="lib">
      <fileset dir="../org.eclipse.jubula.tools/target">
        <include name="org.eclipse.jubula.tools*SNAPSHOT.jar" />
      </fileset>
      <mergemapper to="org.eclipse.jubula.tools.jar"/>
    </copy>
    <copy todir="lib">
      <fileset dir="../org.eclipse.jubula.communication/target">
        <include name="org.eclipse.jubula.communication*SNAPSHOT.jar" />
      </fileset>
      <mergemapper to="org.eclipse.jubula.communication.jar"/>
    </copy>

    <!--
    The following jar files are already included in org.eclipse.jubula.tools,
    but these are only visible in OSGI context. Currently we copy
    them twice for the RCP accessor. See https://bxapps.bredex.de/bugzilla/show_bug.cgi?id=1026.
    -->
	<copy todir="lib">
          <fileset dir="../org.eclipse.jubula.tools/lib">
            <include name="xpp3*.jar" />
            <include name="xstream*.jar" />
          </fileset>
	</copy>
  </target>

</project>

Back to the top