You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Berin Loritsch <bl...@apache.org> on 2002/03/26 15:55:38 UTC

Build failure

The instrumentation code can't find the Avalon framework lib to build
the code.

I executed "ant clean" and got this error:

BUILD FAILED

D:\projects\jakarta-avalon-excalibur\instrument-client\build.xml:61:
taskdef cla
ss org.apache.commons.altrmi.generator.ant.AltrmiInterfaceTask cannot be
found


"They that give up essential liberty to obtain a little temporary safety
 deserve neither liberty nor safety."
                - Benjamin Franklin


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Build failure

Posted by Leif Mortenson <le...@silveregg.co.jp>.
> It should be in a file simply named "ant.properties",
> and you should access it in the build file.
> 
> The only place that ".ant.properties" (ntoe the preceding period)
> should be used is in your $HOME directory.


That is how it is being done.

Cheers,
Leif


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Build failure

Posted by Berin Loritsch <bl...@apache.org>.

> -----Original Message-----
> From: Leif Mortenson [mailto:leif@silveregg.co.jp] 
> Sent: Wednesday, March 27, 2002 5:43 AM
> To: Avalon Developers List
> Subject: Re: Build failure
> 
> 
> Berin Loritsch wrote:
> 
> > The instrumentation code can't find the Avalon framework 
> lib to build 
> > the code.
> > 
> > I executed "ant clean" and got this error:
> > 
> > BUILD FAILED
> > 
> > D:\projects\jakarta-avalon-excalibur\instrument-client\build.xml:61:
> > taskdef cla
> > ss 
> org.apache.commons.altrmi.generator.ant.AltrmiInterfaceTask cannot 
> > be found
> 
> 
> This is because the project requires the presence of the 
> Altrmi jars.  See the ant.properties.sample files.  Is this 
> not how I should have set things up?
> 
> One thing that I had liked about the ond build structure was 
> that this kind of thing was easier.  I need to have a lot of 
> stuff defined in my .ant.properties file now just to get 
> things to build correctly.


It should be in a file simply named "ant.properties",
and you should access it in the build file.

The only place that ".ant.properties" (ntoe the preceding period)
should be used is in your $HOME directory.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Build failure

Posted by Leif Mortenson <le...@silveregg.co.jp>.
Berin Loritsch wrote:

> The instrumentation code can't find the Avalon framework lib to build
> the code.
> 
> I executed "ant clean" and got this error:
> 
> BUILD FAILED
> 
> D:\projects\jakarta-avalon-excalibur\instrument-client\build.xml:61:
> taskdef cla
> ss org.apache.commons.altrmi.generator.ant.AltrmiInterfaceTask cannot be
> found


This is because the project requires the presence of the Altrmi jars.  See the
ant.properties.sample files.  Is this not how I should have set things up?

One thing that I had liked about the ond build structure was that this kind of
thing was easier.  I need to have a lot of stuff defined in my .ant.properties
file now just to get things to build correctly.

Cheers,
Leif


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>