Changeset 6815


Ignore:
Timestamp:
08/18/10 15:31:57 (9 years ago)
Author:
curtis
Message:

Add assembly for creating jar2lib JAR with dependencies. Still buggy.

Location:
branches/maven/projects/jar2lib
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/maven/projects/jar2lib/bf-cpp/gen.sh

    r6813 r6815  
     1#!/bin/bash 
     2 
     3# NB: Run "mvn assembly:assembly" first to build the complete Jar2Lib JAR file. 
     4 
    15JAR2LIB_DIR=`cd "$(dirname $0)/.." && pwd` 
    26ARTIFACT_DIR=~/code/LOCI/java/artifacts 
    37java -cp \ 
    4   "$JAR2LIB_DIR/target/"'*'":$JAR2LIB_DIR/target/dependency/"'*' \ 
     8  "$JAR2LIB_DIR/target/jar2lib-1.0-SNAPSHOT-deps.jar" \ 
    59  loci.jar2lib.Jar2Lib bfcpp "Bio-Formats C++ bindings" \ 
    610  $ARTIFACT_DIR/loci-common.jar \ 
  • branches/maven/projects/jar2lib/pom.xml

    r6806 r6815  
    4444    <plugins> 
    4545      <plugin> 
    46         <groupId>org.apache.maven.plugins</groupId> 
    4746        <artifactId>maven-jar-plugin</artifactId> 
    4847        <configuration> 
     
    5352            </manifest> 
    5453          </archive> 
     54        </configuration> 
     55      </plugin> 
     56      <plugin> 
     57        <artifactId>maven-assembly-plugin</artifactId> 
     58        <version>2.2-beta-5</version> 
     59        <configuration> 
     60          <descriptors> 
     61            <descriptor>src/main/assembly/deps.xml</descriptor> 
     62          </descriptors> 
    5563        </configuration> 
    5664      </plugin> 
Note: See TracChangeset for help on using the changeset viewer.