Downloads

Skeleton Project Top

Easiest way to use COPAL is to download the skeleton project and configure it to your needs. The skeleton project is structured into 3 bundles and one parent project. The bundles are created for your context publishers, processors, and listeners and are respectively named as this. Lastly, Logback is used for logging and and its configurations file is logback.xml located in parent's main directory.

Things you will need to update:

  1. Set name of your project in parent's, publishers', processors', and listeners' pom.xml files.
  2. Set groupID and artifactID of your project in parent's pom.xml file.
  3. Set groupID and artifactID of parent project in publishers', processors', and listeners' pom.xml files.
  4. Set full paths to BundleActivator classes for publishers', processors', and listeners' bundles in their respective pom.xml files.
  5. Optionally, change version number in parent's pom.xml file and consequently in parent's section of publishers', processors', and listeners' pom.xml files.
  6. Run mvn install to update MANIFEST.MF files with new values.
  7. Optionally, run mvn install pax:run to start an instance of Equinox OSGi framework with COPAL and your bundles installed and started.

Binaries Top

Binaries can be downloaded from the InfoSys Maven repository or, if you use Maven for building your project, you can define COPAL packages as dependencies in your pom.xml file:

<project>
  ...
  <repositories>
    ...
    <repository>
      <id>infosys.tuwien.ac.at</id>
      <name>Maven Repository @ InfoSys.TUWien.ac.at</name>
      <url>http://www.infosys.tuwien.ac.at/maven/repo/</url>
    </repository>
  </repositories>
  ...
  <dependencies>
    <dependency>
      <groupId>sm4all.copal</groupId>
      <artifactId>api</artifactId>
      <version>0.3.1</version>
    </dependency>
    <dependency>
      <groupId>sm4all.copal</groupId>
      <artifactId>core</artifactId>
      <version>0.3.1</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>sm4all.copal</groupId>
      <artifactId>esper</artifactId>
      <version>0.3.1</version>
      <scope>runtime</scope>
    </dependency>
  </dependencies>
  ...
</project>

Sources Top

Source can be previewed or downloaded from the InfoSys Maven repository as jar archives.

JavaDoc Top

JavaDoc can be previewed or downloaded from the InfoSys Maven repository as jar archives.