forked from howech/jruby-flume
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hitoshi ASAI
committed
Jun 20, 2011
1 parent
9e5bad8
commit c34b621
Showing
11 changed files
with
99 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
build | ||
nbproject | ||
nbproject | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.infochimps</groupId> | ||
<artifactId>flume.jruby</artifactId> | ||
<packaging>jar</packaging> | ||
<version>1.0-SNAPSHOT</version> | ||
|
||
<name>flume.jruby</name> | ||
|
||
<repositories> | ||
<repository> | ||
<id>releases</id> | ||
<name>Cloudera Releases</name> | ||
<url>https://repository.cloudera.com/content/repositories/releases</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.cloudera.flume</groupId> | ||
<artifactId>flume</artifactId> | ||
<version>0.9.3-cdh3u0</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-clean-plugin</artifactId> | ||
<configuration> | ||
<filesets> | ||
<fileset> | ||
<directory>dist</directory> | ||
<followSymlinks>false</followSymlinks> | ||
</fileset> | ||
</filesets> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<source>1.6</source> | ||
<target>1.6</target> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<finalName>jruby-flume</finalName> | ||
<outputDirectory>dist</outputDirectory> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
======================== | ||
BUILD OUTPUT DESCRIPTION | ||
======================== | ||
|
||
When you build an Java application project that has a main class, the IDE | ||
automatically copies all of the JAR | ||
files on the projects classpath to your projects dist/lib folder. The IDE | ||
also adds each of the JAR files to the Class-Path element in the application | ||
JAR files manifest file (MANIFEST.MF). | ||
|
||
To run the project from the command line, go to the dist folder and | ||
type the following: | ||
|
||
java -jar "jruby-flume.jar" | ||
|
||
To distribute this project, zip up the dist folder (including the lib folder) | ||
and distribute the ZIP file. | ||
|
||
Notes: | ||
|
||
* If two JAR files on the project classpath have the same name, only the first | ||
JAR file is copied to the lib folder. | ||
* Only JAR files are copied to the lib folder. | ||
If the classpath contains other types of files or folders, none of the | ||
classpath elements are copied to the lib folder. In such a case, | ||
you need to copy the classpath elements to the lib folder manually after the build. | ||
* If a library on the projects classpath also has a Class-Path element | ||
specified in the manifest,the content of the Class-Path element has to be on | ||
the projects runtime path. | ||
* To set a main class in a standard Java project, right-click the project node | ||
in the Projects window and choose Properties. Then click Run and enter the | ||
class name in the Main Class field. Alternatively, you can manually type the | ||
class name in the manifest Main-Class element. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.