createEclipseProject.sh 2.24 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/sh

mkdir -p jvlc-eclipse/src
mkdir jvlc-eclipse/bin

echo "<?xml version="1.0" encoding="UTF-8"?>" > jvlc-eclipse/.classpath
echo "<classpath>"  >> jvlc-eclipse/.classpath
echo "	<classpathentry kind="src" path="src"/>" >> jvlc-eclipse/.classpath
echo "	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>" >> jvlc-eclipse/.classpath
echo "	<classpathentry kind="output" path="bin"/>" >> jvlc-eclipse/.classpath
echo "</classpath>" >> jvlc-eclipse/.classpath


echo "<?xml version="1.0" encoding="UTF-8"?>" > jvlc-eclipse/.project
echo "<projectDescription>" >> jvlc-eclipse/.project
echo "	<name>jvlc-eclipse</name>" >> jvlc-eclipse/.project
echo "	<comment></comment>" >> jvlc-eclipse/.project
echo "	<projects>" >> jvlc-eclipse/.project
echo "	</projects>" >> jvlc-eclipse/.project
echo "	<buildSpec>" >> jvlc-eclipse/.project
echo "		<buildCommand>" >> jvlc-eclipse/.project
echo "			<name>org.eclipse.jdt.core.javabuilder</name>" >> jvlc-eclipse/.project
echo "			<arguments>" >> jvlc-eclipse/.project
echo "			</arguments>" >> jvlc-eclipse/.project
echo "		</buildCommand>" >> jvlc-eclipse/.project
echo "		<buildCommand>" >> jvlc-eclipse/.project
echo "			<name>org.eclipse.pde.ManifestBuilder</name>" >> jvlc-eclipse/.project
echo "			<arguments>" >> jvlc-eclipse/.project
echo "			</arguments>" >> jvlc-eclipse/.project
echo "		</buildCommand>" >> jvlc-eclipse/.project
echo "		<buildCommand>" >> jvlc-eclipse/.project
echo "			<name>org.eclipse.pde.SchemaBuilder</name>" >> jvlc-eclipse/.project
echo "			<arguments>" >> jvlc-eclipse/.project
echo "			</arguments>" >> jvlc-eclipse/.project
echo "		</buildCommand>" >> jvlc-eclipse/.project
echo "		<buildCommand>" >> jvlc-eclipse/.project
echo "			<name>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</name>" >> jvlc-eclipse/.project
echo "			<arguments>" >> jvlc-eclipse/.project
echo "			</arguments>" >> jvlc-eclipse/.project
echo "		</buildCommand>" >> jvlc-eclipse/.project
echo "	</buildSpec>" >> jvlc-eclipse/.project
echo "	<natures>" >> jvlc-eclipse/.project
echo "		<nature>org.eclipse.jdt.core.javanature</nature>" >> jvlc-eclipse/.project
echo "	</natures>" >> jvlc-eclipse/.project
echo "</projectDescription>" >> jvlc-eclipse/.project

cd jvlc-eclipse/src
ln -s ../../org