This file contains 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
mvn clean org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.0:resources org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.0:generate assembly:assembly -DskipTests=true | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Hibernate Search | |
[INFO] task-segment: [clean, org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.0:resources, org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.0:generate] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] [clean:clean {execution: default-clean}] | |
[INFO] Deleting directory /Users/manu/projects/notbackedup/git/search/hibernate-search/target | |
[INFO] [jdocbook:resources {execution: default-cli}] |
This file contains 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
[WARNING] repository metadata for: 'artifact org.jvnet.staxex:stax-ex' could not be retrieved from repository: repository.jboss.org due to an error: Error transferring file: Connection refused | |
[INFO] Repository 'repository.jboss.org' will be blacklisted | |
[INFO] artifact org.jvnet.staxex:stax-ex: checking for updates from central | |
[INFO] snapshot com.sun.istack:istack-commons-runtime:1.1-SNAPSHOT: checking for updates from snapshots.jboss.org | |
[INFO] snapshot com.sun.istack:istack-commons-runtime:1.1-SNAPSHOT: checking for updates from maven2-repository.dev.java.net | |
Downloading: http://download.java.net/maven/2//com/sun/istack/istack-commons-runtime/1.1-SNAPSHOT/istack-commons-runtime-1.1-SNAPSHOT.pom | |
[INFO] snapshot com.sun.istack:istack-commons:1.1-SNAPSHOT: checking for updates from snapshots.jboss.org | |
[INFO] snapshot com.sun.istack:istack-commons:1.1-SNAPSHOT: checking for updates from maven2-repository.dev.java.net | |
Downloading: http://download.java.net/maven/2//com/sun/istack/istack-commons/1.1-SNAPSHOT/ista |
This file contains 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
#!/bin/bash | |
#run ./build.sh on another terminal window | |
#it will clone your existing repo and run the maven tests off this clone | |
#the branch tests are run from is the current branch | |
# | |
# ./build.sh | |
#the cloned repo will live in ../DIRECTORY_ROOT/REPO_DIRECTORY | |
DIRECTORY_ROOT="../privatebuild/" |
This file contains 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
#!/bin/bash | |
#Synchronize all changes (incl new branches and tags) from repo A to repo B, where B is a bare repo. | |
#B must be an bare clone of A (initial setup) | |
#A' must be a clone of A where origin points to A | |
#There are probably more optimized ways to do this. the advantage of this method is that no branch is deleted from the backup repo | |
#so the source repo is not 100% trusted | |
#make sure to define BACKUP_REPO and INTERMEDIARY_REPO | |
#define where repo B resides (Git repo URL) eg file://${HOME}/path/to/repo.git |
This file contains 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
@Deployment | |
public static JavaArchive createTestArchive() { | |
return ShrinkWrap.create( JavaArchive.class, "test.jar" ) | |
.addPackages( true, Holder.class.getPackage() ) | |
.addManifestResource( "persistence.xml", ArchivePaths.create( "persistence.xml" ) ) | |
.addManifestResource( "beans.xml", ArchivePaths.create( "beans.xml" ) ) | |
; | |
} | |
This file contains 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
package org.jboss.seam.persistence; | |
import java.io.Serializable; | |
import java.lang.reflect.InvocationHandler; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.sql.Connection; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Map; |
This file contains 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
diff --git a/bin/classpath.sh b/bin/classpath.sh | |
index f4ccf67..8dc77a4 100755 | |
--- a/bin/classpath.sh | |
+++ b/bin/classpath.sh | |
@@ -7,8 +7,12 @@ | |
### $Id: classpath.sh 82920 2009-01-15 17:29:45Z pgier $ ### | |
-DIRNAME=`dirname $0` | |
-PROGNAME=`basename $0` |
This file contains 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
2010-12-09 17:57:22,326 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (http-127.0.0.1-8080-1) deploy, ctxPath=/jmx-console | |
2010-12-09 17:57:28,283 INFO [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713 | |
2010-12-09 17:57:28,286 INFO [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713 | |
2010-12-09 17:57:28,292 INFO [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService | |
2010-12-09 17:57:28,390 DEBUG [org.hibernate.impl.SessionImpl] (http-127.0.0.1-8080-1) opened session at timestamp: 5291679123005440 | |
2010-12-09 17:57:28,390 TRACE [org.hibernate.jdbc.JDBCContext] (http-127.0.0.1-8080-1) TransactionFactory reported no active transaction; Synchronization not registered | |
2010-12-09 17:57:28,390 DEBUG [org.hiberna |
This file contains 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
public String rebuildIndex() throws InterruptedException { | |
FullTextEntityManager fullTextEntityManager = Search | |
.getFullTextEntityManager(entityManager); | |
Future<?> future = fullTextEntityManager.createIndexer() | |
.batchSizeToLoadObjects(30).threadsForSubsequentFetching(8) | |
.threadsToLoadObjects(4).cacheMode(CacheMode.NORMAL).start(); | |
return future.isDone() ? "Index rebuilt successfully" | |
: "Index recreation in progress"; | |
} |
This file contains 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
Missing: | |
---------- | |
1) org.hibernate:hibernate-core:jar:3.6.1-SNAPSHOT | |
Try downloading the file manually from the project website. | |
Then, install it using the command: | |
mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-core -Dversion=3.6.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file | |
Alternatively, if you host your own repository you can deploy the file there: |
OlderNewer