debian/0000755000000000000000000000000011632417752007176 5ustar debian/orig-tar.exclude0000644000000000000000000000003311632372703012265 0ustar */lib/* */docs/api/* *.pdf debian/README.source0000644000000000000000000000065011632377727011365 0ustar libjboss-remoting-java ====================== The upstream supplied source package contains binary jar files. Currently no clean source distribution exists. Therefore, the upstream sources were modified to comply with the Debian Free Software Guidelines. Use the get-orig-source target of debian/rules to create the orig.tar.gz. For more details on repackaging of upstream sources please see the debian/orig-tar.sh file. debian/watch0000644000000000000000000000023711632372703010225 0ustar version=3 opts="uversionmangle=s/_/./g;s/.Beta/~Beta/" \ http://anonsvn.jboss.org/repos/jbossremoting/remoting2/tags/ (\d.*)/ \ debian debian/orig-tar.sh debian/patches/0000755000000000000000000000000011632417752010625 5ustar debian/patches/0001-convert-to-official-Java-concurrent-packages.patch0000644000000000000000000010405611632407303022706 0ustar From: Torsten Werner Date: Fri, 9 Sep 2011 13:19:39 +0200 Subject: convert to official Java concurrent packages --- src/main/org/jboss/remoting/LeasePinger.java | 2 +- src/main/org/jboss/remoting/ServerInvoker.java | 2 +- .../marshal/encryption/EncryptionManager.java | 2 +- .../transport/bisocket/BisocketClientInvoker.java | 4 +- .../transport/socket/MicroSocketClientInvoker.java | 21 ++++++++++--------- .../remoting/classloader/InvokerClientTest.java | 2 +- .../raw/rmi/MultiThreadedRMIPerformanceClient.java | 4 +- .../performance/raw/rmi/RMICallbackServer.java | 4 +- .../performance/raw/rmi/RMIPerformanceClient.java | 4 +- .../remoting/performance/raw/rmi/RMIServer.java | 4 +- .../MultiThreadedSocketPerformanceClient.java | 4 +- .../raw/socket/SocketCallbackServer.java | 4 +- .../raw/socket/SocketPerformanceClient.java | 4 +- .../performance/raw/socket/SocketServer.java | 4 +- .../client/SpringHessianCallbackServer.java | 2 +- .../client/SpringHessianCallbackServerImpl.java | 2 +- .../client/SpringHessianPerformanceClient.java | 2 +- .../hessian/web/SpringHessianServerImpl.java | 2 +- .../http/client/SpringHttpCallbackServer.java | 2 +- .../http/client/SpringHttpCallbackServerImpl.java | 2 +- .../http/client/SpringHttpPerformanceClient.java | 2 +- .../spring/http/web/SpringHttpServerImpl.java | 2 +- .../MultiThreadedSpringRMIPerformanceClient.java | 4 +- .../spring/rmi/SpringRMICallbackServerImpl.java | 4 +- .../spring/rmi/SpringRMIPerformanceClient.java | 4 +- .../spring/rmi/SpringRMIServerImpl.java | 4 +- .../performance/synchronous/CallTracker.java | 4 +- .../MultiThreadedPerformanceClientTest.java | 4 +- .../synchronous/PerformanceCallbackHandler.java | 2 +- .../synchronous/PerformanceClientTest.java | 2 +- .../synchronous/PerformanceInvocationHandler.java | 8 +++--- .../interrupt/MockInvokerInterruptTestCase.java | 2 +- .../socket/load/PooledConnectionTestCase.java | 2 +- .../socket/timeout/idle/IdleTimeoutClientTest.java | 2 +- .../idle/InactiveIdleTimeoutClientTest.java | 2 +- .../jboss/test/remoting/util/PortUtilTestCase.java | 4 +- 36 files changed, 65 insertions(+), 64 deletions(-) diff --git a/src/main/org/jboss/remoting/LeasePinger.java b/src/main/org/jboss/remoting/LeasePinger.java index 0ce0dfc..fc0d6be 100644 --- a/src/main/org/jboss/remoting/LeasePinger.java +++ b/src/main/org/jboss/remoting/LeasePinger.java @@ -8,7 +8,7 @@ import java.util.Map; import java.util.Timer; import java.util.TimerTask; -import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentHashMap; /** * Internal agent class to ping the remote server to keep lease alive. diff --git a/src/main/org/jboss/remoting/ServerInvoker.java b/src/main/org/jboss/remoting/ServerInvoker.java index fbe65b6..8708bf9 100644 --- a/src/main/org/jboss/remoting/ServerInvoker.java +++ b/src/main/org/jboss/remoting/ServerInvoker.java @@ -44,7 +44,7 @@ import org.jboss.util.threadpool.ThreadPool; import org.jboss.util.threadpool.ThreadPoolMBean; import org.jboss.logging.Logger; -import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentHashMap; import javax.management.MBeanServer; import javax.management.MBeanServerInvocationHandler; diff --git a/src/main/org/jboss/remoting/marshal/encryption/EncryptionManager.java b/src/main/org/jboss/remoting/marshal/encryption/EncryptionManager.java index 60ed0bd..1cf4165 100644 --- a/src/main/org/jboss/remoting/marshal/encryption/EncryptionManager.java +++ b/src/main/org/jboss/remoting/marshal/encryption/EncryptionManager.java @@ -21,7 +21,7 @@ */ package org.jboss.remoting.marshal.encryption; -import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentHashMap; import org.jboss.logging.Logger; import javax.crypto.Cipher; diff --git a/src/main/org/jboss/remoting/transport/bisocket/BisocketClientInvoker.java b/src/main/org/jboss/remoting/transport/bisocket/BisocketClientInvoker.java index 8bfbd1c..98534f5 100644 --- a/src/main/org/jboss/remoting/transport/bisocket/BisocketClientInvoker.java +++ b/src/main/org/jboss/remoting/transport/bisocket/BisocketClientInvoker.java @@ -52,7 +52,7 @@ import org.jboss.remoting.transport.socket.SocketClientInvoker; import org.jboss.remoting.transport.socket.SocketWrapper; import org.jboss.remoting.util.SecurityUtility; -import EDU.oswego.cs.dl.util.concurrent.Semaphore; +import java.util.concurrent.Semaphore; /** * The bisocket transport, an extension of the socket transport, is designed to allow @@ -781,4 +781,4 @@ implements BidirectionalClientInvoker throw (NoSuchMethodException) e.getCause(); } } -} \ No newline at end of file +} diff --git a/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java b/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java index a331ac5..3e7da7e 100644 --- a/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java +++ b/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java @@ -43,7 +43,8 @@ import java.util.Map; import java.util.Properties; import java.util.regex.Pattern; -import EDU.oswego.cs.dl.util.concurrent.Semaphore; +import java.util.concurrent.Semaphore; +import java.util.concurrent.TimeUnit; /** * SocketClientInvoker uses Sockets to remotely connect to the a remote ServerInvoker, which must be @@ -511,7 +512,7 @@ public class MicroSocketClientInvoker extends RemoteClientInvoker if (semaphore == null) return 0; - return maxPoolSize - (int) semaphore.permits(); + return maxPoolSize - (int) semaphore.availablePermits(); } public int getNumberOfAvailableConnections() @@ -519,7 +520,7 @@ public class MicroSocketClientInvoker extends RemoteClientInvoker if (semaphore == null) return 0; - return (int) semaphore.permits(); + return (int) semaphore.availablePermits(); } // Package protected ---------------------------------------------------------------------------- @@ -819,7 +820,7 @@ public class MicroSocketClientInvoker extends RemoteClientInvoker catch (InterruptedException e) { semaphore.release(); - if (trace) log.trace(this + " released semaphore: " + semaphore.permits(), e); + if (trace) log.trace(this + " released semaphore: " + semaphore.availablePermits(), e); throw new RuntimeException(e); } catch (Exception e) @@ -827,7 +828,7 @@ public class MicroSocketClientInvoker extends RemoteClientInvoker // if (bailOut) // return null; semaphore.release(); - if (trace) log.trace(this + " released semaphore: " + semaphore.permits(), e); + if (trace) log.trace(this + " released semaphore: " + semaphore.availablePermits(), e); sockEx = new CannotConnectException( "Can not get connection to server. Problem establishing " + "socket connection for " + locator, e); @@ -987,7 +988,7 @@ public class MicroSocketClientInvoker extends RemoteClientInvoker } } semaphore.release(); - if (trace) log.trace(this + " released semaphore: " + semaphore.permits()); + if (trace) log.trace(this + " released semaphore: " + semaphore.availablePermits()); } if (trace && !oneway) { log.trace(this + " received response " + response); } @@ -1026,7 +1027,7 @@ public class MicroSocketClientInvoker extends RemoteClientInvoker try { semaphore.release(); - if (trace) log.trace(this + " released semaphore: " + semaphore.permits()); + if (trace) log.trace(this + " released semaphore: " + semaphore.availablePermits()); socketWrapper.close(); } catch (Exception ex) @@ -1066,7 +1067,7 @@ public class MicroSocketClientInvoker extends RemoteClientInvoker try { semaphore.release(); - if (trace) log.trace(this + " released semaphore: " + semaphore.permits()); + if (trace) log.trace(this + " released semaphore: " + semaphore.availablePermits()); socketWrapper.close(); } catch (Exception ignored) @@ -1121,8 +1122,8 @@ public class MicroSocketClientInvoker extends RemoteClientInvoker { long start = System.currentTimeMillis(); long timeToWait = (timeAllowed > 0) ? timeAllowed : connectionWait; - boolean timedout = !semaphore.attempt(timeToWait); - if (trace) log.trace(this + " obtained semaphore: " + semaphore.permits()); + boolean timedout = !semaphore.tryAcquire(timeToWait, TimeUnit.MILLISECONDS); + if (trace) log.trace(this + " obtained semaphore: " + semaphore.availablePermits()); if (timedout) { diff --git a/src/tests/org/jboss/test/remoting/classloader/InvokerClientTest.java b/src/tests/org/jboss/test/remoting/classloader/InvokerClientTest.java index 0eae0f7..f1561bb 100644 --- a/src/tests/org/jboss/test/remoting/classloader/InvokerClientTest.java +++ b/src/tests/org/jboss/test/remoting/classloader/InvokerClientTest.java @@ -58,7 +58,7 @@ public class InvokerClientTest extends TestCase "javax.servlet.ServletInputStream", "org.apache.coyote.Adapter", "org.jboss.serial.io.JBossObjectOutputStream", - "EDU.oswego.cs.dl.util.concurrent.SynchronizedLong", + "java.util.concurrent.SynchronizedLong", "org.jboss.logging.Logger"}; URL[] urls = getLibUrls(classUrls); URLClassLoader urlclassloader = new URLClassLoader(urls, null); diff --git a/src/tests/org/jboss/test/remoting/performance/raw/rmi/MultiThreadedRMIPerformanceClient.java b/src/tests/org/jboss/test/remoting/performance/raw/rmi/MultiThreadedRMIPerformanceClient.java index ae22fb5..f039c20 100644 --- a/src/tests/org/jboss/test/remoting/performance/raw/rmi/MultiThreadedRMIPerformanceClient.java +++ b/src/tests/org/jboss/test/remoting/performance/raw/rmi/MultiThreadedRMIPerformanceClient.java @@ -22,7 +22,7 @@ package org.jboss.test.remoting.performance.raw.rmi; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import junit.framework.Test; import org.jboss.jrunit.decorators.ThreadLocalDecorator; import org.jboss.logging.Logger; @@ -130,4 +130,4 @@ public class MultiThreadedRMIPerformanceClient extends MultiThreadedPerformanceC } } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMICallbackServer.java b/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMICallbackServer.java index df8979a..8126f94 100644 --- a/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMICallbackServer.java +++ b/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMICallbackServer.java @@ -30,7 +30,7 @@ import org.jboss.remoting.callback.Callback; import org.jboss.remoting.callback.HandleCallbackException; import org.jboss.test.remoting.performance.synchronous.PerformanceCallbackKeeper; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; /** * @author Tom Elrod @@ -122,4 +122,4 @@ public class RMICallbackServer extends UnicastRemoteObject implements RMICallbac e.printStackTrace(); } } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMIPerformanceClient.java b/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMIPerformanceClient.java index 387c8c4..8cf6020 100644 --- a/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMIPerformanceClient.java +++ b/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMIPerformanceClient.java @@ -22,7 +22,7 @@ package org.jboss.test.remoting.performance.raw.rmi; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import junit.framework.Test; import org.jboss.jrunit.decorators.ThreadLocalDecorator; import org.jboss.logging.Logger; @@ -129,4 +129,4 @@ public class RMIPerformanceClient extends PerformanceClientTest throw new Exception("Was not able to find remote method call for " + method); } } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMIServer.java b/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMIServer.java index 8618c4d..3bc34fd 100644 --- a/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMIServer.java +++ b/src/tests/org/jboss/test/remoting/performance/raw/rmi/RMIServer.java @@ -22,7 +22,7 @@ package org.jboss.test.remoting.performance.raw.rmi; -import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentHashMap; import org.jboss.logging.Logger; import org.jboss.test.remoting.performance.synchronous.CallTracker; import org.jboss.test.remoting.performance.synchronous.Payload; @@ -132,4 +132,4 @@ public class RMIServer extends UnicastRemoteObject implements RMIServerRemote e.printStackTrace(); } } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/raw/socket/MultiThreadedSocketPerformanceClient.java b/src/tests/org/jboss/test/remoting/performance/raw/socket/MultiThreadedSocketPerformanceClient.java index ddeb5cc..07b2ced 100644 --- a/src/tests/org/jboss/test/remoting/performance/raw/socket/MultiThreadedSocketPerformanceClient.java +++ b/src/tests/org/jboss/test/remoting/performance/raw/socket/MultiThreadedSocketPerformanceClient.java @@ -22,7 +22,7 @@ package org.jboss.test.remoting.performance.raw.socket; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import junit.framework.Test; import org.jboss.jrunit.decorators.ThreadLocalDecorator; import org.jboss.logging.Logger; @@ -196,4 +196,4 @@ public class MultiThreadedSocketPerformanceClient extends MultiThreadedPerforman } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketCallbackServer.java b/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketCallbackServer.java index a847f03..4d41c8d 100644 --- a/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketCallbackServer.java +++ b/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketCallbackServer.java @@ -22,7 +22,7 @@ package org.jboss.test.remoting.performance.raw.socket; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import org.jboss.remoting.callback.Callback; import org.jboss.remoting.callback.HandleCallbackException; import org.jboss.test.remoting.TestUtil; @@ -181,4 +181,4 @@ public class SocketCallbackServer implements PerformanceCallbackKeeper } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketPerformanceClient.java b/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketPerformanceClient.java index 279ddc0..8d028db 100644 --- a/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketPerformanceClient.java +++ b/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketPerformanceClient.java @@ -22,7 +22,7 @@ package org.jboss.test.remoting.performance.raw.socket; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import junit.framework.Test; import org.jboss.jrunit.decorators.ThreadLocalDecorator; import org.jboss.logging.Logger; @@ -186,4 +186,4 @@ public class SocketPerformanceClient extends PerformanceClientTest } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketServer.java b/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketServer.java index 5aae121..7a26def 100644 --- a/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketServer.java +++ b/src/tests/org/jboss/test/remoting/performance/raw/socket/SocketServer.java @@ -22,7 +22,7 @@ package org.jboss.test.remoting.performance.raw.socket; -import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentHashMap; import org.jboss.logging.Logger; import org.jboss.test.remoting.performance.synchronous.CallTracker; import org.jboss.test.remoting.performance.synchronous.Payload; @@ -283,4 +283,4 @@ public class SocketServer e.printStackTrace(); } } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianCallbackServer.java b/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianCallbackServer.java index b14114d..59e51d5 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianCallbackServer.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianCallbackServer.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.hessian.client; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import org.jboss.remoting.callback.InvokerCallbackHandler; import org.jboss.test.remoting.performance.synchronous.PerformanceCallbackKeeper; diff --git a/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianCallbackServerImpl.java b/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianCallbackServerImpl.java index 03f2a77..f90870b 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianCallbackServerImpl.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianCallbackServerImpl.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.hessian.client; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import org.jboss.remoting.callback.Callback; import org.jboss.remoting.callback.HandleCallbackException; diff --git a/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianPerformanceClient.java b/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianPerformanceClient.java index c97a02c..ca8c201 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianPerformanceClient.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianPerformanceClient.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.hessian.client; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import junit.framework.Test; import org.jboss.jrunit.decorators.ThreadLocalDecorator; import org.jboss.logging.Logger; diff --git a/src/tests/org/jboss/test/remoting/performance/spring/hessian/web/SpringHessianServerImpl.java b/src/tests/org/jboss/test/remoting/performance/spring/hessian/web/SpringHessianServerImpl.java index 5f67971..b2148c5 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/hessian/web/SpringHessianServerImpl.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/hessian/web/SpringHessianServerImpl.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.hessian.web; -import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentHashMap; import org.jboss.test.remoting.performance.synchronous.CallTracker; import org.jboss.test.remoting.performance.synchronous.Payload; diff --git a/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpCallbackServer.java b/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpCallbackServer.java index 988fca4..b8f8909 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpCallbackServer.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpCallbackServer.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.http.client; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import org.jboss.remoting.callback.InvokerCallbackHandler; import org.jboss.test.remoting.performance.synchronous.PerformanceCallbackKeeper; diff --git a/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpCallbackServerImpl.java b/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpCallbackServerImpl.java index 4c0e8ef..8aa6faf 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpCallbackServerImpl.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpCallbackServerImpl.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.http.client; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import org.jboss.remoting.callback.Callback; import org.jboss.remoting.callback.HandleCallbackException; diff --git a/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpPerformanceClient.java b/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpPerformanceClient.java index 5632130..a45ef06 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpPerformanceClient.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/http/client/SpringHttpPerformanceClient.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.http.client; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import junit.framework.Test; import org.jboss.jrunit.decorators.ThreadLocalDecorator; import org.jboss.logging.Logger; diff --git a/src/tests/org/jboss/test/remoting/performance/spring/http/web/SpringHttpServerImpl.java b/src/tests/org/jboss/test/remoting/performance/spring/http/web/SpringHttpServerImpl.java index eeb8e50..1fe4314 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/http/web/SpringHttpServerImpl.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/http/web/SpringHttpServerImpl.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.http.web; -import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentHashMap; import org.jboss.test.remoting.performance.synchronous.CallTracker; import org.jboss.test.remoting.performance.synchronous.Payload; diff --git a/src/tests/org/jboss/test/remoting/performance/spring/rmi/MultiThreadedSpringRMIPerformanceClient.java b/src/tests/org/jboss/test/remoting/performance/spring/rmi/MultiThreadedSpringRMIPerformanceClient.java index 05c1a96..404fb74 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/rmi/MultiThreadedSpringRMIPerformanceClient.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/rmi/MultiThreadedSpringRMIPerformanceClient.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.rmi; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import junit.framework.Test; import org.jboss.jrunit.decorators.ThreadLocalDecorator; import org.jboss.logging.Logger; @@ -208,4 +208,4 @@ public class MultiThreadedSpringRMIPerformanceClient extends MultiThreadedPerfor } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMICallbackServerImpl.java b/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMICallbackServerImpl.java index 88eb5f4..b39110a 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMICallbackServerImpl.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMICallbackServerImpl.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.rmi; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import org.jboss.remoting.callback.Callback; import org.jboss.remoting.callback.HandleCallbackException; @@ -80,4 +80,4 @@ public class SpringRMICallbackServerImpl implements SpringRMICallbackServer } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIPerformanceClient.java b/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIPerformanceClient.java index 746c373..9945eb8 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIPerformanceClient.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIPerformanceClient.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.rmi; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import junit.framework.Test; import org.jboss.jrunit.decorators.ThreadLocalDecorator; import org.jboss.logging.Logger; @@ -207,4 +207,4 @@ public class SpringRMIPerformanceClient extends PerformanceClientTest } } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIServerImpl.java b/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIServerImpl.java index 0186282..3df4d9c 100644 --- a/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIServerImpl.java +++ b/src/tests/org/jboss/test/remoting/performance/spring/rmi/SpringRMIServerImpl.java @@ -8,7 +8,7 @@ ***************************************/ package org.jboss.test.remoting.performance.spring.rmi; -import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentHashMap; import org.jboss.test.remoting.performance.synchronous.CallTracker; import org.jboss.test.remoting.performance.synchronous.Payload; @@ -64,4 +64,4 @@ public class SpringRMIServerImpl implements SpringRMIServer return new Integer(clientInvokeCallCount); } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/synchronous/CallTracker.java b/src/tests/org/jboss/test/remoting/performance/synchronous/CallTracker.java index a2ffdf9..862aedb 100644 --- a/src/tests/org/jboss/test/remoting/performance/synchronous/CallTracker.java +++ b/src/tests/org/jboss/test/remoting/performance/synchronous/CallTracker.java @@ -26,7 +26,7 @@ import org.jboss.remoting.callback.Callback; import org.jboss.remoting.callback.HandleCallbackException; import org.jboss.remoting.callback.InvokerCallbackHandler; -import EDU.oswego.cs.dl.util.concurrent.SynchronizedInt; +import java.util.concurrent.SynchronizedInt; /** * @author Tom Elrod @@ -132,4 +132,4 @@ public class CallTracker return isDuplicate; } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/performance/synchronous/MultiThreadedPerformanceClientTest.java b/src/tests/org/jboss/test/remoting/performance/synchronous/MultiThreadedPerformanceClientTest.java index 33518ee..d7323b9 100644 --- a/src/tests/org/jboss/test/remoting/performance/synchronous/MultiThreadedPerformanceClientTest.java +++ b/src/tests/org/jboss/test/remoting/performance/synchronous/MultiThreadedPerformanceClientTest.java @@ -22,8 +22,8 @@ package org.jboss.test.remoting.performance.synchronous; -import EDU.oswego.cs.dl.util.concurrent.Latch; -import EDU.oswego.cs.dl.util.concurrent.SynchronizedInt; +import java.util.concurrent.Latch; +import java.util.concurrent.SynchronizedInt; import junit.framework.Test; import junit.framework.TestCase; import org.jboss.jrunit.controller.ThreadLocalBenchmark; diff --git a/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceCallbackHandler.java b/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceCallbackHandler.java index 2b7c1ef..9e95588 100644 --- a/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceCallbackHandler.java +++ b/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceCallbackHandler.java @@ -26,7 +26,7 @@ import org.jboss.remoting.callback.Callback; import org.jboss.remoting.callback.HandleCallbackException; import org.jboss.remoting.callback.InvokerCallbackHandler; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; /** * @author Tom Elrod diff --git a/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceClientTest.java b/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceClientTest.java index 4a1a052..f771653 100644 --- a/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceClientTest.java +++ b/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceClientTest.java @@ -22,7 +22,7 @@ package org.jboss.test.remoting.performance.synchronous; -import EDU.oswego.cs.dl.util.concurrent.Latch; +import java.util.concurrent.Latch; import junit.framework.Test; import junit.framework.TestCase; import org.jboss.jrunit.controller.ThreadLocalBenchmark; diff --git a/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceInvocationHandler.java b/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceInvocationHandler.java index bec67ec..32f0ecc 100644 --- a/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceInvocationHandler.java +++ b/src/tests/org/jboss/test/remoting/performance/synchronous/PerformanceInvocationHandler.java @@ -34,9 +34,9 @@ import org.jboss.remoting.callback.InvokerCallbackHandler; import org.jboss.remoting.callback.ServerInvokerCallbackHandler; import org.jboss.remoting.invocation.RemoteInvocation; -import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; -import EDU.oswego.cs.dl.util.concurrent.FIFOReadWriteLock; -import EDU.oswego.cs.dl.util.concurrent.SyncList; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.FIFOReadWriteLock; +import java.util.concurrent.SyncList; /** * @author Tom Elrod @@ -187,4 +187,4 @@ public class PerformanceInvocationHandler implements ServerInvocationHandler // and then remove from tracker or kill tracker all together. listeners.remove(callbackHandler); } -} \ No newline at end of file +} diff --git a/src/tests/org/jboss/test/remoting/transport/socket/interrupt/MockInvokerInterruptTestCase.java b/src/tests/org/jboss/test/remoting/transport/socket/interrupt/MockInvokerInterruptTestCase.java index 551678b..2c724d0 100644 --- a/src/tests/org/jboss/test/remoting/transport/socket/interrupt/MockInvokerInterruptTestCase.java +++ b/src/tests/org/jboss/test/remoting/transport/socket/interrupt/MockInvokerInterruptTestCase.java @@ -32,7 +32,7 @@ import org.jboss.remoting.marshal.UnMarshaller; import org.jboss.remoting.transport.socket.MicroSocketClientInvoker; import org.jboss.remoting.transport.socket.SocketWrapper; -import EDU.oswego.cs.dl.util.concurrent.CountDown; +import java.util.concurrent.CountDown; /** * Unit test for JBREM-955. diff --git a/src/tests/org/jboss/test/remoting/transport/socket/load/PooledConnectionTestCase.java b/src/tests/org/jboss/test/remoting/transport/socket/load/PooledConnectionTestCase.java index dbd44c2..a2ced7d 100644 --- a/src/tests/org/jboss/test/remoting/transport/socket/load/PooledConnectionTestCase.java +++ b/src/tests/org/jboss/test/remoting/transport/socket/load/PooledConnectionTestCase.java @@ -1,6 +1,6 @@ package org.jboss.test.remoting.transport.socket.load; -import EDU.oswego.cs.dl.util.concurrent.SynchronizedInt; +import java.util.concurrent.SynchronizedInt; import junit.framework.TestCase; import org.apache.log4j.Logger; import org.jboss.remoting.Client; diff --git a/src/tests/org/jboss/test/remoting/transport/socket/timeout/idle/IdleTimeoutClientTest.java b/src/tests/org/jboss/test/remoting/transport/socket/timeout/idle/IdleTimeoutClientTest.java index 45ebab8..74466e1 100644 --- a/src/tests/org/jboss/test/remoting/transport/socket/timeout/idle/IdleTimeoutClientTest.java +++ b/src/tests/org/jboss/test/remoting/transport/socket/timeout/idle/IdleTimeoutClientTest.java @@ -1,6 +1,6 @@ package org.jboss.test.remoting.transport.socket.timeout.idle; -import EDU.oswego.cs.dl.util.concurrent.SynchronizedInt; +import java.util.concurrent.SynchronizedInt; import junit.framework.TestCase; import org.apache.log4j.Logger; import org.jboss.remoting.Client; diff --git a/src/tests/org/jboss/test/remoting/transport/socket/timeout/idle/InactiveIdleTimeoutClientTest.java b/src/tests/org/jboss/test/remoting/transport/socket/timeout/idle/InactiveIdleTimeoutClientTest.java index 6c486fa..91ea08d 100644 --- a/src/tests/org/jboss/test/remoting/transport/socket/timeout/idle/InactiveIdleTimeoutClientTest.java +++ b/src/tests/org/jboss/test/remoting/transport/socket/timeout/idle/InactiveIdleTimeoutClientTest.java @@ -1,6 +1,6 @@ package org.jboss.test.remoting.transport.socket.timeout.idle; -import EDU.oswego.cs.dl.util.concurrent.SynchronizedInt; +import java.util.concurrent.SynchronizedInt; import junit.framework.TestCase; import org.apache.log4j.Logger; import org.jboss.remoting.Client; diff --git a/src/tests/org/jboss/test/remoting/util/PortUtilTestCase.java b/src/tests/org/jboss/test/remoting/util/PortUtilTestCase.java index e8bbe0f..65f160d 100644 --- a/src/tests/org/jboss/test/remoting/util/PortUtilTestCase.java +++ b/src/tests/org/jboss/test/remoting/util/PortUtilTestCase.java @@ -24,7 +24,7 @@ package org.jboss.test.remoting.util; import org.jboss.remoting.transport.PortUtil; import junit.framework.TestCase; -import EDU.oswego.cs.dl.util.concurrent.SynchronizedInt; +import java.util.concurrent.SynchronizedInt; /** * @author Tom Elrod @@ -111,4 +111,4 @@ public class PortUtilTestCase extends TestCase } -} \ No newline at end of file +} -- debian/patches/0003-Fix-CoyoteInvoker-thanks-to-tomcat-update.patch0000644000000000000000000000143111632407303022213 0ustar From: Torsten Werner Date: Fri, 9 Sep 2011 13:51:08 +0200 Subject: Fix CoyoteInvoker thanks to tomcat update. --- .../remoting/transport/coyote/CoyoteInvoker.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java b/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java index 050706b..ed7631a 100644 --- a/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java +++ b/src/main/org/jboss/remoting/transport/coyote/CoyoteInvoker.java @@ -1256,4 +1256,6 @@ public class CoyoteInvoker extends WebServerInvoker implements Adapter throw (UnknownHostException) e.getCause(); } } + + public void log(Request req, Response res, long time) {} } -- debian/patches/0002-fix-compile-errors-caused-by-tomcat-API-update.patch0000644000000000000000000000174411632407303022776 0ustar From: Luke Cycon Date: Fri, 9 Sep 2011 13:19:39 +0200 Subject: fix compile errors caused by tomcat API update --- .../remoting/transport/coyote/OutputBuffer.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/org/jboss/remoting/transport/coyote/OutputBuffer.java b/src/main/org/jboss/remoting/transport/coyote/OutputBuffer.java index b56999b..0feb63c 100644 --- a/src/main/org/jboss/remoting/transport/coyote/OutputBuffer.java +++ b/src/main/org/jboss/remoting/transport/coyote/OutputBuffer.java @@ -607,8 +607,9 @@ public class OutputBuffer extends Writer // The following has been updated to conform to jbossweb 2.1. cb.setChars(c, off, len); - while (cb.getLength() > 0) { - conv.convert(cb, bb); + while (cb.getLength() > 0) { + conv.setByteChunk(bb); + conv.convert(cb.getChars(), 0, cb.getLength()); if (cb.getLength() > 0) { bb.flushBuffer(); } -- debian/patches/series0000644000000000000000000000024711632407303012034 0ustar 0001-convert-to-official-Java-concurrent-packages.patch 0002-fix-compile-errors-caused-by-tomcat-API-update.patch 0003-Fix-CoyoteInvoker-thanks-to-tomcat-update.patch debian/changelog0000644000000000000000000000531511632417615011052 0ustar libjboss-remoting-java (2.5.3.SP1-1) unstable; urgency=low * Newer but not newest upstream release. Do not build samples. * Change debian/watch to upstream's svn repo. * Add patch to fix compile error caused by tomcat update. (Closes: #628303) * Switch to source format 3.0. * Switch to debhelper level 7. * Remove useless Depends. * Update Standards-Version: 3.9.2. * Update README.source. -- Torsten Werner Fri, 09 Sep 2011 14:01:03 +0200 libjboss-remoting-java (2.5.2.SP1-2) unstable; urgency=low * Replace coyote by tomcat-coyote in debian/rules to support the new tomcat6 package. (Closes: #571355) -- Torsten Werner Sun, 28 Feb 2010 13:15:38 +0100 libjboss-remoting-java (2.5.2.SP1-1) unstable; urgency=low * New Upstream release * Updated patch concurrent.diff -- Luke Cycon Wed, 06 Jan 2010 15:13:37 -0800 libjboss-remoting-java (2.5.1-1) unstable; urgency=low [ Luke Cycon ] * Bump Standards-Version to 3.8.3 - Added debian/README.source (Including debian/README.Debian-source) - Updated debian copyright in debian/copyright * Change package section to java * New patch tomcat6-fix.diff (Closes: #534134) - Fix problems created by API mixup/change * Added patch descriptions to both current patches * Added myself to uploaders [ Torsten Werner ] * New upstream release * Refresh patch concurrent.diff. * Lock debian/watch to version 2.x because 3.x is still beta. * Switch to tomcat 6. (Closes: #533150) * Disable compiler warnings. * Switch to default-java. -- Luke Cycon Tue, 15 Sep 2009 18:21:15 -0700 libjboss-remoting-java (2.4.0.SP1+dak1-1) unstable; urgency=low * Move package to main. -- Torsten Werner Tue, 18 Nov 2008 21:10:04 +0100 libjboss-remoting-java (2.4.0.SP1-1) unstable; urgency=low * new upstream release * Bump up Standards-Version: 3.8.0 (no changes). -- Torsten Werner Sat, 08 Nov 2008 23:00:23 +0100 libjboss-remoting-java (2.4.0~Beta2-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.7.3 * Update concurrent.diff patch * Add libconcurrent-java to Build-Depends * Update watch file -- Varun Hiremath Wed, 19 Mar 2008 15:56:52 +0530 libjboss-remoting-java (2.2.0.GA-2) unstable; urgency=low * debian/control: Set section to contrib because libjboss-serialization-java is in contrib. -- Varun Hiremath Mon, 19 Nov 2007 16:59:06 +0530 libjboss-remoting-java (2.2.0.GA-1) unstable; urgency=low * Initial release (Closes: #449358) -- Varun Hiremath Tue, 24 Apr 2007 17:19:10 +0530 debian/ant.properties0000644000000000000000000000013411632406410012061 0ustar project.name=jboss-remoting class.dir=class source.dir=src/main jar.name=jboss-remoting.jar debian/control0000644000000000000000000000265011632377512010603 0ustar Source: libjboss-remoting-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Varun Hiremath , Torsten Werner , Luke Cycon Build-Depends: cdbs, debhelper (>= 7) Build-Depends-Indep: ant, default-jdk, libtomcat6-java, libjboss-common-java, libjboss-serialization-java, libservlet2.5-java, libjboss-jmx-java, liblog4j1.2-java, libcommons-httpclient-java, libjboss-naming-java, libconcurrent-java Standards-Version: 3.9.2 Homepage: http://labs.jboss.com/jbossremoting/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjboss-remoting-java Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjboss-remoting-java Package: libjboss-remoting-java Architecture: all Depends: ${misc:Depends} Description: JBoss Remoting The purpose of JBoss Remoting is to provide a single API for most network based invocations and related service that uses pluggable transports and data marshallers. The JBoss Remoting API provides the ability for making synchronous and asynchronous remote calls, push and pull callbacks, and automatic discovery of remoting servers. The intention is to allow for the addition of different transports to fit different needs, yet still maintain the same API for making the remote invocations and only requiring configuration changes, not code changes, to fit these different needs. debian/copyright0000644000000000000000000000704411632372703011132 0ustar This package was debianized by Varun Hiremath on Tue, 24 Apr 2007 17:19:10 +0530. It was downloaded from http://labs.jboss.com/jbossremoting/ Upstream Author: JBoss Inc. Copyright: (C) 2005 JBoss Inc., and authors (C) 2006 Red Hat Middleware, LLC, and authors Authors: Tom Elrod Ron Sigal Clebert Suconic Jeff Haynie Michael Voss License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. On Debian systems, full text of the LGPL license can be found at `/usr/share/common-licenses/LGPL'. ----- Files: src/org/jboss/remoting/transport/coyote/* Copyright: (c) 1999-2002 The Apache Software Foundation. License: The Apache Software License, Version 1.1 Copyright (c) 1999-2002 The Apache Software Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The end-user documentation included with the redistribution, if any, must include the following acknowlegement: "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)." Alternately, this acknowlegement may appear in the software itself, if and wherever such third-party acknowlegements normally appear. 4. The names "The Jakarta Project", "Commons", and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. 5. Products derived from this software may not be called "Apache" nor may "Apache" appear in their names without prior written permission of the Apache Group. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The Debian packaging is copyright (C) 2007, Varun Hiremath and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/compat0000644000000000000000000000000211632377444010377 0ustar 7 debian/source/0000755000000000000000000000000011632417752010476 5ustar debian/source/format0000644000000000000000000000001411632377415011705 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000125511632377346010265 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILD_TARGET := jar DEB_ANT_BUILDFILE := debian/build.xml DEB_JARS := jboss-common log4j-1.2 tomcat-coyote commons-httpclient servlet-api-2.5 \ jboss-serialization jboss-jmx jnpserver concurrent install/libjboss-remoting-java:: install -m 644 -D jboss-remoting.jar $(DEB_DESTDIR)/usr/share/java/jboss-remoting-$(DEB_UPSTREAM_VERSION).jar dh_link /usr/share/java/jboss-remoting-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jboss-remoting.jar get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download debian/orig-tar.sh0000755000000000000000000000075211632372703011261 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' TAR=libjboss-remoting-java_$2.orig.tar.gz DIR=libjboss-remoting-java-$2.orig TAG=$2 # clean up the upstream tarball svn export http://anonsvn.jboss.org/repos/jbossremoting/remoting2/tags/$TAG $DIR GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR rm -rf $DIR $TAG # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi debian/build.xml0000644000000000000000000000126511632406530011013 0ustar