Discussion:
wicket-core and util OSGI wiring problem with junit.framework (provided test environment and fix)
Subrahmanyam Sistha
2018-09-06 05:20:18 UTC
Permalink
Hi Team,

Issue related to wicket-core and wicket -util bundle import junit packages.

Regarding the issue, https://issues.apache.org/jira/browse/WICKET-6509
created and closed.

But the solution is not working.

Please find the attachments contains the sample environment and .swf(open in
IE) files contains the execution steps

osgi.zip <http://apache-wicket.1842946.n4.nabble.com/file/t375895/osgi.zip>

add the following bundles wicket-core to the bundle directory in unzipped
osgi.zip file

wicket-core-8.jar
<http://apache-wicket.1842946.n4.nabble.com/file/t375895/wicket-core-8.jar>

(due to upload limit exceeded adding wicket-core separately to bundle
folder)



Steps for execution:

1. Unzip the osgi.zip

2. Go to bundles folder and paste wicket-core-8.jar rename to
wicket-core-8.0.0.jar

3. back and go to bin folder

4. Open folder in cmd prompt and run osgi.example.bat

5. OSGI Framework started

6. Open command prompt and execute telnet localhost 6666

7. type ps, shows list of bundles

8. start wicket-core bundle, by using command start wicket-core ID

org.osgi.framework.BundleException: Unable to resolve org.apache.wicket.core
[11](R 11.0): missing requirement [org.apache.wicket.core [11](R 11.0)]
osgi.wiring.package; (osgi.wiring.package=junit.framework) Unresolved
requirements: [[org.apache.wicket.core [11](R 11.0)] osgi.wiring.package;
(osgi.wiring.package=junit.framework)]



Follow the video

Test Environment execution video
Issue.swf
<http://apache-wicket.1842946.n4.nabble.com/file/t375895/Issue.swf>

manifest video
Reason.swf
<http://apache-wicket.1842946.n4.nabble.com/file/t375895/Reason.swf>

Fix:

following videos contains the fix

Contains Fix
Fix.swf <http://apache-wicket.1842946.n4.nabble.com/file/t375895/Fix.swf>

After Fix Test Environment and Manifest file
afterfix.swf
<http://apache-wicket.1842946.n4.nabble.com/file/t375895/afterfix.swf>

Let me know for more information. I would like to create a Pull Request

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
SUBRA
2018-09-06 05:21:55 UTC
Permalink
Duplicate

http://apache-wicket.1842946.n4.nabble.com/wicket-core-and-util-OSGI-wiring-problem-with-junit-framework-with-test-environment-td4680840.html

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org

Loading...