Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
osgi-compendium
osgi-compendium-build.xml
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File osgi-compendium-build.xml of Package osgi-compendium
<?xml version="1.0" encoding="UTF-8"?> <project name="osgi.cmpn" default="package" basedir="."> <!-- ====================================================================== --> <!-- Build environment properties --> <!-- ====================================================================== --> <property file="build.properties"/> <property name="compiler.source" value="1.6"/> <property name="compiler.target" value="${compiler.source}"/> <property name="project.artifactId" value="osgi.cmpn"/> <property name="project.groupId" value="org.osgi"/> <property name="project.version" value="6.0.0"/> <property name="project.description" value="OSGi Compendium Release 6, Interfaces and Classes for use in compiling bundles."/> <property name="project.organization.name" value="OSGi Alliance"/> <property name="build.finalName" value="${project.artifactId}-${project.version}"/> <property name="build.dir" value="target"/> <property name="build.outputDir" value="${build.dir}/classes"/> <property name="build.srcDir" value="src/main/java"/> <property name="build.resourceDir" value="src/main/resources"/> <property name="reporting.outputDirectory" value="${build.dir}/site"/> <!-- ====================================================================== --> <!-- Defining classpaths --> <!-- ====================================================================== --> <path id="build.classpath"> <fileset dir="lib"> <include name="**/*.jar"/> </fileset> </path> <!-- ====================================================================== --> <!-- Cleaning up target --> <!-- ====================================================================== --> <target name="clean" description="Clean the output directory"> <delete dir="${build.dir}"/> </target> <!-- ====================================================================== --> <!-- Compilation target --> <!-- ====================================================================== --> <target name="compile" description="Compile the code"> <mkdir dir="${build.outputDir}"/> <javac destdir="${build.outputDir}" nowarn="false" debug="true" encoding="UTF-8" optimize="false" deprecation="true" target="${compiler.target}" verbose="false" fork="false" source="${compiler.source}"> <src> <pathelement location="${build.srcDir}"/> </src> <classpath refid="build.classpath"/> </javac> <copy todir="${build.outputDir}"> <fileset dir="${build.resourceDir}"/> </copy> </target> <!-- ====================================================================== --> <!-- Javadoc target --> <!-- ====================================================================== --> <target name="javadoc" description="Generates the Javadoc of the application"> <javadoc sourcepath="${build.srcDir}" packagenames="*" destdir="${reporting.outputDirectory}/apidocs" access="protected" source="${compiler.source}" verbose="false" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" encoding="UTF-8" linksource="false" breakiterator="false"> <classpath refid="build.classpath"/> </javadoc> </target> <!-- ====================================================================== --> <!-- Package target --> <!-- ====================================================================== --> <target name="package" depends="compile" description="Package the application"> <jar jarfile="${build.dir}/${build.finalName}.jar" compress="true" index="false" basedir="${build.outputDir}" excludes="**/package.html"> <manifest> <attribute name="Bundle-Description" value="${project.description}"/> <attribute name="Bundle-ManifestVersion" value="2"/> <attribute name="Bundle-Name" value="${project.artifactId}"/> <attribute name="Bundle-SymbolicName" value="${project.artifactId}"/> <attribute name="Bundle-Vendor" value="${project.organization.name}"/> <attribute name="Bundle-Version" value="${project.version}"/> <attribute name="Export-Package" value="org.osgi.util.xml;version="1.0.1";uses:="javax.xml.parsers,org.osgi.framework",org.osgi.util.function;version="1.0",org.osgi.util.promise;version="1.0";uses:="org.osgi.util.function",org.osgi.util.position;version="1.0.1";uses:="org.osgi.util.measurement",org.osgi.util.measurement;version="1.0.1",org.osgi.namespace.contract;version="1.0";uses:="org.osgi.resource",org.osgi.namespace.extender;version="1.0.1";uses:="org.osgi.resource",org.osgi.namespace.service;version="1.0";uses:="org.osgi.resource",org.osgi.application;version="1.0";uses:="org.osgi.framework",org.osgi.service.async;version="1.0";uses:="org.osgi.framework,org.osgi.util.promise",org.osgi.service.async.delegate;version="1.0";uses:="org.osgi.util.promise",org.osgi.service.provisioning;version="1.2",org.osgi.service.useradmin;version="1.1";uses:="org.osgi.framework",org.osgi.service.subsystem;version="1.1";uses:="org.osgi.framework,org.osgi.resource",org.osgi.service.wireadmin;version="1.0.1";uses:="org.osgi.framework",org.osgi.service.rest;version="1.0.0",org.osgi.service.rest.client;version="1.0.0";uses:="org.osgi.framework.dto,org.osgi.framework.startlevel.dto",org.osgi.service.log;version="1.3";uses:="org.osgi.framework",org.osgi.service.device;version="1.1";uses:="org.osgi.framework",org.osgi.service.dmt;version="2.0.1",org.osgi.service.dmt.spi;version="2.0";uses:="org.osgi.service.dmt",org.osgi.service.dmt.notification.spi;version="2.0";uses:="org.osgi.service.dmt.notification",org.osgi.service.dmt.notification;version="2.0";uses:="org.osgi.service.dmt",org.osgi.service.dmt.security;version="2.0",org.osgi.service.component.annotations;version="1.3",org.osgi.service.component;version="1.3";uses:="org.osgi.framework",org.osgi.service.component.runtime;version="1.3";uses:="org.osgi.framework,org.osgi.service.component.runtime.dto,org.osgi.util.promise",org.osgi.service.component.runtime.dto;version="1.3";uses:="org.osgi.dto,org.osgi.framework.dto",org.osgi.service.repository;version="1.1";uses:="org.osgi.resource,org.osgi.util.promise",org.osgi.service.coordinator;version="1.0.2";uses:="org.osgi.framework",org.osgi.service.jpa;version="1.0";uses:="javax.persistence",org.osgi.service.http.context;version="1.0";uses:="javax.servlet.http,org.osgi.framework",org.osgi.service.http.whiteboard;version="1.0",org.osgi.service.http;version="1.2.1";uses:="javax.servlet,javax.servlet.http",org.osgi.service.http.runtime;version="1.0";uses:="org.osgi.service.http.runtime.dto",org.osgi.service.http.runtime.dto;version="1.0";uses:="org.osgi.dto,org.osgi.framework.dto",org.osgi.service.monitor;version="1.0",org.osgi.service.deploymentadmin;version="1.1";uses:="org.osgi.framework",org.osgi.service.deploymentadmin.spi;version="1.0.1";uses:="org.osgi.framework,org.osgi.service.deploymentadmin",org.osgi.service.event;version="1.3.1";uses:="org.osgi.framework",org.osgi.service.prefs;version="1.1.1",org.osgi.service.jdbc;version="1.0";uses:="javax.sql",org.osgi.service.metatype.annotations;version="1.3",org.osgi.service.metatype;version="1.3";uses:="org.osgi.framework",org.osgi.service.upnp;version="1.2",org.osgi.service.jndi;version="1.0";uses:="javax.naming,javax.naming.directory",org.osgi.service.serviceloader;version="1.0";uses:="org.osgi.resource",org.osgi.service.resolver;version="1.0.1";uses:="org.osgi.resource",org.osgi.service.application;version="1.1";uses:="org.osgi.framework",org.osgi.service.remoteserviceadmin;version="1.1.0";uses:="org.osgi.framework",org.osgi.service.remoteserviceadmin.namespace;version="1.0.0";uses:="org.osgi.resource",org.osgi.service.blueprint.reflect;version="1.0.1",org.osgi.service.blueprint.container;version="1.0.2";uses:="org.osgi.framework,org.osgi.service.blueprint.reflect",org.osgi.service.cm;version="1.5";uses:="org.osgi.framework""/> <attribute name="Import-Package" value="javax.naming,javax.naming.directory,javax.persistence;version="[3.0,4)",javax.servlet;version="[3.1,4)",javax.servlet.http;version="[3.1,4)",javax.sql,javax.xml.parsers,org.osgi.dto;version="[1.0,2)",org.osgi.framework;version="[1.8,2)",org.osgi.framework.dto;version="[1.8,2)",org.osgi.framework.startlevel.dto;version="[1.0,2)",org.osgi.resource;version="[1.0,2)",org.osgi.service.blueprint.reflect;version="[1.0,2)",org.osgi.service.component.runtime.dto;version="[1.3,2)",org.osgi.service.deploymentadmin;version="[1.1,2)",org.osgi.service.dmt;version="[2.0,3)",org.osgi.service.dmt.notification;version="[2.0,3)",org.osgi.service.http.runtime.dto;version="[1.0,2)",org.osgi.util.function;version="[1.0,2)",org.osgi.util.measurement;version="[1.0,2)",org.osgi.util.promise;version="[1.0,1.1)""/> <attribute name="JavaPackages-ArtifactId" value="${project.artifactId}"/> <attribute name="JavaPackages-GroupId" value="${project.groupId}"/> <attribute name="JavaPackages-Version" value="${project.version}"/> <attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/> </manifest> </jar> </target> <!-- ====================================================================== --> <!-- A dummy target for the package named after the type it creates --> <!-- ====================================================================== --> <target name="jar" depends="package" description="Builds the jar for the application"/> </project>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor