]> git.sesse.net Git - vlc/blobdiff - bindings/java/README
Fix changelog distribution
[vlc] / bindings / java / README
index 76732ce5065936f363c10ccfc6116632c4d8fdf7..231d8d23d4e651de97899a7580badcc173b02d78 100644 (file)
@@ -1,45 +1,40 @@
-$Id$
+
             First of all, this is a *developers* only version
 
 
-Usage
------
+How to compile JVLC
+-------------------
+
+ JVLC uses maven2 as a project the management tool, take a look at
+
+http://maven.apache.org
+
+ to download and for general instructions on how to use it.
 
- In order to use these bindings you have to compile vlc from source. I
-recommend you to take the latest version from videolan svn repository
-by doing:
+ To compile the project, run from the bindings/java folder:
 
-svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
+mvn install
 
bootstrap and configure. At the configure give the command:
To import the jvlc project into the eclipse IDE:
 
-./configure --enable-mozilla && make && make install
+mvn eclipse:eclipse
 
- to enable compilation of _pic version of libraries. If you give a
-prefix be sure to change the PREFIX variable in the Makefile from
- /usr/local to your prefix.
+ and then import as an existing Java project.
 
- Once you've done with vlc you can run make in jvlc directory. Be sure
-you have gcj, gcjh and if you want to use the SUN Java compiler,
-change the Makefile accordingly. You will probably need to change also 
 
-JINCLUDES
-LIBJINCLUDES
+How to run the sample client
+----------------------------
 
- In the next releases I will automate this process.
+ 1. mvn install (in bindings/java)
 
- To run JVLC issue:
+ 2. mvn package exec:java (in bindings/java/samples/client)
 
-java -Djava.library.path=. VlcClient
 
- Be sure your ldconfig can find libjawt.so and libmawt.so or you will
-get linking errors when you run the program.
+How to create the jvlc site
+---------------------------
 
- To try the SWT version of the player, issue:
+ 1. mvn site
 
-javac -cp /usr/share/java/swt-gtk.jar:. SWTUglyPlayer.java
-java -cp /usr/share/java/swt-gtk.jar:. -Djava.library.path=.:/usr/lib/jni SWTUglyPlayer
 
- using the appropriate paths.
 
  Happy playing.