I somehow broke everything and can't figure out what I'm doing wrong. :-(

This is the error I'm getting:

Unable to locate a component type descriptor for the component class
[com.company.Component] in the classloader.  Please verify that the
component classname is correct and that a component type descriptor is
included in a jar file available within the container classloader.


This is the block file generated (which seems ok to me! And everything
appears to be built correctly and exists in the repository.):

<?xml version="1.0" encoding="ISO-8859-1"?>

<container name="expedition-xml">

  <classloader>
    <classpath>
      <artifact>jar:expedition/lib/expedition-lib#0.0.1</artifact>
      <artifact>jar:commons-logging/commons-logging#1.0.4</artifact>
      <artifact>jar:commons-logging/commons-logging-api#1.0.4</artifact>

<artifact>jar:avalon/framework/avalon-framework-api#SNAPSHOT</artifact>

<artifact>jar:avalon/framework/avalon-framework-impl#SNAPSHOT</artifact>
      <artifact>jar:junit/junit#3.8.1</artifact>
      <artifact>jar:expedition/xml/expedition-xml#0.0.1</artifact>
    </classpath>
  </classloader>

  <component name="xmlChunkerComponent" class="com.company.Component"/>

</container>



This is the part in my build file that builds the block:

  <target name="build" depends="standard.build">
    <x:block name="expedition-xml" embed="MAIN">
      <x:component name="xmlChunkerComponent"
class="com.company.Component"/>
    </x:block>
  </target>


So, my questions are:

 1. Any ideas what I'm doing wrong?

 2. What does <x:block name="bla" embed="MAIN"> do, anyway? Even when I
played around with it, I couldn't notice how it affected the build.


Thanks!




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to