You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/01/18 21:30:54 UTC
[jira] Created: (FELIX-1992) Change the use f
Change the use f
----------------
Key: FELIX-1992
URL: https://issues.apache.org/jira/browse/FELIX-1992
Project: Felix
Issue Type: Bug
Reporter: Felix Meschberger
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-1992) Change the use of the § character as a separator in the BundleRepositoryRender class
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-1992.
--------------------------------------
Resolution: Fixed
Applied proposed patch in Rev. 901181.
> Change the use of the § character as a separator in the BundleRepositoryRender class
> ------------------------------------------------------------------------------------
>
> Key: FELIX-1992
> URL: https://issues.apache.org/jira/browse/FELIX-1992
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-2.0.6
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
>
> The § character is neither an ASCII nor an ISO-8859-1 character and causes compilation issues on non-UTF-8 systems.
> A new character should be used as the separator in the temporary sorted set for building the OBR resource list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-1992) Change the use of the § character as a separator in the BundleRepositoryRender class
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-1992.
-----------------------------------
> Change the use of the § character as a separator in the BundleRepositoryRender class
> ------------------------------------------------------------------------------------
>
> Key: FELIX-1992
> URL: https://issues.apache.org/jira/browse/FELIX-1992
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-2.0.6
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
>
> The § character is neither an ASCII nor an ISO-8859-1 character and causes compilation issues on non-UTF-8 systems.
> A new character should be used as the separator in the temporary sorted set for building the OBR resource list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1992) Change the use of the § character as a separator in the BundleRepositoryRender class
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801935#action_12801935 ]
Felix Meschberger commented on FELIX-1992:
------------------------------------------
Potential patch to be tested
Index: BundleRepositoryRender.java
===================================================================
--- BundleRepositoryRender.java (revision 900194)
+++ BundleRepositoryRender.java (working copy)
@@ -278,7 +278,7 @@
}
versions.add( version );
- labels.add( res.getPresentationName() + "§" + symbolicName );
+ labels.add( res.getPresentationName() + Character.MAX_VALUE + symbolicName );
}
}
}
@@ -290,7 +290,7 @@
for ( Iterator ri = labels.iterator(); ri.hasNext(); )
{
final String label = ( String ) ri.next();
- final int idx = label.indexOf( '§' );
+ final int idx = label.indexOf( Character.MAX_VALUE );
final String presName = label.substring( 0, idx );
final String symName = label.substring( idx + 1 );
final Collection versions = ( Collection ) resSet.remove( symName );
> Change the use of the § character as a separator in the BundleRepositoryRender class
> ------------------------------------------------------------------------------------
>
> Key: FELIX-1992
> URL: https://issues.apache.org/jira/browse/FELIX-1992
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-2.0.6
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
>
> The § character is neither an ASCII nor an ISO-8859-1 character and causes compilation issues on non-UTF-8 systems.
> A new character should be used as the separator in the temporary sorted set for building the OBR resource list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1992) Change the use of the § character as a separator in the BundleRepositoryRender class
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801944#action_12801944 ]
Clement Escoffier commented on FELIX-1992:
------------------------------------------
You can also just configure Maven to set the encoding:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
(that's how I built the project)
> Change the use of the § character as a separator in the BundleRepositoryRender class
> ------------------------------------------------------------------------------------
>
> Key: FELIX-1992
> URL: https://issues.apache.org/jira/browse/FELIX-1992
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-2.0.6
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
>
> The § character is neither an ASCII nor an ISO-8859-1 character and causes compilation issues on non-UTF-8 systems.
> A new character should be used as the separator in the temporary sorted set for building the OBR resource list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1992) Change the use of the § character as a separator in the BundleRepositoryRender class
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated FELIX-1992:
-------------------------------------
Component/s: Web Console
Description:
The § character is neither an ASCII nor an ISO-8859-1 character and causes compilation issues on non-UTF-8 systems.
A new character should be used as the separator in the temporary sorted set for building the OBR resource list.
Affects Version/s: webconsole-2.0.6
Fix Version/s: webconsole-3.0.0
Assignee: Felix Meschberger
Summary: Change the use of the § character as a separator in the BundleRepositoryRender class (was: Change the use f)
> Change the use of the § character as a separator in the BundleRepositoryRender class
> ------------------------------------------------------------------------------------
>
> Key: FELIX-1992
> URL: https://issues.apache.org/jira/browse/FELIX-1992
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-2.0.6
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
>
> The § character is neither an ASCII nor an ISO-8859-1 character and causes compilation issues on non-UTF-8 systems.
> A new character should be used as the separator in the temporary sorted set for building the OBR resource list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.