Skip to content

Instantly share code, notes, and snippets.

View stliu's full-sized avatar

Strong Liu(刘少壮) stliu

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
server:lucene-solr stliu$ git co 3.6.2-redhat-1
Switched to branch '3.6.2-redhat-1'
server:lucene-solr stliu$ patch -p1 < ~/projects/brew/lucene-solr/
.git/ mead.sh
.gitignore rh-prod.patch
lucene-solr-mead.spec.tmpl sources
lucene-solr.spec
server:lucene-solr stliu$ patch -p1 < ~/projects/brew/lucene-solr/rh-prod.patch
patching file .gitignore
patching file lucene/contrib/analyzers/common/pom.xml
. ~/config_repository/scripts/common/common_bash.sh
kill-derby
#rm -rf work
#mkdir work
#cd work
#mkdir logs
##################################
# Setup environment
Java HotSpot(TM) 64-Bit Server VM warning: MaxNewSize (1765376k) is equal to or greater than the entire heap (1765376k). A new generation size of 1765312k will be used.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.hibernate:hibernate-search-engine:jar:4.2.0.Final-redhat-1
[WARNING] 'build.plugins.plugin.version' for org.bsc.maven:maven-processor-plugin is missing. @ line 93, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.hibernate:hibernate-search-orm:jar:4.2.0.Final-redhat-1
[WARNING] 'build.plugins.plugin.version' for org.bsc.maven:maven-processor-plugin is missing. @ line 66, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<deployment>
<dependencies>
<module name="org.slf4j" export="true" />
<module name="org.javassist" export="true" />
<module name="org.slf4j.jcl-over-slf4j" export="true" />
<module name="org.springframework.spring" slot="3.2.1.RELEASE" export="true">
<exports>
<include path="META-INF**" />
<include path="org**" />
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java -Dhibernate.test.new_metadata_mappings=true -Didea.launcher.port=7534 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 12.app/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA 12.app/lib/idea_rt.jar:/Applications/IntelliJ IDEA 12.app/plugins/junit/lib/junit-rt.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/javafx-doclet.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jce
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java -Dhibernate.test.validatefailureexpected=true -Didea.launcher.port=7532 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 12.app/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA 12.app/lib/idea_rt.jar:/Applications/IntelliJ IDEA 12.app/plugins/junit/lib/junit-rt.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/javafx-doclet.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/j
diff --git a/hibernate-core/src/main/java/org/hibernate/mapping/Array.java b/hibernate-core/src/main/java/org/hibernate/mapping/Array.java
index b6e565a..5f6700f 100644
--- a/hibernate-core/src/main/java/org/hibernate/mapping/Array.java
+++ b/hibernate-core/src/main/java/org/hibernate/mapping/Array.java
@@ -63,7 +63,7 @@ public class Array extends List {
public CollectionType getDefaultCollectionType() throws MappingException {
return getMappings().getTypeResolver()
.getTypeFactory()
- .array( getRole(), getReferencedPropertyName(), isEmbedded(), getElementClass() );
+ .array( getRole(), getReferencedPropertyName(), getElementClass() );
server:hibernate-orm-41 stliu$ git cp 32e87656153f7b0da276b674ff24b1ba25fd195d
[asd 2824925] HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods
Author: Gail Badner <[email protected]>
21 files changed, 413 insertions(+), 10 deletions(-)
server:hibernate-orm-41 stliu$ git cp cb4e92a98d6e6cd3cf8ba23ba7b6b6f18f4f455f
[asd 9bc69fc] HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods
Author: Gail Badner <[email protected]>
11 files changed, 14 insertions(+), 22 deletions(-)
Last login: Wed Dec 5 15:30:22 on ttys002
server:~ stliu$ cd projects/myprojects/s2y/
server:s2y stliu$ node app.js
Express server listening on port 3000
--------------------------------
{ t: '0', c: '23', h: '20' }
192.168.1.1 - - [Wed, 05 Dec 2012 07:35:06 GMT] "POST /d/5942 HTTP/1.1" 200 10 "-" "-"
--------------------------------
{ t: '0', c: '24', h: '23' }
192.168.1.1 - - [Wed, 05 Dec 2012 07:35:16 GMT] "POST /d/5942 HTTP/1.1" 200 10 "-" "-"