Hi all, I got another glitch/bump! At this point I have finished porting over in Fulcrum the mimetype, localization, factory, intake, configuration components. They are all cleaned up and nicely use the merlin-project.xml. If you run 'maven build-fulcrum' from the root of the Fulcrum project everything works nicely. All the unit tests pass etc. Of course, I am just building up to my question!
In the unit tests for the IntakeTool and LocalizationTool's I am getting back an error that I would attribute to a missing .xinfo file, but in the Jar, they appear there! I have pasted the output below. Note, I first ran the build-fulcrum goal and then manually copied over the files to the Merlin directory as they are not yet available online. Is there anyway to specify that a repo is the MAVEN_LOCAL_REPO system variable at all? So, in this case, I checked the fulcrum-intake-1.0-alpha-2.jar and the xinfo file has this: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE type PUBLIC "-//AVALON/Type DTD Version 1.0//EN" "http://avalon.apache.org/dtds/meta/type_1_1.dtd" > <type> <info> <name>intake</name> <version>1.0.0</version> <lifestyle collection="liberal" destruction="terminal">transient</lifestyle> </info> <services> <service type="org.apache.fulcrum.intake.IntakeService"/> </services> <dependencies> <dependency type="org.apache.fulcrum.localization.LocalizationService"/> </dependencies> </type> So, I am guessing somewhere my block.xml or something isn't properly wiring things together. I have checked everything in, so if you build fulcrum, and then build turbine you'll see teh errors.. Thanks! Eric Pugh [DEBUG ] (fulcrum): implicit entries: 1 [DEBUG ] (fulcrum): repository declarations: 1 [DEBUG ] (fulcrum): repository 0 contains 6 entries. [DEBUG ] (fulcrum.classloader): classpath: file:/${user.dir}/./conf/test/merlin/;file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/merlin/tutorial/jars/hello-1.1.jar;file:/C:/Document s and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-mimetype-api-1.0-alpha-4.jar;fi le:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-mimetype-impl-1.0-alpha-4.jar;f ile:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-localization-api-1.0-alpha-4.ja r;file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-localization-impl-1.0-alpha-4.j ar;file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-intake-1.0-alpha-2.jar [DEBUG ] (fulcrum.classloader.scanner): scanning: file:/${user.dir}/./conf/test/merlin/ [DEBUG ] (fulcrum.classloader.scanner): scanning: file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/merlin/tutorial/jars/hello-1.1.jar [DEBUG ] (fulcrum.classloader.scanner): type: tutorial.HelloComponent [DEBUG ] (fulcrum.classloader.scanner): scanning: file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-mimetype-api-1.0-alpha-4.jar [DEBUG ] (fulcrum.classloader.scanner): scanning: file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-mimetype-impl-1.0-alpha-4.jar [DEBUG ] (fulcrum.classloader.scanner): type: org.apache.fulcrum.mimetype.DefaultMimeTypeService [DEBUG ] (fulcrum.classloader.scanner): scanning: file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-localization-api-1.0-alpha-4.ja r [DEBUG ] (fulcrum.classloader.scanner): scanning: file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-localization-impl-1.0-alpha-4.j ar [DEBUG ] (fulcrum.classloader.scanner): type: org.apache.fulcrum.localization.DefaultLocalizationService [DEBUG ] (fulcrum.classloader.scanner): scanning: file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-intake-1.0-alpha-2.jar Turbine/Merlin problem. ---- report ------------------------------------------------------- Exception: org.apache.avalon.merlin.kernel.KernelException Message: Block install failure: file:/c:/java/jakarta-turbine-2/./conf/test/merlin/ Cause: org.apache.avalon.composition.model.ModelException Message: Could not create classloader. Cause: org.apache.avalon.composition.model.ModelException Message: Unexpected error while scanning jar file: file:/C:/Documents and Settings/Eric Pugh/.merlin/repository/fulcrum/jars/fulcrum-intake-1.0-alpha-2.jar Cause: java.lang.Exception Message: Unable to locate resource from which to load info for component implemented by class "{0}". ---- stack trace --------------------------------------------------- java.lang.Exception: Unable to locate resource from which to load info for component implemented by class "{0}". at org.apache.avalon.meta.info.builder.TypeBuilder.buildFromXMLDescriptor(TypeB uilder.java:186) at org.apache.avalon.meta.info.builder.TypeBuilder.buildType(TypeBuilder.java:1 04) at org.apache.avalon.composition.model.impl.Scanner.addType(Scanner.java:377) at org.apache.avalon.composition.model.impl.Scanner.scanJarFile(Scanner.java:25 8) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]