You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Arulazi Dhesiaseelan (JIRA)" <ji...@apache.org> on 2009/03/20 18:18:50 UTC
[jira] Created: (CXF-2124) DynamicClientFactory.createClient API
would throw an exception with source path instead of classes path when
classes.mkdir() call fails
DynamicClientFactory.createClient API would throw an exception with source path instead of classes path when classes.mkdir() call fails
---------------------------------------------------------------------------------------------------------------------------------------
Key: CXF-2124
URL: https://issues.apache.org/jira/browse/CXF-2124
Project: CXF
Issue Type: Bug
Components: JAXB Databinding
Affects Versions: 2.1.4
Reporter: Arulazi Dhesiaseelan
Priority: Minor
https://svn.apache.org/repos/asf/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
The following code is not using the classes path in the exception message when classess.mkdir fails.
File classes = new File(tmpdir, stem + "-classes");
if (!classes.mkdir()) {
throw new IllegalStateException("Unable to create working directory " + src.getPath());// change this to classes.getPath()
}
Let me know if I need to submit a patch. Hope this is a simple fix to make.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-2124) DynamicClientFactory.createClient API
would throw an exception with source path instead of classes path when
classes.mkdir() call fails
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-2124.
------------------------------
Resolution: Fixed
Fix Version/s: 2.2.1
2.1.5
Assignee: Daniel Kulp
Simple enough fix. Thanks for catching it.
> DynamicClientFactory.createClient API would throw an exception with source path instead of classes path when classes.mkdir() call fails
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-2124
> URL: https://issues.apache.org/jira/browse/CXF-2124
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding
> Affects Versions: 2.1.4
> Reporter: Arulazi Dhesiaseelan
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: 2.1.5, 2.2.1
>
>
> https://svn.apache.org/repos/asf/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
> The following code is not using the classes path in the exception message when classes.mkdir fails.
> File classes = new File(tmpdir, stem + "-classes");
> if (!classes.mkdir()) {
> throw new IllegalStateException("Unable to create working directory " + src.getPath());// change this to classes.getPath()
> }
> Let me know if I need to submit a patch. Hope this is a simple fix to make.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-2124) DynamicClientFactory.createClient API
would throw an exception with source path instead of classes path when
classes.mkdir() call fails
Posted by "Arulazi Dhesiaseelan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arulazi Dhesiaseelan updated CXF-2124:
--------------------------------------
Description:
https://svn.apache.org/repos/asf/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
The following code is not using the classes path in the exception message when classes.mkdir fails.
File classes = new File(tmpdir, stem + "-classes");
if (!classes.mkdir()) {
throw new IllegalStateException("Unable to create working directory " + src.getPath());// change this to classes.getPath()
}
Let me know if I need to submit a patch. Hope this is a simple fix to make.
was:
https://svn.apache.org/repos/asf/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
The following code is not using the classes path in the exception message when classess.mkdir fails.
File classes = new File(tmpdir, stem + "-classes");
if (!classes.mkdir()) {
throw new IllegalStateException("Unable to create working directory " + src.getPath());// change this to classes.getPath()
}
Let me know if I need to submit a patch. Hope this is a simple fix to make.
> DynamicClientFactory.createClient API would throw an exception with source path instead of classes path when classes.mkdir() call fails
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-2124
> URL: https://issues.apache.org/jira/browse/CXF-2124
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding
> Affects Versions: 2.1.4
> Reporter: Arulazi Dhesiaseelan
> Priority: Minor
>
> https://svn.apache.org/repos/asf/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
> The following code is not using the classes path in the exception message when classes.mkdir fails.
> File classes = new File(tmpdir, stem + "-classes");
> if (!classes.mkdir()) {
> throw new IllegalStateException("Unable to create working directory " + src.getPath());// change this to classes.getPath()
> }
> Let me know if I need to submit a patch. Hope this is a simple fix to make.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-2124) DynamicClientFactory.createClient API
would throw an exception with source path instead of classes path when
classes.mkdir() call fails
Posted by "Arulazi Dhesiaseelan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688917#action_12688917 ]
Arulazi Dhesiaseelan commented on CXF-2124:
-------------------------------------------
Thanks Dan for fixing it.
> DynamicClientFactory.createClient API would throw an exception with source path instead of classes path when classes.mkdir() call fails
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-2124
> URL: https://issues.apache.org/jira/browse/CXF-2124
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding
> Affects Versions: 2.1.4
> Reporter: Arulazi Dhesiaseelan
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: 2.1.5, 2.2.1
>
>
> https://svn.apache.org/repos/asf/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
> The following code is not using the classes path in the exception message when classes.mkdir fails.
> File classes = new File(tmpdir, stem + "-classes");
> if (!classes.mkdir()) {
> throw new IllegalStateException("Unable to create working directory " + src.getPath());// change this to classes.getPath()
> }
> Let me know if I need to submit a patch. Hope this is a simple fix to make.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.