axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Cornelis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-553) AAR upload does not work in SVN
Date Sat, 08 Apr 2006 09:36:29 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-553?page=comments#action_12373719 ] 

Frank Cornelis commented on AXIS2-553:
--------------------------------------

'.getFile()' fixes the issue apparently.

Index: modules/webapp/upload.jsp
===================================================================
--- modules/webapp/upload.jsp   (revision 392494)
+++ modules/webapp/upload.jsp   (working copy)
@@ -34,7 +34,7 @@
         ServletContext context = this.getServletConfig().getServletContext();
         ConfigurationContext configctx =
                 (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
-        File repoDir = new File(configctx.getAxisConfiguration().getRepository());
+        File repoDir = new File(configctx.getAxisConfiguration().getRepository().getFile());
         File serviceDir = new File(repoDir, "services");

         if (!serviceDir.exists()) {


> AAR upload does not work in SVN
> -------------------------------
>
>          Key: AXIS2-553
>          URL: http://issues.apache.org/jira/browse/AXIS2-553
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>     Versions: 0.96
>     Reporter: Frank Cornelis

>
> There seems to be a probem in the upload.jsp page of the Axis2 runtime WAR
>     [exec] An error occurred at line: 32 in the jsp file: /upload.jsp
>     [exec] Generated servlet error:
>     [exec] The constructor File(URL) is undefined

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message