----- Original Message ----- From: "Giuseppe Bux" <[EMAIL PROTECTED]> To: "General List" <[email protected]> Sent: Wednesday, October 04, 2006 1:08 PM Subject: Fw: Installing Semantic Bank
> > ----- Original Message ----- > From: "Giuseppe Bux" <[EMAIL PROTECTED]> > To: "General List" <[email protected]>; <[EMAIL PROTECTED]> > Sent: Wednesday, October 04, 2006 10:31 AM > Subject: Re: Installing Semantic Bank > > >> Dear Ryan, >> Trial step 1: after replacing the outdated longwell files with the ones >> you sent me, I tried to configure again longwell with the semantic-bank >> extension and here the related message report follows: it still >> highlights a build error. >> >> Trial step 2: as you suggested as alternative I downloaded the previous >> longwell version 1.1 and, as from the related readme file, I ran the >> build.bat, but still without success: the related report here follows the >> previous mentioned one. >> What can I do now? >> >> About my interest: my interest in the semantic management of folksonomies >> (i.e. folksologies) is very strong, because I'm going to initiate a >> research project concerning management of digital libraries with the >> support of shared semantic folksonomies. So I'm very interested to >> experiment the results of the SIMILE project and in particular the >> integration of Piggy Bank, Solvent and Semantic Bank technologies. >> >> Looking for your new kind help, >> Giuseppe >> >> -------------------------------------------------------------- >> >> Trial step 1 results >> >> C:\longwell-2.4>longwell.bat /c semantic-bank >> [INFO]: >> MAVEN_OPTS=-Djava.awt.headless=true -Dlongwell.configuration=semantic-ba >> nk -Xms32M -Xmx256M -Djetty.port=8080 >> [INFO] Scanning for projects... >> [INFO] Searching repository for plugin with prefix: 'jetty6'. >> Downloading: >> http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/ >> 6.0.0/maven-jetty-plugin-6.0.0.pom >> 4K downloaded >> Downloading: >> http://repo1.maven.org/maven2/org/mortbay/jetty/project/6.0.0/proje >> ct-6.0.0.pom >> 10K downloaded >> Downloading: >> http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/ >> 6.0.0/maven-jetty-plugin-6.0.0.jar >> 38K downloaded >> [INFO] artifact org.apache.maven.plugins:maven-jetty6-plugin: checking >> for updat >> es from central >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] The plugin 'org.apache.maven.plugins:maven-jetty6-plugin' does not >> exist >> or no valid version could be found >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 4 seconds >> [INFO] Finished at: Wed Oct 04 09:45:58 CEST 2006 >> [INFO] Final Memory: 2M/31M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> >> >> Trial step 2 results >> >> C:\longwell-1.1>build.bat >> Buildfile: build.xml >> >> init: >> >> start: >> ====================================================================== >> SIMILE Longwell 1.1 [2003-2005] >> ====================================================================== >> Building with Apache Ant version 1.6.1 compiled on February 12 2004 >> ---------------------------------------------------------------------- >> Using build file C:\longwell-1.1\build.xml >> ---------------------------------------------------------------------- >> Running on Java version 1.4 >> ---------------------------------------------------------------------- >> Compiler options: >> - debug ......... [on] >> - optimize ...... [on] >> - deprecation ... [on] >> ====================================================================== >> >> Building Longwell using ${bundle} data bundle >> >> >> >> prepare: >> Created dir: C:\longwell-1.1\build >> Created dir: C:\longwell-1.1\build\classes >> >> prepare-external-check: >> >> prepare-vocabularies: >> Created dir: C:\longwell-1.1\build\vocabularies\src >> Created dir: C:\longwell-1.1\build\vocabularies\classes >> >> compile-vocabularies: >> Created dir: >> C:\longwell-1.1\build\vocabularies\src\edu\mit\simile\vocabularies >> Generating SkosCore.java >> C:\longwell-1.1\lib\repositories not found. >> Generating Display.java >> C:\longwell-1.1\lib\repositories not found. >> Generating Artstor.java >> C:\longwell-1.1\lib\repositories not found. >> Generating VRACore.java >> C:\longwell-1.1\lib\repositories not found. >> Generating Person.java >> C:\longwell-1.1\lib\repositories not found. >> >> compile: >> Compiling 50 source files to C:\longwell-1.1\build\classes >> >> BUILD FAILED >> C:\longwell-1.1\tools\targets\compile-build.xml:73: >> C:\longwell-1.1\lib\reposito >> ries not found. >> >> >> ----- Original Message ----- >> From: "Ryan Lee" <[EMAIL PROTECTED]> >> To: "General List" <[email protected]> >> Sent: Tuesday, October 03, 2006 7:49 PM >> Subject: Re: Installing Semantic Bank >> >> >>> Giuseppe Bux wrote: >>>> Here in the following the complete report. The Build error at the end >>>> of >>>> the message. >>> >>> I'm terribly sorry, but it appears some of the things our 2.4 release >>> depended on have decayed; I tried out the release build and ran into the >>> same problem you did. It worked when we released it... :( >>> >>> Here are replacement files. You should see their outdated counterparts >>> in the base longwell/ directory; I renamed them to avoid triggering >>> filters, so change the '-' to a '.' >>> >>> Or you could resort to the Subversion repository and use the latest and >>> greatest. >>> >>> We should be making a more stable release in the very near future as >>> well. >>> >>> Again, my apologies. >>> >>> -- >>> Ryan Lee [EMAIL PROTECTED] >>> W3C Research Engineer +1.617.253.5327 >>> http://simile.mit.edu/ >>> >> >> >> -------------------------------------------------------------------------------- >> >> >>> <?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/maven-v4_0_0.xsd" >>>> >>> <modelVersion>4.0.0</modelVersion> >>> <groupId>edu.mit.simile</groupId> >>> <artifactId>longwell</artifactId> >>> <name>SIMILE Longwell</name> >>> <version>2.4</version> >>> <description>Longwell is a web-based general-purpose faceted browser >>> for RDF data</description> >>> <url>http://simile.mit.edu/longwell/</url> >>> <inceptionYear>2004</inceptionYear> >>> >>> <issueManagement> >>> <system>jira</system> >>> <url>http://simile.mit.edu/issues/browse/LONGWELL</url> >>> </issueManagement> >>> >>> <distributionManagement> >>> <repository> >>> <id>simile.mit.edu</id> >>> <url>scpexe://simile.mit.edu/var/maven</url> >>> </repository> >>> </distributionManagement> >>> >>> <scm> >>> >>> <connection>scm:svn:http://simile.mit.edu/repository/longwell/trunk/</connection> >>> >>> <developerConnection>scm:svn:http://simile.mit.edu/repository/longwell/trunk/</developerConnection> >>> <url>http://simile.mit.edu/viewsvn/longwell/trunk/</url> >>> </scm> >>> >>> <reporting> >>> <plugins> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-surefire-report-plugin</artifactId> >>> </plugin> >>> <plugin> >>> <groupId>org.codehaus.mojo</groupId> >>> <artifactId>jxr-maven-plugin</artifactId> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-javadoc-plugin</artifactId> >>> <configuration> >>> <links> >>> <link>http://java.sun.com/j2ee/1.4/docs/api</link> >>> <link>http://java.sun.com/j2se/1.5.0/docs/api</link> >>> >>> <link>http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_0/</link> >>> <link>http://jakarta.apache.org/commons/dbcp/apidocs/</link> >>> >>> <link>http://jakarta.apache.org/commons/fileupload/apidocs/</link> >>> >>> <link>http://jakarta.apache.org/commons/httpclient/apidocs/</link> >>> <link>http://jakarta.apache.org/commons/logging/api/</link> >>> <link>http://jakarta.apache.org/commons/pool/apidocs/</link> >>> <link>http://www.junit.org/junit/javadoc/</link> >>> <link>http://logging.apache.org/log4j/docs/api/</link> >>> <link>http://jakarta.apache.org/regexp/apidocs/</link> >>> <link>http://jakarta.apache.org/velocity/api/</link> >>> </links> >>> </configuration> >>> </plugin> >>> <plugin> >>> <artifactId>maven-assembly-plugin</artifactId> >>> <configuration> >>> <descriptors> >>> <descriptor>src/conf/assembly.xml</descriptor> >>> </descriptors> >>> <finalName>longwell-${project.version}</finalName> >>> <appendAssemblyId>false</appendAssemblyId> >>> <workDirectory>target/assembly/work</workDirectory> >>> <tarLongFileMode>error</tarLongFileMode> >>> <outputDirectory>.</outputDirectory> >>> </configuration> >>> </plugin> >>> </plugins> >>> </reporting> >>> >>> <build> >>> <plugins> >>> <plugin> >>> <groupId>org.mortbay.jetty</groupId> >>> <artifactId>maven-jetty-plugin</artifactId> >>> <version>6.0.0</version> >>> <configuration> >>> <connectors> >>> <connector >>> implementation="org.mortbay.jetty.nio.SelectChannelConnector"> >>> <port>${jetty.port}</port> >>> <maxIdleTime>60000</maxIdleTime> >>> </connector> >>> </connectors> >>> <scanIntervalSeconds>5</scanIntervalSeconds> >>> <contextPath>/</contextPath> >>> <webAppSourceDirectory>src/main/webapp</webAppSourceDirectory> >>> </configuration> >>> </plugin> >>> </plugins> >>> </build> >>> >>> <repositories> >>> <repository> >>> <id>simile.mit.edu</id> >>> <url>http://simile.mit.edu/maven-proxy</url> >>> </repository> >>> </repositories> >>> >>> <dependencies> >>> <dependency> >>> <groupId>edu.mit.simile</groupId> >>> <artifactId>fresnel</artifactId> >>> <version>1.1-alpha</version> >>> </dependency> >>> <dependency> >>> <groupId>junit</groupId> >>> <artifactId>junit</artifactId> >>> <version>3.8.1</version> >>> </dependency> >>> <dependency> >>> <groupId>javax.servlet</groupId> >>> <artifactId>servlet-api</artifactId> >>> <version>2.4</version> >>> </dependency> >>> <dependency> >>> <groupId>log4j</groupId> >>> <artifactId>log4j</artifactId> >>> <version>1.2.13</version> >>> </dependency> >>> <dependency> >>> <groupId>velocity</groupId> >>> <artifactId>velocity</artifactId> >>> <version>1.4</version> >>> </dependency> >>> <dependency> >>> <groupId>commons-codec</groupId> >>> <artifactId>commons-codec</artifactId> >>> <version>1.3</version> >>> </dependency> >>> <dependency> >>> <groupId>openrdf</groupId> >>> <artifactId>sesame</artifactId> >>> <version>2.0-alpha-3-jre1.4</version> >>> </dependency> >>> <dependency> >>> <groupId>commons-collections</groupId> >>> <artifactId>commons-collections</artifactId> >>> <version>3.1</version> >>> </dependency> >>> <dependency> >>> <groupId>lucene</groupId> >>> <artifactId>lucene</artifactId> >>> <version>1.4.3</version> >>> </dependency> >>> <dependency> >>> <groupId>commons-lang</groupId> >>> <artifactId>commons-lang</artifactId> >>> <version>2.1</version> >>> </dependency> >>> <dependency> >>> <groupId>whirlycache</groupId> >>> <artifactId>whirlycache</artifactId> >>> <version>1.0.1</version> >>> </dependency> >>> </dependencies> >>> </project> >> >> >> -------------------------------------------------------------------------------- >> >> >>> @echo off >>> rem >>> rem Configuration variables >>> rem >>> rem JAVA_HOME >>> rem Home of Java installation. >>> rem >>> rem JAVA_OPTIONS >>> rem Extra options to pass to the JVM >>> rem >>> >>> rem --- First two utilities for >>> exiting -------------------------------------------- >>> >>> goto endUtils >>> >>> :usage >>> echo Usage: %0 [options] >>> echo where [options] include: >>> echo. >>> echo /h print this message and exit >>> echo. >>> echo /c _configuration_ the configuration that longwell should start >>> echo default: longwell >>> echo. >>> echo /p _path_ is the paths where longwell will look for configurations >>> echo default: ./src/main/webapp/ >>> echo. >>> echo /d _database_ the directory were the triple store files reside >>> echo default: ./src/main/webapp/WEB-INF/database >>> echo. >>> echo /a _action_ is what to do, the default is run >>> echo supported _action_s are: >>> echo run Run longwell >>> echo debug Run longwell and turn on JVM remote debug >>> echo profile Run longwell and turn on JVM profiling with HProf >>> echo shark Run longwell and turn on JVM profiling with Apple >>> Shark (MacOSX only) >>> echo yourkit Run longwell and turn on JVM profiling with YourKit >>> echo jmx Run longwell and turn on JVM monitoring with JMX >>> and JConsole >>> echo. >>> echo /r _rdf_ is the directory where the RDF data to load is >>> echo default: no data is loaded >>> goto end >>> >>> :fail >>> echo See: '%0 /h' for usage. >>> goto end >>> >>> :endUtils >>> >>> if not "%JAVA_HOME%" == "" goto gotJavaHome >>> echo You must set JAVA_HOME to point at your Java Development Kit >>> installation >>> goto fail >>> :gotJavaHome >>> >>> set MAVEN_OPTS=-Djava.awt.headless=true >>> set ACTION=run >>> >>> rem --- Argument parsing -------------------------------------------- >>> >>> :loop >>> if ""%1"" == """" goto endArgumentParsing >>> if ""%1"" == ""/h"" goto usage >>> if ""%1"" == ""/d"" goto arg-d >>> if ""%1"" == ""/c"" goto arg-c >>> if ""%1"" == ""/p"" goto arg-p >>> if ""%1"" == ""/r"" goto arg-r >>> if ""%1"" == ""/a"" goto arg-a >>> echo ERROR: Unknown Argument: '%1' >>> goto fail >>> >>> :arg-c >>> set MAVEN_OPTS=%MAVEN_OPTS% -Dlongwell.configuration=%2 >>> goto shift2loop >>> >>> :arg-d >>> set MAVEN_OPTS=%MAVEN_OPTS% -Dlongwell.store.dir=%2 >>> goto shift2loop >>> >>> :arg-p >>> set MAVEN_OPTS=%MAVEN_OPTS% -Dlongwell.configuration.path=%2 >>> goto shift2loop >>> >>> :arg-r >>> set MAVEN_OPTS=%MAVEN_OPTS% -Dlongwell.data=%2 >>> goto shift2loop >>> >>> :arg-a >>> set ACTION="$2" >>> goto shift2loop >>> >>> :shift2loop >>> shift >>> shift >>> goto loop >>> >>> :endArgumentParsing >>> >>> >>> rem --- Fold in Environment >>> Vars -------------------------------------------- >>> >>> if not "%JAVA_OPTIONS%" == "" goto gotJavaOptions >>> set JAVA_OPTIONS=-Xms32M -Xmx256M >>> :gotJavaOptions >>> set MAVEN_OPTS=%MAVEN_OPTS% %JAVA_OPTIONS% >>> >>> if not "%JETTY_PORT%" == "" goto gotJettyPort >>> set JETTY_PORT=8080 >>> :gotJettyPort >>> set MAVEN_OPTS=%MAVEN_OPTS% -Djetty.port=%JETTY_PORT% >>> >>> >>> rem ----- Respond to the >>> action ---------------------------------------------------------- >>> >>> if ""%ACTION%"" == ""run"" goto doRun >>> if ""%ACTION%"" == ""debug"" goto doDebug >>> if ""%ACTION%"" == ""profile"" goto doProfile >>> if ""%ACTION%"" == ""shark"" goto doShark >>> if ""%ACTION%"" == ""yourkit"" goto doYourKit >>> if ""%ACTION%"" == ""jmx"" goto doJMX >>> >>> :doRun >>> goto doIt >>> >>> :doDebug >>> set >>> MAVEN_OPTS=%MAVEN_OPTS% -Xdebug >>> -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n >>> goto doIt >>> >>> :doProfile >>> set >>> MAVEN_OPTS=%MAVEN_OPTS% -Xrunhprof:heap=all,cpu=samples,thread=y,depth=3 >>> goto doIt >>> >>> :doShark >>> set MAVEN_OPTS=%MAVEN_OPTS% -Xrunshark >>> goto doIt >>> >>> :doYourKit >>> set MAVEN_OPTS=%MAVEN_OPTS% -agentlib:yjpagent >>> goto doIt >>> >>> :doJMX >>> set MAVEN_OPTS=%MAVEN_OPTS% -Dcom.sun.management.jmxremote >>> goto doIt >>> >>> :doIt >>> >>> echo [INFO]: MAVEN_OPTS=%MAVEN_OPTS% >>> >>> if not "%MAVEN_PARAMS%" == "" goto withMavenParams >>> mvn jetty6:run >>> goto end >>> >>> :withMavenParams >>> mvn %MAVEN_PARAMS% jetty:run >>> >>> :end >>> >>> >> >> >> -------------------------------------------------------------------------------- >> >> >>> #!/bin/sh >>> >>> fail () { >>> cat <<EOF >>> ERROR: $1 >>> Usage: $0 <options> >>> -h for more details >>> EOF >>> exit 1 >>> } >>> >>> usage() >>> { >>> cat <<EOF >>> Usage: $0 [options] >>> where [options] include: >>> >>> -h print this message and exit >>> >>> -c <configuration> the configuration that longwell should start >>> default: longwell >>> >>> -p <path> is the paths where longwell will look for configurations >>> default: ./src/main/webapp/ >>> >>> -d <database> the directory were the triple store files reside >>> default: ./src/main/webapp/WEB-INF/database >>> >>> -a <action> is what to do, the default is run >>> supported <action>s are: >>> run Run longwell >>> debug Run longwell and turn on JVM remote debug >>> profile Run longwell and turn on JVM profiling with HProf >>> shark Run longwell and turn on JVM profiling with Apple Shark >>> (MacOSX only) >>> yourkit Run longwell and turn on JVM profiling with YourKit >>> jmx Run longwell and turn on JVM monitoring with JMX and >>> JConsole >>> >>> -r <rdf> is the directory where the RDF data to load is >>> default: no data is loaded >>> EOF >>> exit 0 >>> } >>> >>> ### Parse the command line args. >>> >>> ACTION='run' >>> MAVEN_OPTS='-Djava.awt.headless=true' >>> >>> add_option () { >>> MAVEN_OPTS="$MAVEN_OPTS $1" >>> } >>> >>> absolute_path () { >>> case $1 in >>> /*) echo $1; ;; >>> *) echo `pwd`/$1; ;; >>> esac >>> } >>> >>> while [ $# -ne 0 ] ; do >>> case "x$1" in >>> x-c) shift; add_option "-Dlongwell.configuration=$1"; shift; ;; >>> x-d) shift; add_option "-Dlongwell.store.dir=$1"; shift; ;; >>> x-p) shift; add_option "-Dlongwell.configuration.path=`absolute_path >>> $1`"; shift; ;; >>> x-r) shift; add_option "-Dlongwell.data=`absolute_path $1`"; shift; >>> ;; >>> x-a) shift; ACTION="$1"; shift; ;; >>> x-h) usage; ;; >>> *) fail "malformed argument '$1', '$*' remain"; ;; >>> esac >>> done >>> >>> # ----- Verify and Set Required Environment >>> Variables ------------------------- >>> >>> if [ "$JETTY_PORT" = "" ] ; then >>> JETTY_PORT=8080 >>> fi >>> add_option "-Djetty.port=$JETTY_PORT" >>> >>> if [ "$JAVA_OPTIONS" = "" ] ; then >>> JAVA_OPTIONS="-Xms32M -Xmx128M" >>> fi >>> add_option "$JAVA_OPTIONS" >>> >>> # ----- Respond to the action >>> given. ---------------------------------------------------------- >>> >>> case "$ACTION" in >>> run) ;; >>> debug) >>> add_option >>> '-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n'; >>> ;; >>> profile) >>> add_option '-Xrunhprof:heap=all,cpu=samples,thread=y,depth=3'; ;; >>> shark) >>> add_option '-Xrunshark'; ;; >>> yourkit) >>> add_option '-agentlib:yjpagent'; ;; >>> jmx) >>> add_option '-Dcom.sun.management.jmxremote'; ;; >>> *) >>> fail "Unknown action '$ACTION'"; ;; >>> esac >>> >>> export MAVEN_OPTS >>> echo "[INFO] MAVEN_OPTS: '$MAVEN_OPTS'" >>> mvn $MAVEN_PARAMS jetty:run >>> >>> exit 0 >>> >> >> >> -------------------------------------------------------------------------------- >> >> >>> _______________________________________________ >>> General mailing list >>> [email protected] >>> http://simile.mit.edu/mailman/listinfo/general >>> >> > _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
