Problem located.  The index.xml file in the http/blocks directory are
using the default artifact type (i.e. jar).  This results in the
addition of a reference to the project jar in the classpath generated by
magic.  The solution is to update the index.xml to declare explicitly
the projects that are not generating jar file by setting their primary
artifact type to "block".

The attached index.xml fixes the problem.

Steve.



> -----Original Message-----
> From: Stephen McConnell [mailto:[EMAIL PROTECTED]
> Sent: 12 August 2004 16:15
> To: 'Avalon framework users'
> Subject: RE: Http Facility Problem
> 
> 
> 
> > -----Original Message-----
> > From: Tobias Wolf [mailto:[EMAIL PROTECTED]
> 
> 
> >
<artifact>jar:avalon/http/avalon-http-server#SNAPSHOT</artifact>
> >       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >       I think here is the line where the jar wanted to be loaded,
> right ??
> 
> Thank you - yes - you have just saved me from going down the wrong
hole.
> The above line should *not* be there.  Looks like a bug in the block
> generator task.
> 
> Steve.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
<?xml version="1.0" encoding="ISO-8859-1"?>

<index>

  <import index="../../index.xml"
     href="http://svn.apache.org/repos/asf/avalon/trunk/planet/facilities/index.xml"/>

  <project basedir="context">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-context</name>
      <version>1.0.0</version>
      <status>SNAPSHOT</status> 
      <type>block</type> 
    </info>
    <dependencies>
      <include key="avalon-framework-api" runtime="false"/>
      <include key="avalon-http-api" />
      <include key="avalon-http-impl" />
      <include key="servletapi" />
    </dependencies>
  </project>

  <project basedir="server">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-server</name>
      <version>1.0.0</version>
      <status>SNAPSHOT</status> 
      <type>block</type> 
    </info>
    <dependencies>
      <include key="avalon-framework-api" runtime="false"/>
      <include key="avalon-http-api" />
      <include key="avalon-http-impl" />
    </dependencies>
  </project>

  <project basedir="hash-basic">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-hash-basic</name>
      <version>1.0.0</version>
      <type>block</type> 
      <status>SNAPSHOT</status> 
    </info>
    <dependencies>
      <include key="avalon-framework-api" runtime="false"/>
    </dependencies>
  </project>

  <project basedir="hash-form">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-hash-form</name>
      <version>1.0.0</version>
      <type>block</type> 
      <status>SNAPSHOT</status> 
    </info>
    <dependencies>
      <include key="avalon-framework-api" runtime="false"/>
    </dependencies>
  </project>

  <project basedir="hash-clientcert">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-hash-clientcert</name>
      <version>1.0.0</version>
      <type>block</type> 
      <status>SNAPSHOT</status> 
    </info>
    <dependencies>
      <include key="avalon-framework-api" runtime="false"/>
    </dependencies>
  </project>

  <project basedir="hash-digest">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-hash-digest</name>
      <version>1.0.0</version>
      <type>block</type> 
      <status>SNAPSHOT</status> 
    </info>
    <dependencies>
      <include key="avalon-framework-api" runtime="false"/>
    </dependencies>
  </project>

  <project basedir="demo">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-demo</name>
      <version>1.0.0</version>
      <type>jar</type> 
      <status>SNAPSHOT</status> 
    </info>
    <dependencies>
      <include key="avalon-http-impl" />
      <include key="servletapi" />
    </dependencies>
    <plugins>
      <include key="avalon-meta-tools"/>
    </plugins>
  </project>

  <project basedir="static">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-static</name>
      <version>1.0.0</version>
      <type>block</type>
      <status>SNAPSHOT</status> 
    </info>
    <dependencies>
      <include key="avalon-http-impl" />
      <include key="servletapi" />
    </dependencies>
  </project>

  <project basedir="servlet">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-servlet</name>
      <type>block</type>
      <version>1.0.0</version>
      <type>block</type>
      <status>SNAPSHOT</status> 
    </info>
    <dependencies>
      <include key="avalon-http-impl" />
      <include key="servletapi" />
    </dependencies>
  </project>

  <project basedir="examples">
    <info>
      <group>avalon/http</group>
      <name>avalon-http-examples</name>
      <version>1.0.0</version>
      <type>jar</type>
      <status>SNAPSHOT</status> 
    </info>
    <dependencies>
      <include key="servletapi" />
      <include key="avalon-http-servlet" />
    </dependencies>
  </project>
</index>
 

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

Reply via email to