You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (JIRA)" <ji...@apache.org> on 2014/12/16 10:12:13 UTC

[jira] [Created] (FELIX-4731) Event plugin native2ascii plugin conflicts with Eclipse

Valentin Valchev created FELIX-4731:
---------------------------------------

             Summary: Event plugin native2ascii plugin conflicts with Eclipse
                 Key: FELIX-4731
                 URL: https://issues.apache.org/jira/browse/FELIX-4731
             Project: Felix
          Issue Type: Bug
          Components: Web Console
            Reporter: Valentin Valchev
            Assignee: Valentin Valchev
            Priority: Critical
             Fix For: webconsole-event-plugin-1.1.2


When the event plugin is imported in Eclipse as "Existing Maven Project" the project is not correctly generated because of the following section:

{code}
<resource>
	<directory>target/classes</directory>
	<includes>
		<include>OSGI-INF/**</include>
	</includes>
	<filtering>false</filtering>
</resource>
{code}

If you uncomment it, then resources processed by native2ascii doesn't get included.

I've found a solution, and it is to remove the additional resources, but instead add the following instruction to the maven-bundle-plugin:
{code}
<Include-Resource>{maven-resources},OSGI-INF=target/classes/OSGI-INF</Include-Resource>
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)