#20 Wrong name/path in ExampleLab 1.12.1

open
nobody
5
2012-07-22
2006-05-09
Bastian Seehaus
No

The solution examples do not run here.
1.) openmdx-application.jar and
openmdx-example-lab1.jar ar not found in the path
APP-INF/lib in the EARs.
2.) openmdx-example-lab-1.jar is mostly referenced as
openmdx-example-lab1.jar

I'll explain in detail my actions and the results.

I tried with Java5.0 and Java1.42 on WinXP.

unzipped openmdx-1.12.1-lab.jre-1.4.zip to a new dir.

created dir opt in openmdx-1.12.1 dir next to lab

unzipped openmdx-1.12.1-core.jre-1.4.zip into opt

went into openmdx-1.12.1/opt/openmdx-1.12.1/core

ant config was missing target.platform.properties (as
shown in the readme)

ran ant install-src

ran ant all

ran ant distribution

went into openmdx-1.12.1/lab

ran ant install-src

ran ant all

ran ant -Dproject.platform.list="jre-1.4" distribution

ran ant -f run.xml pluginOverridingSolution (output in
1.original.txt)

moved dir openmdx-application.jar two levels up into
openmdx-1.12.1\lab\src\ear\openmdx-example-lab.jmi-overriding.solution.ear\

ran ant -f run.xml pluginOverridingSolution (output in
2.copiedapplicationjar.txt)

edited all MANIFEST.MF files
(openmdx-1.12.1\lab\src\ear\openmdx-example-lab.*.ear\lab.jar\META-INF\MANIFEST.MF)
and changed openmdx-example-lab-1 to openmdx-example-lab1

edited build.xml and changed openmdx-example-lab-1 to
openmdx-example-lab1

moved dir openmdx-example-lab-1.jar two levels up into
openmdx-1.12.1\lab\src\ear\openmdx-example-lab.jmi-overriding.solution.ear\

renamed dir openmdx-example-lab-1.jar to
openmdx-example-lab1.jar

ran ant -f run.xml pluginOverridingSolution (output in
3.changedtolab1.txt)

Discussion

  • Output

     


Anonymous


Cancel   Add attachments