jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1358980 - in /jena/trunk/jena-fuseki: make_cp_mvn run_cp
Date Mon, 09 Jul 2012 09:04:38 GMT
Author: andy
Date: Mon Jul  9 09:04:37 2012
New Revision: 1358980

URL: http://svn.apache.org/viewvc?rev=1358980&view=rev
Log:
Setting classpath for the development versions of Fuseki for the "run" script

Added:
    jena/trunk/jena-fuseki/make_cp_mvn   (with props)
Modified:
    jena/trunk/jena-fuseki/run_cp

Added: jena/trunk/jena-fuseki/make_cp_mvn
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/make_cp_mvn?rev=1358980&view=auto
==============================================================================
--- jena/trunk/jena-fuseki/make_cp_mvn (added)
+++ jena/trunk/jena-fuseki/make_cp_mvn Mon Jul  9 09:04:37 2012
@@ -0,0 +1,44 @@
+#!/usr/bin/perl
+# Write a run script.
+
+
+
+
+$POM="pom.xml" ;
+$POM = @ARGV[0] if ( defined(@ARGV[0]) ) ;
+
+if ( ! -e "$POM" )
+{
+    print STDERR "No POM file: $POM\n" ;
+    exit 1 ;
+}
+
+print "#!/bin/bash\n" ;
+print 'M2_REPO="${M2_REPO:-$HOME/.m2/repository}"' ;
+print "\n" ;
+print "\n" ;
+print 'CP="' ;
+$first = 1 ;
+
+open(X, "mvn -f $POM dependency:build-classpath |") ;
+while(<X>)
+{
+    next if /\[INFO\]/ ;
+    chop ;
+    print "$_" ;
+}
+## open(X, "mvn dependency:list|") ;
+## 
+## while(<X>)
+## {
+##     next unless /:compile/ ;
+##     ($g,$a,$v) = m/(\S*):(.*):jar:(.*):compile/ ;
+##     $g =~ s!\.!/!g ;
+##     print ":" if ( ! $first ) ;
+##     print "\$M2_REPO/$g/$a/$v/$a-$v.jar" ;
+##     $first = 0 ;
+## }
+print "\"\n" ;
+print "\n" ;
+print "echo \"\$CP\"\n"
+

Propchange: jena/trunk/jena-fuseki/make_cp_mvn
------------------------------------------------------------------------------
    svn:executable = *

Modified: jena/trunk/jena-fuseki/run_cp
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/run_cp?rev=1358980&r1=1358979&r2=1358980&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/run_cp (original)
+++ jena/trunk/jena-fuseki/run_cp Mon Jul  9 09:04:37 2012
@@ -1,6 +1,6 @@
 #!/bin/bash
 M2_REPO="${M2_REPO:-$HOME/.m2/repository}"
 
