Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add ceylon-compiler as a dependency.

We now use some utility methods from ceylonc to create RepositoryManager
instances.
  • Loading branch information...
commit f00a4b3268a6e7f06bf2ff612d815107f7d98205 1 parent a9fa6b3
@chochos chochos authored
Showing with 12 additions and 0 deletions.
  1. +2 −0  .classpath
  2. +1 −0  build.properties
  3. +9 −0 build.xml
View
2  .classpath
@@ -8,5 +8,7 @@
<classpathentry combineaccessrules="false" kind="src" path="/ceylon-spec"/>
<classpathentry kind="lib" path="/ceylon-spec/lib/antlr-3.4-complete.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/ceylon-module-resolver"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/ceylon-compiler"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
View
1  build.properties
@@ -2,3 +2,4 @@
module.jscompiler.version=0.3
module.com.redhat.ceylon.typechecker.version=0.3
module.com.redhat.ceylon.module-resolver.version=0.3
+module.com.redhat.ceylon.compiler.version=0.3
View
9 build.xml
@@ -34,12 +34,17 @@
<property name="ceylon.module-resolver.dir" value="com/redhat/ceylon/module-resolver/${module.com.redhat.ceylon.module-resolver.version}" />
<property name="ceylon.module-resolver.jar" value="${ceylon.module-resolver.dir}/com.redhat.ceylon.module-resolver-${module.com.redhat.ceylon.module-resolver.version}.jar" />
<property name="ceylon.module-resolver.lib" value="${ceylon.repo.dir}/${ceylon.module-resolver.jar}" />
+ <property name="ceylon.compiler.loc" value="${basedir}/../ceylon-compiler" />
+ <property name="ceylon.compiler.dir" value="com/redhat/ceylon/compiler/java/${module.com.redhat.ceylon.compiler.version}" />
+ <property name="ceylon.compiler.jar" value="${ceylon.compiler.dir}/com.redhat.ceylon.compiler.java-${module.com.redhat.ceylon.compiler.version}.jar" />
+ <property name="ceylon.compiler.lib" value="${ceylon.repo.dir}/${ceylon.compiler.jar}" />
<path id="test.run.classpath">
<fileset dir="${ceylon.typechecker.loc}/lib">
<include name="**/*.jar" />
</fileset>
<pathelement location="${ceylon.module-resolver.lib}" />
+ <pathelement location="${ceylon.compiler.lib}" />
<pathelement location="${ceylon.typechecker.lib}" />
<pathelement location="${build.classes}" />
<pathelement location="${build.test-classes}" />
@@ -61,6 +66,8 @@
<include name="**/*.jar" />
</fileset>
<pathelement location="${ceylon.typechecker.lib}" />
+ <pathelement location="${ceylon.module-resolver.lib}" />
+ <pathelement location="${ceylon.compiler.lib}" />
</classpath>
<include name="**/*.java" />
</javac>
@@ -91,6 +98,8 @@
<javac srcdir="${test-src}" destdir="${build.test-classes}" debug="true">
<classpath>
<pathelement location="${ceylon.typechecker.lib}" />
+ <pathelement location="${ceylon.module-resolver.lib}" />
+ <pathelement location="${ceylon.compiler.lib}" />
<pathelement location="${build.classes}" />
<fileset dir="lib">
<include name="**/*.jar" />
Please sign in to comment.
Something went wrong with that request. Please try again.