Changeset 4089ed51216810726a0ceeb48272ff42b247e67d

Show
Ignore:
Timestamp:
03/13/08 22:52:31 (4 months ago)
Author:
Filippo Carone <littlejohn@videolan.org>
git-committer:
Filippo Carone <littlejohn@videolan.org> 1205445151 +0100
git-parent:

[670c37bdcf25ed7c5bdc04c6250fb380f3a8debf]

git-author:
Filippo Carone <littlejohn@videolan.org> 1205445151 +0100
Message:

basic instructions for maven2

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bindings/java/README

    rdaa85a7 r4089ed5  
    66-------------- 
    77 
    8  In order to use these bindings you have to compile vlc from source, be sure 
    9 to use the latest git version (see http://wiki.videolan.org/Git for instructions 
    10 on how to get the latest vlc version). 
     8 JVLC uses maven2 as a project the management tool, take a look at 
    119 
    12  JVLC depends on JNA, you can download JNA from http://jna.dev.java.net . 
     10http://maven.apache.org 
    1311 
    14  JVLC is developed using the Sun JDK version 6, but version 5 should be fine too
     12 to download and for general instructions on how to use it
    1513 
    16  Until the build.xml will be ready, you may compile jvlc issueing from the bindings 
    17 java folder: 
     14 To compile the project, run from the bindings/java folder: 
    1815 
    19 mkdir output 
    20 javac -d output -cp <path-to>/jna.jar -g org/videolan/jvlc/internal/*.java org/videolan/jvlc/event/*.java  org/videolan/jvlc/*.java VLCExample.java VlcClient.java 
     16mvn install 
    2117 
    22  where <path-to> is the folder where the file jna.jar is contained 
    23  and in the output folder you'll find the compiled classes. 
     18 To import the jvlc project into the eclipse IDE: 
    2419 
    25  You may also import jvlc in eclipse running the createEclipseProject.sh script. 
     20mvn eclipse:eclipse 
    2621 
     22 and the import as an existing Java project. 
    2723 
    28 Running JVLC Example 
    29 -------------------- 
    30  
    31  To run a Java VLC example issue (be sure you have an a.avi and a.mp3 files 
    32 in your user.dir folder): 
    33  
    34 java -cp .:<path-to>jna.jar -Djna.library.path=/usr/local/lib VLCExample 
    35  
    36  
    37 (if you have specified a prefix in configure, change /usr/local/lib to  
    38 PREFIX/lib) 
    3924 
    4025