-CP="${M2_REPO}/org/apache/jena/jena-arq/2.9.2-SNAPSHOT/jena-arq-2.9.2-SNAPSHOT.jar:${M2_REPO}/commons-codec/commons-codec/1.5/commons-codec-1.5.jar:${M2_REPO}/org/apache/httpcomponents/httpcore/4.1.3/httpcore-4.1.3.jar:${M2_REPO}/org/apache/jena/jena-core/2.7.2-SNAPSHOT/jena-core-2.7.2-SNAPSHOT.jar:${M2_REPO}/org/apache/jena/jena-iri/0.9.2-SNAPSHOT/jena-iri-0.9.2-SNAPSHOT.jar:${M2_REPO}/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.jar:${M2_REPO}/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:${M2_REPO}/org/apache/jena/jena-tdb/0.9.2-SNAPSHOT/jena-tdb-0.9.2-SNAPSHOT.jar:${M2_REPO}/junit/junit/4.9/junit-4.9.jar:${M2_REPO}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar:${M2_REPO}/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar:${M2_REPO}/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar:${M2_REPO}/org/eclipse/jetty/jetty-server/7.5.4.v20111024/jetty-server-7.5.4.v20111024.jar:${M2_REPO}/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:$
 {M2_REPO}/org/eclipse/jetty/jetty-continuation/7.5.4.v20111024/jetty-continuation-7.5.4.v20111024.jar:${M2_REPO}/org/eclipse/jetty/jetty-http/7.5.4.v20111024/jetty-http-7.5.4.v20111024.jar:${M2_REPO}/org/eclipse/jetty/jetty-io/7.5.4.v20111024/jetty-io-7.5.4.v20111024.jar:${M2_REPO}/org/eclipse/jetty/jetty-servlet/7.5.4.v20111024/jetty-servlet-7.5.4.v20111024.jar:${M2_REPO}/org/eclipse/jetty/jetty-security/7.5.4.v20111024/jetty-security-7.5.4.v20111024.jar:${M2_REPO}/org/eclipse/jetty/jetty-servlets/7.5.4.v20111024/jetty-servlets-7.5.4.v20111024.jar:${M2_REPO}/org/eclipse/jetty/jetty-client/7.5.4.v20111024/jetty-client-7.5.4.v20111024.jar:${M2_REPO}/org/eclipse/jetty/jetty-util/7.5.4.v20111024/jetty-util-7.5.4.v20111024.jar:${M2_REPO}/org/eclipse/jetty/jetty-xml/7.5.4.v20111024/jetty-xml-7.5.4.v20111024.jar:${M2_REPO}/org/apache/velocity/velocity/1.7/velocity-1.7.jar:${M2_REPO}/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:${M2_REPO}/commons-lang
 /commons-lang/2.4/commons-lang-2.4.jar:${M2_REPO}/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar:${M2_REPO}/org/slf4j/slf4j-log4j12/1.6.4/slf4j-log4j12-1.6.4.jar:${M2_REPO}/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar:${M2_REPO}/log4j/log4j/1.2.16/log4j-1.2.16.jar"
+CP="/home/afs/.m2/repo/org/apache/jena/jena-arq/2.9.3-SNAPSHOT/jena-arq-2.9.3-SNAPSHOT.jar:/home/afs/.m2/repo/commons-codec/commons-codec/1.5/commons-codec-1.5.jar:/home/afs/.m2/repo/org/apache/httpcomponents/httpcore/4.1.3/httpcore-4.1.3.jar:/home/afs/.m2/repo/org/apache/jena/jena-core/2.7.3-SNAPSHOT/jena-core-2.7.3-SNAPSHOT.jar:/home/afs/.m2/repo/org/apache/jena/jena-iri/0.9.3-SNAPSHOT/jena-iri-0.9.3-SNAPSHOT.jar:/home/afs/.m2/repo/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.jar:/home/afs/.m2/repo/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/home/afs/.m2/repo/org/apache/jena/jena-tdb/0.9.3-SNAPSHOT/jena-tdb-0.9.3-SNAPSHOT.jar:/home/afs/.m2/repo/junit/junit/4.9/junit-4.9.jar:/home/afs/.m2/repo/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar:/home/afs/.m2/repo/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar:/home/afs/.m2/repo/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-server/7.5.4.v
 20111024/jetty-server-7.5.4.v20111024.jar:/home/afs/.m2/repo/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-continuation/7.5.4.v20111024/jetty-continuation-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-http/7.5.4.v20111024/jetty-http-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-io/7.5.4.v20111024/jetty-io-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-servlet/7.5.4.v20111024/jetty-servlet-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-security/7.5.4.v20111024/jetty-security-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-servlets/7.5.4.v20111024/jetty-servlets-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-client/7.5.4.v20111024/jetty-client-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-util/7.5.4.v20111024/jetty-util-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-xml/7.5.4.v20111024/jetty-xml-7.5.4.v
 20111024.jar:/home/afs/.m2/repo/org/apache/velocity/velocity/1.7/velocity-1.7.jar:/home/afs/.m2/repo/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/home/afs/.m2/repo/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/home/afs/.m2/repo/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar:/home/afs/.m2/repo/org/slf4j/slf4j-log4j12/1.6.4/slf4j-log4j12-1.6.4.jar:/home/afs/.m2/repo/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar:/home/afs/.m2/repo/log4j/log4j/1.2.16/log4j-1.2.16.jar"
 
 echo "$CP"



Mime
View raw message