updated OSGi manifest headers
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11076 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
1ddbdb14cb
commit
e73c5d1fc5
38
build.xml
38
build.xml
|
@ -994,6 +994,14 @@ GENERATES A DISTRIBUTION
|
|||
<mkdir dir="${dist.current.dir}"/>
|
||||
<!-- Copy all requires libraries -->
|
||||
<mkdir dir="${dist.current.dir}/lib"/>
|
||||
<property name="ant.version.number" value="[1.6"/>
|
||||
<!-- version ::= major('.'minor('.'micro('.'qualifier)?)?)? -->
|
||||
<!-- see http://www2.osgi.org/javadoc/r4/org/osgi/framework/Version.html -->
|
||||
<propertyregex
|
||||
property="osgi.version.number" input="${version.number}"
|
||||
regexp="([^-]*)(-.*)?" select="\1"
|
||||
/>
|
||||
<echo level="verbose" message="OSGi version: ${osgi.version.number}"/>
|
||||
<jar destfile="${dist.current.dir}/lib/${comp.jar.name}">
|
||||
<fileset dir="${strap.dir}/lib/compiler"/>
|
||||
<zipfileset src="${fjbg.jar}"/>
|
||||
|
@ -1012,15 +1020,17 @@ GENERATES A DISTRIBUTION
|
|||
<attribute name="Implementation-Version" value="${version.number}"/>
|
||||
<attribute name="Implementation-Vendor" value="${vendor.name}"/>
|
||||
</section>
|
||||
<attribute name="Bundle-DocURL" value="http://www.scala-lang.org/"/>
|
||||
<attribute name="Bundle-ManifestVersion" value="2"/>
|
||||
<attribute name="Bundle-Name" value="Scala Compiler Bundle"/>
|
||||
<attribute name="Bundle-SymbolicName" value="scala_compiler"/>
|
||||
<attribute name="Bundle-Version" value="${osgi.version.number}"/>
|
||||
<attribute name="Bundle-Vendor" value="${vendor.name}"/>
|
||||
<attribute name="Export-Package" value="scala.tools.ant;version="${osgi.version.number}",scala.tools.nsc;version="${osgi.version.number}",scala.tools.nsc.ast;version="${osgi.version.number}",scala.tools.nsc.ast.parser;version="${osgi.version.number}",scala.tools.nsc.backend;version="${osgi.version.number}",scala.tools.nsc.doc;version="${osgi.version.number}",scala.tools.nsc.io;version="${osgi.version.number}",scala.tools.nsc.matching;version="${osgi.version.number}",scala.tools.nsc.models;version="${osgi.version.number}",scala.tools.nsc.symtab;version="${osgi.version.number}",scala.tools.nsc.symtab.classfile;version="${osgi.version.number}",scala.tools.nsc.symtab.clr;version="${osgi.version.number}",scala.tools.nsc.transform;version="${osgi.version.number}",scala.tools.nsc.typechecker;version="${osgi.version.number}",scala.tools.nsc.util;version="${osgi.version.number}",scala.tools.util;version="${osgi.version.number}""/>
|
||||
<attribute name="Import-Package" value="org.apachge.ant.tools;version="${ant.version.number}",org.apachge.ant.tools.taskdefs;version="${ant.version.number}",org.apachge.ant.types;version="${ant.version.number}",org.apachge.ant.tools.util;version="${ant.version.number}",org.xml.sax"/>
|
||||
<attribute name="Bundle-RequiredExecutionEnvironment" value="J2SE-1.4"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
<!-- version ::= major('.'minor('.'micro('.'qualifier)?)?)? -->
|
||||
<!-- see http://www2.osgi.org/javadoc/r4/org/osgi/framework/Version.html -->
|
||||
<propertyregex
|
||||
property="osgi.version.number" input="${version.number}"
|
||||
regexp="([^-]*)(-.*)?" select="\1"
|
||||
/>
|
||||
<echo level="verbose" message="OSGI version: ${osgi.version.number}"/>
|
||||
<jar destfile="${dist.current.dir}/lib/${lib.jar.name}">
|
||||
<fileset dir="${strap.dir}/lib/library"/>
|
||||
<fileset dir="${strap.dir}/lib/actors"/>
|
||||
|
@ -1043,9 +1053,8 @@ GENERATES A DISTRIBUTION
|
|||
<attribute name="Bundle-SymbolicName" value="scala_library"/>
|
||||
<attribute name="Bundle-Version" value="${osgi.version.number}"/>
|
||||
<attribute name="Bundle-Vendor" value="${vendor.name}"/>
|
||||
<!-- CAUTION! Do not remove superflous blanks (Ant bug) -->
|
||||
<attribute name="Export-Package" value="scala, scala.actors, scala.actors.remote, scala.collection, scala.collection.immutable, scala.collection.jcl, scala.collection.mutable, scala.compat, scala.concurrent, scala.io, scala.mobile, scala.ref, scala.reflect, scala.runtime,scala.testing, scala.text, scala.util, scala.util.automata, scala.util.grammar, scala.util.logging, scala.util.parsing, scala.util.regexp, scala.xml,scala.xml.dtd, scala.xml.factory, scala.xml.parsing, scala.xml.path, scala.xml.pull, scala.xml.transform;version="${osgi.version.number}""/>
|
||||
<attribute name="Import-Package" value="javax.xml.parsers, org.xml.sax, org.xml.sax.helpers"/>
|
||||
<attribute name="Export-Package" value="scala;version="${osgi.version.number}",scala.actors;version="${osgi.version.number}",scala.actors.remote;version="${osgi.version.number}",scala.collection;version="${osgi.version.number}",scala.collection.immutable;version="${osgi.version.number}",scala.collection.jcl;version="${osgi.version.number}",scala.collection.mutable;version="${osgi.version.number}",scala.compat;version="${osgi.version.number}",scala.concurrent;version="${osgi.version.number}",scala.io;version="${osgi.version.number}",scala.mobile;version="${osgi.version.number}",scala.ref;version="${osgi.version.number}",scala.reflect;version="${osgi.version.number}",scala.runtime;version="${osgi.version.number}",scala.testing;version="${osgi.version.number}",scala.text;version="${osgi.version.number}",scala.util;version="${osgi.version.number}",scala.util.automata;version="${osgi.version.number}",scala.util.grammar;version="${osgi.version.number}",scala.util.logging;version="${osgi.version.number}",scala.util.parsing;version="${osgi.version.number}",scala.util.regexp;version="${osgi.version.number}",scala.xml;version="${osgi.version.number}",scala.xml.dtd;version="${osgi.version.number}",scala.xml.factory;version="${osgi.version.number}",scala.xml.parsing;version="${osgi.version.number}",scala.xml.path;version="${osgi.version.number}",scala.xml.pull;version="${osgi.version.number}",scala.xml.transform;version="${osgi.version.number}""/>
|
||||
<attribute name="Import-Package" value="javax.xml.parsers,org.xml.sax,org.xml.sax.helpers"/>
|
||||
<attribute name="Bundle-RequiredExecutionEnvironment" value="J2SE-1.4"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
|
@ -1064,6 +1073,15 @@ GENERATES A DISTRIBUTION
|
|||
<attribute name="Implementation-Version" value="${version.number}"/>
|
||||
<attribute name="Implementation-Vendor" value="${vendor.name}"/>
|
||||
</section>
|
||||
<attribute name="Bundle-DocURL" value="http://www.scala-lang.org/"/>
|
||||
<attribute name="Bundle-ManifestVersion" value="2"/>
|
||||
<attribute name="Bundle-Name" value="Scala DBC Library Bundle"/>
|
||||
<attribute name="Bundle-SymbolicName" value="scala_dbc_library"/>
|
||||
<attribute name="Bundle-Version" value="${osgi.version.number}"/>
|
||||
<attribute name="Bundle-Vendor" value="${vendor.name}"/>
|
||||
<attribute name="Export-Package" value="scala.dbc;version="${osgi.version.number}",scala.dbc.datatype;version="${osgi.version.number}",scala.dbc.exception;version="${osgi.version.number}",scala.dbc.result;version="${osgi.version.number}",scala.dbc.statement;version="${osgi.version.number}",scala.dbc.statement.expression;version="${osgi.version.number}",scala.dbc.syntax;version="${osgi.version.number}",scala.dbc.value;version="${osgi.version.number}",scala.dbc.vendor;version="${osgi.version.number}""/>
|
||||
<attribute name="Import-Package" value="scala;version="${osgi.version.number}",scala.compat;version="${osgi.version.number}""/>
|
||||
<attribute name="Bundle-RequiredExecutionEnvironment" value="J2SE-1.4"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
|
||||
|
|
Loading…
Reference in New Issue