(toppers-users 4297) [Q][A-RTEGEN]自bundleをrequireしている理由

Masaki Muranaka monamour @ monaka.org
2014年 11月 17日 (月) 08:33:50 JST


こんにちは.

A-RTEジェネレータのコードを読んでいて解釈に悩む箇所がありました.
バンドル jp.ac.nagoya_u.is.nces.a_rte.model で,自分自身を
Require-Bundle で指定し,さらに reexport しています.
これは冗長な記述ではないでしょうか?

diff --git a/src/jp.ac.nagoya_u.is.nces.a_rte.model/META-INF/MANIFEST.MF
b/src/jp.ac.nagoya_u.is.nces.a_rte.model/META-INF/MANIFEST.MF
index 3064a55..ca616c8 100644
--- a/src/jp.ac.nagoya_u.is.nces.a_rte.model/META-INF/MANIFEST.MF
+++ b/src/jp.ac.nagoya_u.is.nces.a_rte.model/META-INF/MANIFEST.MF
@@ -35,6 +35,5 @@ Require-Bundle: org.eclipse.ocl.ecore;bundle-version="3.3.0",
  org.junit;bundle-version="4.11.0",
  org.eclipse.core.runtime,
  org.eclipse.emf.ecore,
- jp.ac.nagoya_u.is.nces.a_rte.model;visibility:=reexport,
  org.eclipse.osgi
 Bundle-ActivationPolicy: lazy