Hi Stephan

I agree with you. But "include=" is  correct,Make me confused.

Siano, Stephan <[email protected]> 于2019年8月13日周二 下午3:47写道:

> Hi,
>
>
>
> According to the OSGi core spec include and exclude are directives, so
> they should always go with “:=”. The quotes should only be necessary if the
> value contains a comma character, so from my interpretation of the OSGi
> spec "exclude:=*Dao;include:="*Service,*Activetor,*Info,ShellTable"" should
> be the correct syntax. However I have never used include and exclude
> directives myself.
>
>
>
> Best regards
>
> Stephan
>
>
>
> *From:* duan2ping DL• <[email protected]>
> *Sent:* Dienstag, 13. August 2019 05:12
> *To:* [email protected]
> *Subject:* Fwd: Questions about Export-Package
>
>
>
> Hi!
>
> I have some questions about Export-Package.
>
> Example:
>
>
>
> <plugin>
>            <groupId>org.apache.felix</groupId>
>
>            <artifactId>maven-bundle-plugin</artifactId>
>             <configuration>
>
>                     <instructions>
>
>                     <Export-Package>
> com.duan2ping.api.model;exclude:="*Dao";include="*Service,*Activetor,*Info,ShellTable"
>
>                     </Export-Package>
>
>                         ......
>
>                        </instructions>
>                 </configuration>
>  </plugin>
>
> [image: Selection_117.png]
>
> ①  Why "include=" and "include:=" are right ,But exclude can only be ":="
>
> ②  The plugin display is
> "exclude:="*Dao";include="*Service,*Activetor,*Info,ShellTable"" ,But the
> "header bundle ID" shows
> "exclude:=*Dao;include="*Service,*Activetor,*Info,ShellTable"".
>
> Missing " " symbol.
>
>
>
> best regards
>
> duan
>

Reply via email to