You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Steven E. Harris (JIRA)" <ji...@apache.org> on 2007/03/04 19:56:50 UTC

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

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


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.


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

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Steven E. Harris (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven E. Harris updated FELIX-221:
-----------------------------------

    Attachment: Manipulator.java.patch

This patch is described in this mailing list message:

http://www.mail-archive.com/felix-dev@incubator.apache.org/msg04125.html

It feeds a File created using a string-based path to the FileOutputStream constructor.

> 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.


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

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-221.
---------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I applied the patch.

> 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
>         Assigned To: Richard S. Hall
>         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.