geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r631690 - /geronimo/server/branches/2.0/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSTools.java
Date Wed, 27 Feb 2008 19:39:34 GMT
Author: gawor
Date: Wed Feb 27 11:39:33 2008
New Revision: 631690

URL: http://svn.apache.org/viewvc?rev=631690&view=rev
Log:
remove geronimo-common class dependency (follow up to GERONIMO-3831)

Modified:
    geronimo/server/branches/2.0/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSTools.java

Modified: geronimo/server/branches/2.0/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSTools.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSTools.java?rev=631690&r1=631689&r2=631690&view=diff
==============================================================================
--- geronimo/server/branches/2.0/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSTools.java
(original)
+++ geronimo/server/branches/2.0/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSTools.java
Wed Feb 27 11:39:33 2008
@@ -33,7 +33,6 @@
 import org.apache.geronimo.kernel.repository.ListableRepository;
 import org.apache.geronimo.kernel.repository.Repository;
 import org.apache.geronimo.kernel.repository.Version;
-import org.apache.geronimo.common.DeploymentException;
 
 public class JAXWSTools {
 
@@ -107,7 +106,7 @@
         return buf.toString();
     }
     
-    public File[] getClasspath(Collection<? extends Repository> repositories) throws
DeploymentException {
+    public File[] getClasspath(Collection<? extends Repository> repositories) throws
Exception {
         ArrayList<File> jars = new ArrayList<File>();
         for (String[] lib : LIBS) {
             Artifact artifact = new Artifact(lib[0], lib[1], (Version)null, "jar");
@@ -121,7 +120,7 @@
         return jars.toArray(new File[jars.size()]);
     }
        
-    private static File getLocation(Collection<? extends Repository> repositories,
Artifact artifactQuery) throws DeploymentException {
+    private static File getLocation(Collection<? extends Repository> repositories,
Artifact artifactQuery) throws Exception {
         File file = null;
         
         for (Repository arepository : repositories) {
@@ -139,7 +138,7 @@
             }
         }
         
-        throw new DeploymentException("Missing artifact in repositories: " + artifactQuery.toString());
+        throw new Exception("Missing artifact in repositories: " + artifactQuery.toString());
     }
     
     private static void addToolsJarLocation(ArrayList<File> jars) {



Mime
View raw message