Re: Still problems with build

Stephen McConnell <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
Hi Dave:

Good to see you got the mail problems sorted.

Re. the remaining two problems - the changes to the top level build.xml 
have not been committed yet so if you have done a clean checkout make 
sure you update build.xml such that the ${magic.cache} property is 
defined as shown below:

     <property name="magic.cache" location="${magic.home}/main"/>

Secondly - the second problem you mentioned is probably related to 
tools/magic/build.xml.  I've updated mine locally and now I'm not seeing 
the issue.

In tools/magic/build.xml just change this line from:

   <target name="install" depends="standard/install">

to:

   <target name="update" depends="install">

This means that the default install target will run normally and that 
the jar file will *not* be copied to the ${user.dir}/.ant/lib - it seems 
that the error is occurring because we are overwriting the jar that is 
in memory and this causes the jvm to get bit confused.

Stephen.



David Leangen wrote:
> Guys, I really appreciate all your help, and I'm willing to keep working
> with you until this baby's put to bed.
> 
> There are still some problems with the build, so it seems.
> 
> First, the problem with the mail api remains. So, to get past that, I just
> did some manual changes, but you still may want to look into this.
> 
> Next, I ran into another build error:
> 
> 
> 
> 
> info:
> ------------------------------------------------------------------------
> name: avalon-tutorial-parameters
> ------------------------------------------------------------------------
> 
> init:
>    [plugin] Install "plugin:avalon/meta/avalon-meta-tools"
>    [plugin] Task "plugin:avalon/meta/avalon-meta-tools:meta"
> 
> prepare:
> [x:prepare] creating target directory
> [x:prepare] Created dir:
> Z:\apps\avalon\planet\tutorials\parameterization\target
> 
> [x:prepare] creating test directory
> [x:prepare] Created dir:
> Z:\apps\avalon\planet\tutorials\parameterization\target
> \test
> [x:prepare] Created dir:
> Z:\apps\avalon\planet\tutorials\parameterization\target
> \build\main
> [x:prepare] Copying 2 files to
> Z:\apps\avalon\planet\tutorials\parameterization\
> target\build\main
>      [meta] Writing descriptors using 'xml' format.
>      [meta] Processed 1 Types and 0 Services from a total of 2 classes.
> 
> standard.build:
>   [x:javac] Compiling 2 source files to
> Z:\apps\avalon\planet\tutorials\paramete
> rization\target\classes
> 
> build:
> 
> BUILD FAILED
> Z:\apps\avalon\build.xml:50: Following error occured while executing this
> line
> Z:\apps\avalon\central\system\build\reactor.xml:39: Following error
> occured whil
> e executing this line
> java.lang.NoClassDefFoundError:
> [Lorg/apache/avalon/tools/tasks/BlockTask$Parame
> ter;
> 


-- 

|---------------------------------------|
| Magic by Merlin                       |
| Production by Avalon                  |
|                                       |
| http://avalon.apache.org              |
|---------------------------------------|
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.