libvlc events related functions renamed
[vlc/bindings/jvlc.git] / createEclipseProject.sh
1 #!/bin/sh
2
3 mkdir -p jvlc-eclipse/src/main/java
4 mkdir jvlc-eclipse/bin
5
6 echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > jvlc-eclipse/.classpath
7 echo "<classpath>"  >> jvlc-eclipse/.classpath
8 echo "  <classpathentry kind=\"src\" path=\"src/main/java\"/>" >> jvlc-eclipse/.classpath
9 echo "  <classpathentry kind=\"con\" path=\"org.eclipse.jdt.launching.JRE_CONTAINER\"/>" >> jvlc-eclipse/.classpath
10 echo "  <classpathentry kind=\"output\" path=\"bin\"/>" >> jvlc-eclipse/.classpath
11 echo "</classpath>" >> jvlc-eclipse/.classpath
12
13
14 echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > jvlc-eclipse/.project
15 echo "<projectDescription>" >> jvlc-eclipse/.project
16 echo "  <name>jvlc-eclipse</name>" >> jvlc-eclipse/.project
17 echo "  <comment></comment>" >> jvlc-eclipse/.project
18 echo "  <projects>" >> jvlc-eclipse/.project
19 echo "  </projects>" >> jvlc-eclipse/.project
20 echo "  <buildSpec>" >> jvlc-eclipse/.project
21 echo "          <buildCommand>" >> jvlc-eclipse/.project
22 echo "                  <name>org.eclipse.jdt.core.javabuilder</name>" >> jvlc-eclipse/.project
23 echo "                  <arguments>" >> jvlc-eclipse/.project
24 echo "                  </arguments>" >> jvlc-eclipse/.project
25 echo "          </buildCommand>" >> jvlc-eclipse/.project
26 echo "          <buildCommand>" >> jvlc-eclipse/.project
27 echo "                  <name>org.eclipse.pde.ManifestBuilder</name>" >> jvlc-eclipse/.project
28 echo "                  <arguments>" >> jvlc-eclipse/.project
29 echo "                  </arguments>" >> jvlc-eclipse/.project
30 echo "          </buildCommand>" >> jvlc-eclipse/.project
31 echo "          <buildCommand>" >> jvlc-eclipse/.project
32 echo "                  <name>org.eclipse.pde.SchemaBuilder</name>" >> jvlc-eclipse/.project
33 echo "                  <arguments>" >> jvlc-eclipse/.project
34 echo "                  </arguments>" >> jvlc-eclipse/.project
35 echo "          </buildCommand>" >> jvlc-eclipse/.project
36 echo "          <buildCommand>" >> jvlc-eclipse/.project
37 echo "                  <name>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</name>" >> jvlc-eclipse/.project
38 echo "                  <arguments>" >> jvlc-eclipse/.project
39 echo "                  </arguments>" >> jvlc-eclipse/.project
40 echo "          </buildCommand>" >> jvlc-eclipse/.project
41 echo "  </buildSpec>" >> jvlc-eclipse/.project
42 echo "  <natures>" >> jvlc-eclipse/.project
43 echo "          <nature>org.eclipse.jdt.core.javanature</nature>" >> jvlc-eclipse/.project
44 echo "  </natures>" >> jvlc-eclipse/.project
45 echo "</projectDescription>" >> jvlc-eclipse/.project
46
47 cd jvlc-eclipse/src/main/java
48 ln -s ../../../../org
49 ln -s ../../../../VlcClient.java
50 ln -s ../../../../VLCExample.java
51
52 echo "Project created in jvlc-eclipse folder. Import as existing project into eclipse."
53
54