Created
May 5, 2011 14:09
-
-
Save massive/957096 to your computer and use it in GitHub Desktop.
Buildr file for Kernel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Install buildr: gem install buildr | |
# 2. Go to kernel directory | |
# 3. Run: buildr -f ~/somewhere/buildfile install / test / compile | |
# NOTE that the tests are currently forced off because otherwise compilation fails | |
repositories.remote << 'http://sirppi.relex.fi:8081/nexus/content/groups/public' | |
BUILD = [ | |
'antlr:antlr:jar:2.7.6', | |
'aopalliance:aopalliance:jar:1.0', | |
'asm:asm-attrs:jar:1.5.3', | |
'asm:asm:jar:1.5.3', | |
'aspectj:aspectjrt:jar:1.5.3', | |
'aspectj:aspectjweaver:jar:1.5.3', | |
'avalon-framework:avalon-framework:jar:4.1.3', | |
'backport-util-concurrent:backport-util-concurrent:jar:3.0', | |
'cglib:cglib:jar:2.1_3', | |
'commons-beanutils:commons-beanutils:jar:1.7.0', | |
'commons-chain:commons-chain:jar:1.1', | |
'commons-cli:commons-cli:jar:1.1', | |
'commons-collections:commons-collections:jar:3.1', | |
'commons-dbcp:commons-dbcp:jar:1.2.2', | |
'commons-digester:commons-digester:jar:1.6', | |
'commons-discovery:commons-discovery:jar:0.4', | |
'commons-io:commons-io:jar:1.4', | |
'commons-lang:commons-lang:jar:2.4', | |
'commons-logging:commons-logging:jar:1.1', | |
'commons-math:commons-math:jar:1.2', | |
'commons-net:commons-net:jar:2.0', | |
'commons-pool:commons-pool:jar:1.3', | |
'dom4j:dom4j:jar:1.6.1', | |
'javax.activation:activation:jar:1.1', | |
'javax.mail:mail:jar:1.4', | |
'javax.persistence:persistence-api:jar:1.0', | |
'javax.portlet:portlet-api:jar:1.0', | |
'javax.servlet:servlet-api:jar:2.3', | |
'javax.transaction:jta:jar:1.0.1B', | |
'org.jdom:jdom:jar:1.1', | |
'joda-time:joda-time-hibernate:jar:0.8', | |
'joda-time:joda-time:jar:1.5', | |
'org.joda:joda-primitives:jar:1.0', | |
'org.antlr:antlr-runtime:jar:3.2', | |
'cajo:cajo-patched:jar:m0.1', | |
'codehaus:janino:jar:2.6.1', | |
'codehaus:codehaus-commons-compiler:jar:2.6.1', | |
'commons-codec:commons-codec:jar:1.2', | |
# file('processor-standard/target/lib/joda-primitives-1.0.jar'), | |
#file('processor-standard/target/lib/antlr-runtime-3.2.jar'), | |
#file('processor-standard/target/lib/commons-codec-1.2.jar'), | |
#file('processor-standard/target/lib/cajo-patched-m0.1.jar'), | |
#file('processor-standard/target/lib/janino-2.6.1.jar'), | |
#file('processor-standard/target/lib/codehaus-commons-compiler-2.6.1.jar'), | |
'junit-addons:junit-addons:jar:1.4', | |
artifact('log4j:log4j:jar:1.2.14'), | |
'logkit:logkit:jar:1.0.1', | |
'myfaces:myfaces-api:jar:1.1.0', | |
'mysql:mysql-connector-java:jar:5.0.4', | |
'net.sf.ehcache:ehcache:jar:1.3.0', | |
'net.sf.jsr107cache:jsr107cache:jar:1.0', | |
'opencsv:opencsv:jar:1.7', | |
'org.apache.axis:axis-jaxrpc:jar:1.4', | |
'org.apache.axis:axis:jar:1.4', | |
'org.apache.poi:poi:jar:3.0.1-FINAL', | |
'org.dbunit:dbunit:jar:2.2', | |
'org.hibernate:hibernate-annotations:jar:3.3.0.ga', | |
'org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga', | |
'org.hibernate:hibernate:jar:3.2.5.ga', | |
'org.springframework:spring-aop:jar:2.0.7', | |
'org.springframework:spring-beans:jar:2.0.7', | |
'org.springframework:spring-context:jar:2.0.7', | |
'org.springframework:spring-core:jar:2.0.7', | |
'org.springframework:spring-dao:jar:2.0.7', | |
'org.springframework:spring-hibernate3:jar:2.0.7', | |
'org.springframework:spring-jdbc:jar:2.0.7', | |
'org.springframework:spring-mock:jar:2.0.7', | |
'org.springframework:spring-support:jar:2.0.7', | |
'poi:poi:jar:2.5.1-final-20040804', | |
'postgresql:postgresql:jar:8.2-507.jdbc3', | |
'wsdl4j:wsdl4j:jar:1.6.2', | |
'xerces:xercesImpl:jar:2.6.2', | |
'xerces:xmlParserAPIs:jar:2.6.2', | |
'xml-apis:xml-apis:jar:1.0.b2', | |
'cglib:cglib-nodep:jar:2.1_3', | |
'commons-collections:commons-collections:jar:3.2', | |
'commons-lang:commons-lang:jar:2.2'] | |
PROCESSOR_VERSION = "4.0" | |
TEST = [ | |
'ognl:ognl:jar:2.6.9', | |
'org.easymock:easymock:jar:2.3', | |
'org.easymock:easymockclassextension:jar:2.2.2', | |
'org.unitils:unitils:jar:1.0-rc-3', | |
file("processor-core/target/processor-core-#{VERSION}.jar"), | |
'junit:junit:jar:4.3.1'] | |
options.test = false | |
desc 'processor2' | |
define 'processor2' do | |
project.group = 'fi.relex.processor2' | |
project.version = PROCESSOR_VERSION | |
desc 'processor-core' | |
define 'processor-core' do | |
compile.with BUILD, TEST | |
#test.with BUILD, TEST | |
package :jar, :id => 'processor-core' | |
end | |
desc 'processor-standard' | |
define 'processor-standard' do | |
compile.with BUILD, "fi.relex.processor2:processor-core:jar:#{PROCESSOR_VERSION}" | |
package :jar, :id => 'processor-standard' | |
end | |
#desc 'processor-simulator' | |
#define 'processor-simulator' do | |
# compile.with TEST, BUILD | |
#test.with BUILD, TEST | |
# package :jar, :id => 'processor-simulator' | |
#end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment