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/enunciate/xml/src/main/resources/org/codehaus/enunciate/modules/xml/wadl.fmt b/enunciate/xml/src/main/resources/org/codehaus/enunciate/modules/xml/wadl.fmt | |
index 19210fe..66abac4 100644 | |
--- a/enunciate/xml/src/main/resources/org/codehaus/enunciate/modules/xml/wadl.fmt | |
+++ b/enunciate/xml/src/main/resources/org/codehaus/enunciate/modules/xml/wadl.fmt | |
@@ -31,7 +31,7 @@ Template library for WADL. | |
<${wadl}:resources base="${baseDeploymentAddress}"> | |
[@forEachRESTResourceListByPath] | |
- <${wadl}:resource path="${(resources?first).metaData.defaultSubcontext!"/rest"}[#if !(resources?first).path.starts_with("/")]/[/#if]${(resources?first).path}"> | |
+ <${wadl}:resource path="${(resources?first).metaData.defaultSubcontext!"/rest"}/${(resources?first).path}"> |
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
[cstamas@marvin ~]$ gem list --local | |
*** LOCAL GEMS *** | |
builder (2.1.2) | |
jruby-openssl (0.6) | |
rake (0.8.7) | |
rspec (1.2.9) | |
sources (0.0.1) |
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
[cstamas@Marvin ~]$ gem install org.apache.xmlrpc.xmlrpc-client --source http://gems.sonatype.org/content/shadows/central-gems/ -V | |
GET 304 Not Modified: http://gems.sonatype.org/content/shadows/central-gems/latest_specs.4.8.gz | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/org.apache.xmlrpc.xmlrpc-client-3.0.1-java.gemspec.rz | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/specs.4.8.gz | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/org.apache.xmlrpc.xmlrpc-common-3.0.1-java.gemspec.rz | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/org.apache.ws.commons.ws-commons-util-1.0.1-java.gemspec.rz | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/xml-apis.xml-apis-999.0.0-java.gemspec.rz | |
Installing gem xml-apis.xml-apis-999.0.0-java | |
Downloading gem xml-apis.xml-apis-999.0.0-java.gem | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/gems/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
jvm 1 | Exception in thread "Thread-10" org.jruby.embed.EvalFailedException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 | |
jvm 1 | at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:130) | |
jvm 1 | at org.sonatype.nexus.plugins.ruby.JRubyRubyGateway.gemGenerateLazyIndexes(JRubyRubyGateway.java:48) | |
jvm 1 | at org.sonatype.nexus.plugins.ruby.DefaultRubyIndexer$IndexerThread.reindexNow(DefaultRubyIndexer.java:147) | |
jvm 1 | at org.sonatype.nexus.plugins.ruby.DefaultRubyIndexer$IndexerThread.run(DefaultRubyIndexer.java:193) | |
jvm 1 | Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 | |
jvm 1 | at java.lang.String.checkBounds(String.java:397) | |
jvm 1 | at java.lang.String.<init>(String.java:442) | |
jvm 1 | at org.yecht.ruby.RubyErrHandler.handle(RubyErrHandler.java:28) | |
jvm 1 | at org.yecht.TokenScanner.error(TokenScanner.java:19) |
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-01-07 16:03:08 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Synchronizing virtual repository ID='central-gems') with it's master repository. : Process started on Thu Jan 07 16:01:16 CST 2010, finished on Thu Jan 07 16:03:08 CST 2010 with error. Error message is: org.jruby.embed.EvalFailedException, java.lang.NullPointerException Strack trace: org.jruby.embed.EvalFailedException: java.lang.NullPointerException | |
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:130) | |
at org.sonatype.nexus.plugins.ruby.JRubyRubyGateway.gemGenerateLazyIndexes(JRubyRubyGateway.java:48) | |
at org.sonatype.nexus.plugins.ruby.DefaultRubyIndexer.reindexRepositorySync(DefaultRubyIndexer.java:151) | |
at org.sonatype.nexus.plugins.ruby.DefaultRubyIndexer.reindexRepositorySync(DefaultRubyIndexer.java:83) | |
at org.sonatype.nexus.plugins.ruby.shadow.Maven2RubyGemShadowRepository$2.directoryWalkStep(Maven2RubyGemShadowRepository.java:323) | |
at org.codehaus.plexus.util.DirectoryWalker.fireStep(DirectoryWalke |
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
jvm 1 | 2010-01-07 16:03:06 INFO - o.s.n.p.r.ShadowRep~:maven2-~ - Forcing Ruby reindex after 5000 count of lazy Gems created. | |
jvm 1 | 2010-01-07 16:03:06 INFO - o.s.n.p.r.RubyGatew~ - Invoking Gem::NexusIndexer for basedir "/home/nexus/nexus-webapp-1.4.2-SNAPSHOT/bin/jsw/linux-x86-32/../../../../sonatype-work/nexus/storage/central-gems"... | |
jvm 1 | java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jruby/ext/posix/LinuxLibC | |
jvm 1 | at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:256) | |
jvm 1 | at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:121) | |
jvm 1 | at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:30) | |
jvm 1 | at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:24) | |
jvm 1 | at com.kenai.jaffl.Library.loadLibrary(Library.java:73) | |
jvm 1 | at org.jruby.ext.posix.POSIXFactory$LinuxLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:105) | |
j |
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
[cstamas@marvin ~]$ gem install com.lowagie.itext-rtf --source http://gems.sonatype.org/content/shadows/central-gems/ -V | |
GET 304 Not Modified: http://gems.sonatype.org/content/shadows/central-gems/latest_specs.4.8.gz | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/com.lowagie.itext-rtf-2.1.7-java.gemspec.rz | |
GET 304 Not Modified: http://gems.sonatype.org/content/shadows/central-gems/specs.4.8.gz | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/bouncycastle.bcmail-jdk14-138-java.gemspec.rz | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/bouncycastle.bcprov-jdk14-138-java.gemspec.rz | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/bouncycastle.bctsp-jdk14-138-java.gemspec.rz | |
Installing gem bouncycastle.bcmail-jdk14-138-java | |
Downloading gem bouncycastle.bcmail-jdk14-138-java.gem | |
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/gems/bouncycastle.bcmail-jdk14 |
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
[cstamas@marvin tmp]$ gem install --source=http://secret/but/not/for/long/ -v 1.5.8 org.slf4j.slf4j-simple | |
Successfully installed org.slf4j.slf4j-api-1.5.10-java | |
Successfully installed org.slf4j.slf4j-simple-1.5.8-java | |
2 gems installed | |
Installing ri documentation for org.slf4j.slf4j-api-1.5.10-java... | |
Installing ri documentation for org.slf4j.slf4j-simple-1.5.8-java... | |
Installing RDoc documentation for org.slf4j.slf4j-api-1.5.10-java... | |
Installing RDoc documentation for org.slf4j.slf4j-simple-1.5.8-java... | |
[cstamas@marvin tmp]$ |
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.sonatype.nexus.ruby.gem.yaml; | |
import org.sonatype.nexus.ruby.gem.GemDependency; | |
import org.sonatype.nexus.ruby.gem.GemRequirement; | |
import org.sonatype.nexus.ruby.gem.GemSpecification; | |
import org.sonatype.nexus.ruby.gem.GemVersion; | |
import org.yaml.snakeyaml.nodes.Node; | |
import org.yaml.snakeyaml.nodes.Tag; | |
import org.yaml.snakeyaml.representer.Represent; | |
import org.yaml.snakeyaml.representer.Representer; |
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
cstamas@Dee sshjgit$ cd .. | |
cstamas@Dee tmp$ mkdir sshjgit-clone | |
cstamas@Dee tmp$ cd sshjgit-clone/ | |
cstamas@Dee sshjgit-clone$ git clone ssh://cstamas@localhost:2222/repo.git | |
Initialized empty Git repository in /Users/cstamas/tmp/sshjgit-clone/repo/.git/ | |
remote: Counting objects: 3, done | |
remote: Compressing objects: 100% (3/3) | |
Receiving objects: 100% (3/3), done. | |
cstamas@Dee sshjgit-clone$ l | |
total 0 |
OlderNewer