beta 2

9 views
Skip to first unread message

Javier Asensio

unread,
Jul 14, 2011, 11:25:11 AM7/14/11
to daisy-pip...@googlegroups.com
Hi guys!

I've just committed the changes for the beta2 related to the framework
+felix
+logging
+CHANGELOG
+assembly descriptor
+mvn assembly:single produces a beta2 file

Tomorrow I'll change the batch scripts to make everything work in windows (http://goo.gl/yvwWd), without space restrictions this time I guess... any idea about when the next week meeting is taking place?

cheers,

Javi

Javier Asensio

unread,
Jul 14, 2011, 11:26:04 AM7/14/11
to daisy-pip...@googlegroups.com
ahh, I've tried it out, but I may encourage you to run some tests too, just to check that it works in different environments.

cheers,

Javi

Marisa DeMeglio

unread,
Jul 14, 2011, 5:15:22 PM7/14/11
to daisy-pip...@googlegroups.com
It works fine via ./dp2ws.sh.  However, eclipse is complaining about webservice and logging bundles (see below).  I checked that all required bundles are selected, and also that my VM arguments are intact from the other day's changes. 



osgi> 14:11:53.932 [Start Level Event Dispatcher] INFO  org.daisy.calabash.Activator - calabash-extensions activated
14:11:54.018 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - New converter
14:11:54.019 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - Name: test,Desc: Test number 1,url: http://www.example.org/module-B/hello.xsl
14:11:54.028 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - New converter
14:11:54.028 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - Name: testHello,Desc: Converter Hello,url: http://www.example.org/test/helloTest.xpl
14:11:54.032 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - New converter
14:11:54.032 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - Name: dtbook-to-zedai,Desc: Convert DTBook XML to ZedAI XML,url: http://www.daisy.org/pipeline/modules/dtbook-to-zedai/dtbook-to-zedai.xpl
14:11:54.037 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - New converter
14:11:54.037 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - Name: merge-dtbook,Desc: DTBook utility for merging two or more files.,url: http://www.daisy.org/pipeline/modules/dtbook-utils/merge-dtbook/merge-dtbook.xpl
14:11:54.037 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - New converter
14:11:54.037 [Component Resolve Thread (Bundle 128)] DEBUG o.d.c.r.OSGIConverterDescriptor - Name: upgrade-dtbook,Desc: DTBook utility for upgrading to DTBook 2005-3.,url: http://www.daisy.org/pipeline/modules/dtbook-utils/upgrade-dtbook/upgrade-dtbook.xpl
14:11:54.094 [Thread-4] DEBUG o.d.pipeline.jobmanager.JobService - Starting the job runner
!SESSION 2011-07-14 14:11:49.073 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Command-line arguments:  -dev file:/Users/marisa/Projects/pipeline2/daisy-pipeline/.metadata/.plugins/org.eclipse.pde.core/webservice/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog -console

!ENTRY org.daisy.pipeline.webservice 4 0 2011-07-14 14:11:54.100
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.daisy.pipeline.logging; version="0.0.0"
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
14:11:54.103 [Start Level Event Dispatcher] DEBUG o.d.pipeline.xproc.impl.Activator - Hello log
14:11:54.124 [Component Resolve Thread (Bundle 128)] INFO  o.d.c.DynamicXProcConfigurationFactory - Adding step to registry: hello
14:11:54.125 [Component Resolve Thread (Bundle 128)] INFO  o.d.c.DynamicXProcConfigurationFactory - Adding step to registry: message
14:11:54.126 [Component Resolve Thread (Bundle 128)] INFO  o.d.c.DynamicXProcConfigurationFactory - Adding step to registry: xslt
14:11:54.126 [Component Resolve Thread (Bundle 128)] INFO  o.d.c.DynamicXProcConfigurationFactory - org.daisy.calabash.DynamicXProcConfigurationFactory is up
Cannot read edition.properties file located using ClassLoader org.eclipse.core.runtime.internal.adaptor.ContextFinder@5f95ff24 - continuing
Cannot read edition.properties file located using ClassLoader org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@3622e177 - continuing

