Moved API classes into a separate project to enforce dependency rules.

This commit is contained in:
akwizgran
2012-12-05 22:19:12 +00:00
parent 5204e0b907
commit f5626bee05
124 changed files with 106 additions and 27 deletions

View File

@@ -5,6 +5,7 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry combineaccessrules="false" kind="src" path="/briar-core"/>
<classpathentry kind="lib" path="/briar-core/libs/guice-3.0-no_aop.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/briar-api"/>
<classpathentry kind="lib" path="/briar-api/libs/guice-3.0-no_aop.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>

8
briar-api/.classpath Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="lib" path="libs/android.jar"/>
<classpathentry kind="lib" path="libs/guice-3.0-no_aop.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

2
briar-api/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
bin
build

17
briar-api/.project Normal file
View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>briar-api</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

21
briar-api/src/build.xml Normal file
View File

@@ -0,0 +1,21 @@
<project name='briar-api' default='compile'>
<fileset id='api-jars' dir='../libs'>
<include name='*.jar'/>
</fileset>
<path id='api-classes'>
<pathelement location='../build'/>
</path>
<target name='clean'>
<delete dir='../build'/>
</target>
<target name='compile'>
<mkdir dir='../build'/>
<javac srcdir='.' destdir='../build' source='1.5'
includeantruntime='false' debug='off'>
<classpath>
<fileset refid='api-jars'/>
<path refid='api-classes'/>
</classpath>
</javac>
</target>
</project>

Some files were not shown because too many files have changed in this diff Show More