view eclipse/com.redhat.thermostat.eclipse.test.deps.feature/feature.xml @ 1075:be3470750169

Eclipse target platform definition This commit provides a target definition file that enables Eclipse client developers to install all required dependencies into their workspace in a single click. This commit adds a feature for all of our bundle-wrapped test dependencies. This is necessary to include the corresponding p2 repository in our target definition file as a software source. This feature required some changes to our Makefile, since Tycho was unable to resolve the feature as is. Now the Makefile builds all pom-first dependencies first, so core Thermostat and our bundle-wrapped deps. Then all manifest-first modules are built in a single reactor, this includes the p2 repositories. Another small fix I've added is a eclipse-root property to the various Eclipse POM files. I had noticed that different nesting depths caused projects not to be able to find our p2 repositories that are referenced using a relative path. This commit also removes the previous Fedora-specific target definition file, which should be obsoleted by this new general-purpose one. I have renamed the native location for the Keyring wrapper lib from linux_x86-64 to linux_x86_64. Eclipse's ${target.arch} variable produces x86_64, which will make it easier for documentation going forward. Reviewed-by: jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-April/006357.html PR1387
author Elliott Baron <ebaron@redhat.com>
date Thu, 25 Apr 2013 11:28:32 -0400
parents
children ad73c8da51a9
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="com.redhat.thermostat.eclipse.test.deps.feature"
      label="Thermostat Eclipse Test Dependencies"
      version="0.8.0.qualifier"
      provider-name="Red Hat Inc.">

   <description url="http://icedtea.classpath.org/thermostat">
      Plug-ins necessary to run the Thermostat Eclipse client tests.
   </description>

   <copyright url="http://icedtea.classpath.org/thermostat">
      Copyright 2012, 2013 Red Hat, Inc.
   </copyright>

   <license url="http://www.gnu.org/licenses/">
      Copyright 2012, 2013 Red Hat, Inc.

This file is part of Thermostat.

Thermostat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2, or (at your
option) any later version.

Thermostat is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with Thermostat; see the file COPYING.  If not see
&lt;http://www.gnu.org/licenses/&gt;.

Linking this code with other modules is making a combined work
based on this code.  Thus, the terms and conditions of the GNU
General Public License cover the whole combination.

As a special exception, the copyright holders of this code give
you permission to link this code with independent modules to
produce an executable, regardless of the license terms of these
independent modules, and to copy and distribute the resulting
executable under terms of your choice, provided that you also
meet, for each linked independent module, the terms and conditions
of the license of that module.  An independent module is a module
which is not derived from or based on this code.  If you modify
this code, you may extend this exception to your version of the
library, but you are not obligated to do so.  If you do not wish
to do so, delete this exception statement from your version.
   </license>

   <requires>
      <import plugin="org.eclipse.orbit.mongodb" version="2.7.3" match="greaterOrEqual"/>
      <import plugin="org.eclipse.osgi"/>
      <import plugin="org.apache.commons.beanutils" version="1.8.0" match="greaterOrEqual"/>
      <import plugin="org.apache.commons.cli" version="1.2.0" match="greaterOrEqual"/>
   </requires>

   <plugin
         id="com.redhat.thermostat.bundles.org.hamcrest.core"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

   <plugin
         id="com.redhat.thermostat.bundles.org.mockito.mockito-core"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

   <plugin
         id="com.redhat.thermostat.bundles.org.objenesis"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

</feature>