Added sqlite-jbdc-3.7.2.jar and javadocs to ant build.

This commit is contained in:
Winston Li 2014-11-17 13:29:26 +00:00
parent eb8dccc151
commit 2a02ed466a
6 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="sqlite-jdbc-3.7.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/libs/sqlite-jdbc-3.7.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/libs/sqlite-jdbc-3.7.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/libs/sqlite-jdbc-3.7.2.jar!/" />
</SOURCES>
</library>
</component>

View file

@ -95,6 +95,10 @@
<path id="library.slf4j-nop-1.7.7.classpath">
<pathelement location="${basedir}/libs/slf4j-nop-1.7.7.jar"/>
</path>
<path id="library.sqlite-jdbc-3.7.2.classpath">
<pathelement location="${basedir}/libs/sqlite-jdbc-3.7.2.jar"/>
</path>
<!-- Modules -->
@ -126,6 +130,7 @@
<path refid="library.async-http-client-1.8.14.classpath"/>
<path refid="library.slf4j-api-1.7.7.classpath"/>
<path refid="library.slf4j-nop-1.7.7.classpath"/>
<path refid="library.sqlite-jdbc-3.7.2.classpath"/>
</path>
<path id="writelatex-git-bridge.runtime.production.module.classpath">
@ -141,6 +146,7 @@
<path refid="library.async-http-client-1.8.14.classpath"/>
<path refid="library.slf4j-api-1.7.7.classpath"/>
<path refid="library.slf4j-nop-1.7.7.classpath"/>
<path refid="library.sqlite-jdbc-3.7.2.classpath"/>
</path>
<path id="writelatex-git-bridge.module.classpath">
@ -156,6 +162,7 @@
<path refid="library.async-http-client-1.8.14.classpath"/>
<path refid="library.slf4j-api-1.7.7.classpath"/>
<path refid="library.slf4j-nop-1.7.7.classpath"/>
<path refid="library.sqlite-jdbc-3.7.2.classpath"/>
</path>
<path id="writelatex-git-bridge.runtime.module.classpath">
@ -172,6 +179,7 @@
<path refid="library.async-http-client-1.8.14.classpath"/>
<path refid="library.slf4j-api-1.7.7.classpath"/>
<path refid="library.slf4j-nop-1.7.7.classpath"/>
<path refid="library.sqlite-jdbc-3.7.2.classpath"/>
</path>
@ -277,6 +285,7 @@
<zipfileset excludes="META-INF/**/*" src="${basedir}/libs/async-http-client-1.8.14.jar"/>
<zipfileset excludes="META-INF/**/*" src="${basedir}/libs/slf4j-api-1.7.7.jar"/>
<zipfileset excludes="META-INF/**/*" src="${basedir}/libs/slf4j-nop-1.7.7.jar"/>
<zipfileset excludes="META-INF/**/*" src="${basedir}/libs/sqlite-jdbc-3.7.2.jar"/>
</jar>
<copy file="${temp.jar.path.writelatex-git-bridge.jar}" tofile="${artifact.temp.output.writelatex-git-bridge:jar}/writelatex-git-bridge.jar"/>
</target>

Binary file not shown.

Binary file not shown.

View file

@ -1,5 +1,6 @@
package uk.ac.ic.wlgitbridge.writelatex.model;
import org.sqlite.JDBC;
import uk.ac.ic.wlgitbridge.bridge.CandidateSnapshot;
import uk.ac.ic.wlgitbridge.bridge.CandidateSnapshotCallback;
import uk.ac.ic.wlgitbridge.bridge.RawDirectoryContents;
@ -20,6 +21,7 @@ import java.util.Map;
*/
public class WLDataModel implements CandidateSnapshotCallback {
private final JDBC jbdc = null;
private final Map<String, WLProject> projects;
private final WLFileStore fileStore;

View file

@ -19,6 +19,7 @@
<orderEntry type="library" name="async-http-client-1.8.14" level="project" />
<orderEntry type="library" name="slf4j-api-1.7.7" level="project" />
<orderEntry type="library" name="slf4j-nop-1.7.7" level="project" />
<orderEntry type="library" name="sqlite-jdbc-3.7.2" level="project" />
</component>
</module>