You've received a postcard
by 123greetings.com
Good day.
Your family member has sent you an ecard from 123greetings.com.
Send free ecards from 123greetings.com with your choice of colors, words and music.
Your ecard will be available with us for the next 30 days.
If you wish to keep the ecard longer, you may save it on your computer or take a print.
To view your ecard, open zip attached file.
14 years, 8 months
Hibernate SVN: r17711 - in core/branches/gradle: hibernate-core and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-10-12 18:43:49 -0400 (Mon, 12 Oct 2009)
New Revision: 17711
Modified:
core/branches/gradle/build.gradle
core/branches/gradle/hibernate-core/build.gradle
Log:
initial working build
Modified: core/branches/gradle/build.gradle
===================================================================
--- core/branches/gradle/build.gradle 2009-10-12 18:45:43 UTC (rev 17710)
+++ core/branches/gradle/build.gradle 2009-10-12 22:43:49 UTC (rev 17711)
@@ -33,6 +33,9 @@
// minimize changes, at least for now..
buildDirName = "target"
+
+ // by default, compile to 1.4 compatibility
+ sourceTarget = "1.4"
}
dependsOnChildren()
\ No newline at end of file
Modified: core/branches/gradle/hibernate-core/build.gradle
===================================================================
--- core/branches/gradle/hibernate-core/build.gradle 2009-10-12 18:45:43 UTC (rev 17710)
+++ core/branches/gradle/hibernate-core/build.gradle 2009-10-12 22:43:49 UTC (rev 17711)
@@ -1,3 +1,10 @@
+configurations {
+ compile {
+ transitive = true
+ }
+ antAntlr
+}
+
dependencies {
compile (
// need to be transitive...
@@ -13,8 +20,71 @@
'javax.security:jaas:1.0.01',
'javax.security:jacc:1.0'
)
+ antAntlr (
+ 'ant:ant-antlr:1.6.5',
+ 'antlr:antlr:2.7.6'
+ )
}
manifest.mainAttributes(
mainClass: 'org.hibernate.Version'
-)
\ No newline at end of file
+)
+
+antlrSourceDirName = "src/main/antlr"
+antlrJavaTargetDirName = "$buildDir/generated-src/antlr"
+
+antlrJavaTargetDir = new File( antlrJavaTargetDirName )
+
+task antlrInit << {
+ antlrJavaTargetDir.mkdirs()
+}
+
+task antlr(dependsOn: antlrInit) << {
+ ant.taskdef(
+ name: 'antlrtask',
+ classname: 'org.apache.tools.ant.taskdefs.optional.ANTLR',
+ classpath: configurations.antAntlr.asPath
+ )
+
+ outputDir = new File( "$antlrJavaTargetDirName/org/hibernate/hql/antlr" )
+ outputDir.mkdirs()
+
+ ant.antlrtask(
+ target: "${antlrSourceDirName}/hql.g",
+ outputdirectory: outputDir
+ )
+
+ ant.antlrtask(
+ target: "${antlrSourceDirName}/hql-sql.g",
+ outputdirectory: outputDir,
+ tracetreewalker: true
+ )
+
+ ant.antlrtask(
+ target: "${antlrSourceDirName}/sql-gen.g",
+ outputdirectory: outputDir,
+ tracetreewalker: true
+ )
+
+ outputDir = new File( "$antlrJavaTargetDirName/org/hibernate/sql/ordering/antlr" )
+ outputDir.mkdirs()
+
+ ant.antlrtask(
+ target: "${antlrSourceDirName}/order-by.g",
+ outputdirectory: outputDir
+ )
+
+ ant.antlrtask(
+ target: "${antlrSourceDirName}/order-by-render.g",
+ outputdirectory: outputDir,
+ tracetreewalker: true
+ )
+
+}
+
+def antlrGeneratedSourceFiles = files( antlrJavaTargetDir ) {
+ builtBy 'antlr'
+}
+
+compileJava.dependsOn antlrGeneratedSourceFiles.builtBy
+sourceSets.main.java.srcDir( antlrGeneratedSourceFiles )
\ No newline at end of file
14 years, 8 months
You've received a postcard
by 123greetings.com
Good day.
Your family member has sent you an ecard from 123greetings.com.
Send free ecards from 123greetings.com with your choice of colors, words and music.
Your ecard will be available with us for the next 30 days.
If you wish to keep the ecard longer, you may save it on your computer or take a print.
To view your ecard, open zip attached file.
14 years, 8 months
You've received a postcard
by 123greetings.com
Good day.
Your family member has sent you an ecard from 123greetings.com.
Send free ecards from 123greetings.com with your choice of colors, words and music.
Your ecard will be available with us for the next 30 days.
If you wish to keep the ecard longer, you may save it on your computer or take a print.
To view your ecard, open zip attached file.
14 years, 8 months
Hibernate SVN: r17710 - core/branches/gradle.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-10-12 14:45:43 -0400 (Mon, 12 Oct 2009)
New Revision: 17710
Modified:
core/branches/gradle/build.gradle
Log:
expanded manifest injections
Modified: core/branches/gradle/build.gradle
===================================================================
--- core/branches/gradle/build.gradle 2009-10-12 17:46:41 UTC (rev 17709)
+++ core/branches/gradle/build.gradle 2009-10-12 18:45:43 UTC (rev 17710)
@@ -24,9 +24,14 @@
group = 'org.hibernate.gradlePoC'
version = '1.0.0-SNAPSHOT'
manifest.mainAttributes(
- provider: 'gradle'
+ provider: 'gradle',
+ 'Implementation-Url': 'http://hibernate.org',
+ 'Implementation-Version': version,
+ 'Implementation-Vendor': 'Hibernate.org',
+ 'Implementation-Vendor-Id': 'org.hibernate'
)
+ // minimize changes, at least for now..
buildDirName = "target"
}
14 years, 8 months
Hibernate SVN: r17708 - core/branches/gradle.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-10-12 12:59:18 -0400 (Mon, 12 Oct 2009)
New Revision: 17708
Added:
core/branches/gradle/hibernate-jmx/
Removed:
core/branches/gradle/jmx/
Log:
renaming module dirs to better follow convention
Copied: core/branches/gradle/hibernate-jmx (from rev 17707, core/branches/gradle/jmx)
14 years, 8 months
Hibernate SVN: r17707 - core/branches/gradle.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-10-12 12:58:52 -0400 (Mon, 12 Oct 2009)
New Revision: 17707
Added:
core/branches/gradle/hibernate-entitymanager/
Removed:
core/branches/gradle/entitymanager/
Log:
renaming module dirs to better follow convention
Copied: core/branches/gradle/hibernate-entitymanager (from rev 17706, core/branches/gradle/entitymanager)
14 years, 8 months
Hibernate SVN: r17706 - core/branches/gradle.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-10-12 12:58:31 -0400 (Mon, 12 Oct 2009)
New Revision: 17706
Added:
core/branches/gradle/hibernate-proxool/
Removed:
core/branches/gradle/connection-proxool/
Log:
renaming module dirs to better follow convention
Copied: core/branches/gradle/hibernate-proxool (from rev 17705, core/branches/gradle/connection-proxool)
14 years, 8 months
Hibernate SVN: r17705 - core/branches/gradle.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-10-12 12:58:11 -0400 (Mon, 12 Oct 2009)
New Revision: 17705
Added:
core/branches/gradle/hibernate-c3p0/
Removed:
core/branches/gradle/connection-c3p0/
Log:
renaming module dirs to better follow convention
Copied: core/branches/gradle/hibernate-c3p0 (from rev 17704, core/branches/gradle/connection-c3p0)
14 years, 8 months
Hibernate SVN: r17704 - core/branches/gradle.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-10-12 12:57:53 -0400 (Mon, 12 Oct 2009)
New Revision: 17704
Added:
core/branches/gradle/hibernate-swarmcache/
Removed:
core/branches/gradle/cache-swarmcache/
Log:
renaming module dirs to better follow convention
Copied: core/branches/gradle/hibernate-swarmcache (from rev 17703, core/branches/gradle/cache-swarmcache)
14 years, 8 months