14:11:54.301 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.xproc.impl.XProcFactoryImpl - configuration set via osgi
14:11:54.324 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.tracker.EXPathPackageTracker - tracking: module-hello,bundleresource://75.fwk1421876889/expath-pkg.xml
14:11:54.413 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Registring module-hello
14:11:54.414 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.example.org/module-hello/helloizer.xsl
14:11:54.414 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.example.org/module-hello/buenosdiasenorita.xpl
14:11:54.415 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.tracker.EXPathPackageTracker - tracking: test-converter,bundleresource://89.fwk1421876889/expath-pkg.xml
14:11:54.416 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Registring module-B
14:11:54.416 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.example.org/module-B/hello.xsl
14:11:54.418 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.tracker.EXPathPackageTracker - tracking: test-converter2,bundleresource://116.fwk1421876889/expath-pkg.xml
14:11:54.419 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Registring module-test
14:11:54.420 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.example.org/test/helloTest3.xpl
14:11:54.420 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.example.org/test/helloTest2.xpl
14:11:54.420 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.example.org/test/helloTest.xpl
14:11:54.420 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.tracker.EXPathPackageTracker - tracking: org.daisy.pipeline.modules.metadata-utils,bundleresource://118.fwk1421876889/expath-pkg.xml
14:11:54.421 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Registring metadata-utils
14:11:54.421 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/pipeline/modules/metadata-utils/metadata-utils-library.xpl
14:11:54.421 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.tracker.EXPathPackageTracker - tracking: org.daisy.pipeline.modules.dtbook-to-zedai,bundleresource://119.fwk1421876889/expath-pkg.xml
14:11:54.422 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Registring dtbook-to-zedai
14:11:54.422 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/pipeline/modules/dtbook-to-zedai/dtbook-to-zedai.xpl
14:11:54.422 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.tracker.EXPathPackageTracker - tracking: org.daisy.pipeline.modules.dtbook-utils,bundleresource://120.fwk1421876889/expath-pkg.xml
14:11:54.425 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Registring dtbook-utils
14:11:54.425 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/pipeline/modules/dtbook-utils/dtbook-utils-library.xpl
14:11:54.425 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/pipeline/modules/dtbook-utils/upgrade-dtbook/upgrade-dtbook.xpl
14:11:54.425 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/pipeline/modules/dtbook-utils/merge-dtbook/merge-dtbook.xpl
14:11:54.425 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.tracker.EXPathPackageTracker - tracking: mediaoverlay-utils,bundleresource://121.fwk1421876889/expath-pkg.xml
14:11:54.427 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Registring mediaoverlay-utils
14:11:54.427 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/ns/pipeline/utilities/mediaoverlay-utils/rearrange-content.xpl
14:11:54.427 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/ns/pipeline/utilities/mediaoverlay-utils/rearrange.xpl
14:11:54.427 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/ns/pipeline/utilities/mediaoverlay-utils/upgrade-smil.xpl
14:11:54.427 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/ns/pipeline/utilities/mediaoverlay-utils/join.xpl
14:11:54.428 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.tracker.EXPathPackageTracker - tracking: html-utils,bundleresource://127.fwk1421876889/expath-pkg.xml
14:11:54.429 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Registring html-utils
14:11:54.429 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/ns/pipeline/utilities/html-utils/html5-outliner.xsl
14:11:54.429 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Component http://www.daisy.org/ns/pipeline/utilities/html-utils/html-library.xpl
14:11:54.431 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.m.t.DefaultModuleRegistry - Module registry up
14:11:54.454 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.OSGIDaisyPipelineContext - setting job manager
14:11:54.455 [Component Resolve Thread (Bundle 128)] DEBUG o.d.p.OSGIDaisyPipelineContext - OSGIDaisyContext service up

!ENTRY org.eclipse.osgi 4 0 2011-07-14 14:11:54.464
!MESSAGE Bundle initial@reference:file:../webservice/ was not resolved.

!ENTRY org.eclipse.osgi 2 0 2011-07-14 14:11:54.496
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-07-14 14:11:54.497
!MESSAGE Bundle initial@reference:file:../webservice/ was not resolved.
!SUBENTRY 2 org.daisy.pipeline.webservice 2 0 2011-07-14 14:11:54.497
!MESSAGE Missing imported package org.daisy.pipeline.logging_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2011-07-14 14:11:54.511
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-07-14 14:11:54.511
!MESSAGE Bundle org.daisy.pipeline.webservice_1.0.0.qualifier [151] was not resolved.
!SUBENTRY 2 org.daisy.pipeline.webservice 2 0 2011-07-14 14:11:54.512
!MESSAGE Missing imported package org.daisy.pipeline.logging_0.0.0.

Javier Asensio

unread,
Jul 14, 2011, 5:22:12 PM7/14/11
to daisy-pip...@googlegroups.com
Great thanks :)!
Have a look if the new bundle org.daisy.pipeline.logging is selected in your run config plz,

cheers,

Javi

Marisa DeMeglio

unread,
Jul 14, 2011, 5:32:07 PM7/14/11
to daisy-pip...@googlegroups.com
org.daisy.pipeline.logging and org.daisy.pipeline.webservice are nowhere to be found :)  there are also several of our bundles marked as 'out of sync'.

Javier Asensio

unread,
Jul 14, 2011, 6:21:21 PM7/14/11
to daisy-pip...@googlegroups.com
no cow this time :( ?

Romain Deltour

unread,
Jul 14, 2011, 6:55:55 PM7/14/11
to daisy-pip...@googlegroups.com
I do have the following output when runnign dp2.sh from the assembly:

$ ./dp2.sh 
SLF4J: The following loggers will not work becasue they were created
SLF4J: during the default configuration phase of the underlying logging system.
SLF4J: org.daisy.converter.registry.OSGIConverterDescriptor
SLF4J: org.daisy.converter.registry.OSGIConverterDescriptor
SLF4J: org.daisy.pipeline.logging.Activator
SLF4J: org.daisy.converter.registry.OSGIConverterDescriptor
SLF4J: org.daisy.converter.registry.OSGIConverterDescriptor
SLF4J: org.daisy.converter.registry.OSGIConverterDescriptor
SLF4J: org.daisy.converter.parser.Activator
(... then the expected command line output ...)

Shouldn't  the org.daisy.pipeline.logging bundle be started with a lower start level than the other framework bundles ?

R.


Le 14 juil. 11 à 17:25, Javier Asensio a écrit :
Reply all
Reply to author
Forward
0 new messages