You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2007/03/05 09:36:50 UTC

[jira] Commented: (FELIX-221) iPOJO Maven Plugin does not tolerate spaces in paths for manipulated classes

    [ https://issues.apache.org/jira/browse/FELIX-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477946 ] 

Clement Escoffier commented on FELIX-221:
-----------------------------------------

I verify the patch.
It allows the use of the iPOJO manipulator on file with the space in the path.

> iPOJO Maven Plugin does not tolerate spaces in paths for manipulated classes
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-221
>                 URL: https://issues.apache.org/jira/browse/FELIX-221
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>         Environment: Microsoft Windows XP
> Sun Java JDK 1.6.0 (build 1.6.0-b105)
>            Reporter: Steven E. Harris
>         Attachments: Manipulator.java.patch
>
>
> Per the discussion on the Felix-dev mailing list thread
>   Problem with maven-ipojo-plugin -- Manipulator.preProcess()
>   http://www.mail-archive.com/felix-dev@incubator.apache.org/msg04116.html
> the iPOJO Maven Plugin fails during its "package" phase when trying to write to a class file with a space in its path. This is due to switching back and forth between file path strings and URI/URL syntax for the same file in org.apache.felix.ipojo.manipulation.Manupulator.preProcess().
> The fix involves reusing the string-based file path established earlier in that method to open a FileOutputStream in lieu of the URI/URL syntaxt.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.