You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Stephen McConnell <mc...@apache.org> on 2003/12/08 14:38:53 UTC

[merlin] release candidate 3.2 preparation

I am about to migrate the revised merlin kenel api and impl, 
command-line handler, unit test framework, and plugin from sandbox to 
the avalon/merlin/kernel directory.   Once that is done I'll be putting 
together a release candidate for 3.2 hopefully this evening together 
with a summary of changes, short-list of actions for completion, and 
notes concerning install changes.

Cheers, Steve.

(p.s. yes - I know I referred to this as 3.3 before but after doing all 
of the refactoring it turns out that 3.2 is ok as the release designation)

SJM

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [merlin] release candidate 3.2 preparation

Posted by Stephen McConnell <mc...@apache.org>.
OK - have just updated the DefaultCriteria source (which is where the 
url generation occurs).  Could you update merlin/kernel and let me know 
the result.

Steve.


Stephen McConnell wrote:

>
>
> Alexis Agahi wrote:
>
>> On Tuesday 09 December 2003 10:32, Stephen McConnell wrote:
>>  
>>
>>> OK - CVS is updated.
>>>
>>> To build you need to checkout the avalon cvs, then
>>>
>>>  $ cd meta
>>>  $ maven avalon:build
>>>
>>>  $ cd ..\util
>>>  $ maven avalon:build
>>>
>>>  $ cd ..\repository
>>>  $ maven avalon:build
>>>
>>>  $ cd ..\merlin
>>>  $ maven merlin:build
>>>   
>>
>>
>> We are not far from successfull build.!
>>
>
> :-)
>
> Now your going to upset me arn't you!
>
>>
>> "file://home/Al/works/merlin/config/kernel.xml"
>> looks like an unvalid url :) I can't remember the concerned 
>> properties file localtion (if any?).
>>
>
> I'm guessing but I think you find this is a result of file.toURL();
>
> What is happening is that the system is attempting to locate the 
> default kernel definition.  It looks for a file named 
> ${merlin.config}/kernel.xml and if that file exists, then the file is 
> converted to a url (using File.toURL()).  The code dealing with this 
> is in merlin/kerne/impl  - DefaultFactory.java - getKernelURL().  
> Based on the error below it sems that I need to fully exand the file 
> before creating the URL.
>
> Stephen.
>
>>
>>
>> -----------------------------
>> <snip/>
>>
>> +----------------------------------------
>> | Installing: Merlin CLI
>> | Memory: 27M/44M
>> +----------------------------------------
>>
>> java:prepare-filesystem:
>> avalon:artifact:
>>    [echo] Artifact: 
>> /home/Al/works/avalon/merlin/kernel/cli/target/merlin-cli-3.2-dev.jar.meta 
>>
>>    [copy] Copying 1 file to /home/Al/.maven/repository/merlin/jars
>>
>>
>> java:compile:
>> avalon:artifact:
>>    [echo] Artifact: 
>> /home/Al/works/avalon/merlin/kernel/cli/target/merlin-cli-3.2-dev.jar.meta 
>>
>>    [copy] Copying 1 file to /home/Al/.maven/repository/merlin/jars
>>
>>    [echo] Compiling to 
>> /home/Al/works/avalon/merlin/kernel/cli/target/classes
>>
>> java:jar-resources:
>> Copying 1 file to /home/Al/works/avalon/merlin/kernel/cli/target/classes
>>
>> test:prepare-filesystem:
>>
>> test:test-resources:
>>
>> test:compile:
>>
>> test:test:
>>    [junit] dir attribute ignored if running in the same VM
>>    [junit] Running org.apache.avalon.merlin.cli.test.MerlinCLITestCase
>> ---- exception report 
>> ----------------------------------------------------------
>> Exception: org.apache.avalon.merlin.KernelException
>> Message: Could not load the kernel directive: 
>> file://home/Al/works/merlin/config/kernel.xml
>> ---- cause 
>> ---------------------------------------------------------------------
>> Exception: java.net.UnknownHostException
>> Message: home
>> ---- stack trace 
>> ---------------------------------------------------------------
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
>> For additional commands, e-mail: dev-help@avalon.apache.org
>>
>>
>>  
>>
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [merlin] release candidate 3.2 preparation

Posted by Stephen McConnell <mc...@apache.org>.

Alexis Agahi wrote:

>On Tuesday 09 December 2003 10:32, Stephen McConnell wrote:
>  
>
>>OK - CVS is updated.
>>
>>To build you need to checkout the avalon cvs, then
>>
>>  $ cd meta
>>  $ maven avalon:build
>>
>>  $ cd ..\util
>>  $ maven avalon:build
>>
>>  $ cd ..\repository
>>  $ maven avalon:build
>>
>>  $ cd ..\merlin
>>  $ maven merlin:build
>>    
>>
>
>We are not far from successfull build.!
>

:-)

Now your going to upset me arn't you!

>
>"file://home/Al/works/merlin/config/kernel.xml"
>looks like an unvalid url :) 
>I can't remember the concerned properties file localtion (if any?).
>

I'm guessing but I think you find this is a result of file.toURL();

What is happening is that the system is attempting to locate the default 
kernel definition.  It looks for a file named 
${merlin.config}/kernel.xml and if that file exists, then the file is 
converted to a url (using File.toURL()).  The code dealing with this is 
in merlin/kerne/impl  - DefaultFactory.java - getKernelURL().  Based on 
the error below it sems that I need to fully exand the file before 
creating the URL.

Stephen.

>
>
>-----------------------------
><snip/>
>
>+----------------------------------------
>| Installing: Merlin CLI
>| Memory: 27M/44M
>+----------------------------------------
>
>java:prepare-filesystem:
>avalon:artifact:
>    [echo] Artifact: 
>/home/Al/works/avalon/merlin/kernel/cli/target/merlin-cli-3.2-dev.jar.meta
>    [copy] Copying 1 file to /home/Al/.maven/repository/merlin/jars
>
>
>java:compile:
>avalon:artifact:
>    [echo] Artifact: 
>/home/Al/works/avalon/merlin/kernel/cli/target/merlin-cli-3.2-dev.jar.meta
>    [copy] Copying 1 file to /home/Al/.maven/repository/merlin/jars
>
>    [echo] Compiling to /home/Al/works/avalon/merlin/kernel/cli/target/classes
>
>java:jar-resources:
>Copying 1 file to /home/Al/works/avalon/merlin/kernel/cli/target/classes
>
>test:prepare-filesystem:
>
>test:test-resources:
>
>test:compile:
>
>test:test:
>    [junit] dir attribute ignored if running in the same VM
>    [junit] Running org.apache.avalon.merlin.cli.test.MerlinCLITestCase
>---- exception report 
>----------------------------------------------------------
>Exception: org.apache.avalon.merlin.KernelException
>Message: Could not load the kernel directive: 
>file://home/Al/works/merlin/config/kernel.xml
>---- cause 
>---------------------------------------------------------------------
>Exception: java.net.UnknownHostException
>Message: home
>---- stack trace 
>---------------------------------------------------------------
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
>For additional commands, e-mail: dev-help@avalon.apache.org
>
>
>  
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [merlin] release candidate 3.2 preparation

Posted by Alexis Agahi <al...@users.sf.net>.
On Tuesday 09 December 2003 10:32, Stephen McConnell wrote:
> OK - CVS is updated.
>
> To build you need to checkout the avalon cvs, then
>
>   $ cd meta
>   $ maven avalon:build
>
>   $ cd ..\util
>   $ maven avalon:build
>
>   $ cd ..\repository
>   $ maven avalon:build
>
>   $ cd ..\merlin
>   $ maven merlin:build

We are not far from successfull build.!

"file://home/Al/works/merlin/config/kernel.xml"
looks like an unvalid url :) 
I can't remember the concerned properties file localtion (if any?).


-----------------------------
<snip/>

+----------------------------------------
| Installing: Merlin CLI
| Memory: 27M/44M
+----------------------------------------

java:prepare-filesystem:
avalon:artifact:
    [echo] Artifact: 
/home/Al/works/avalon/merlin/kernel/cli/target/merlin-cli-3.2-dev.jar.meta
    [copy] Copying 1 file to /home/Al/.maven/repository/merlin/jars


java:compile:
avalon:artifact:
    [echo] Artifact: 
/home/Al/works/avalon/merlin/kernel/cli/target/merlin-cli-3.2-dev.jar.meta
    [copy] Copying 1 file to /home/Al/.maven/repository/merlin/jars

    [echo] Compiling to /home/Al/works/avalon/merlin/kernel/cli/target/classes

java:jar-resources:
Copying 1 file to /home/Al/works/avalon/merlin/kernel/cli/target/classes

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:
    [junit] dir attribute ignored if running in the same VM
    [junit] Running org.apache.avalon.merlin.cli.test.MerlinCLITestCase
---- exception report 
----------------------------------------------------------
Exception: org.apache.avalon.merlin.KernelException
Message: Could not load the kernel directive: 
file://home/Al/works/merlin/config/kernel.xml
---- cause 
---------------------------------------------------------------------
Exception: java.net.UnknownHostException
Message: home
---- stack trace 
---------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [merlin] release candidate 3.2 preparation

Posted by Stephen McConnell <mc...@apache.org>.

OK - CVS is updated.

To build you need to checkout the avalon cvs, then

  $ cd meta
  $ maven avalon:build

  $ cd ..\util
  $ maven avalon:build
 
  $ cd ..\repository
  $ maven avalon:build

  $ cd ..\merlin
  $ maven merlin:build

Please note that the application repository location has changed.  Under 
3.0 the application repository was by default MERLIN_HOME/repository.  
With the changes related to repository management, Merlin now defaults 
to AVALON_HOME as the default cache.  To revert to the old behaviour you 
need to explicity declare this on the commandline using -repository 
%MERLIN_HOME%\repository (or in a property file using the 
"merlin.repository" key in either the working directory or you home 
directory).

There are still a few minor things to take care of but the current CVS 
is working and should be sufficient to validate against.

Cheers, Steve.


Stephen McConnell wrote:

>
>
> Alexis Agahi wrote:
>
>> On Monday 08 December 2003 18:26, Stephen McConnell wrote:
>>  
>>
>>> The cvs updating is complete.
>>>   
>>
>>
>> Did I miss something? In build process, after clear checkout of 
>> merlin and complet rebuild of meta, I get a build failure.
>>
>
> Hang on a moment and I'll update CVS with this morning's changes and 
> post build details.
>
> Cheers, Steve.
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [merlin] release candidate 3.2 preparation

Posted by Stephen McConnell <mc...@apache.org>.

Alexis Agahi wrote:

>On Monday 08 December 2003 18:26, Stephen McConnell wrote:
>  
>
>>The cvs updating is complete.
>>    
>>
>
>Did I miss something? In build process, after clear checkout of merlin and 
>complet rebuild of meta, I get a build failure.
>

Hang on a moment and I'll update CVS with this morning's changes and 
post build details.

Cheers, Steve.

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [merlin] release candidate 3.2 preparation

Posted by Alexis Agahi <al...@users.sf.net>.
On Monday 08 December 2003 18:26, Stephen McConnell wrote:
> The cvs updating is complete.

Did I miss something? In build process, after clear checkout of merlin and 
complet rebuild of meta, I get a build failure.

--------------------------------

> maven merlin:update

<snip/>

+----------------------------------------
| Installing: Merlin CLI
| Memory: 37M/39M
+----------------------------------------

java:prepare-filesystem:
    [mkdir] Created dir: 
/home/Al/works/avalon/merlin/kernel/cli/target/classes

BUILD FAILED
File...... file:/home/Al/works/avalon/merlin/
Element... maven:reactor
Line...... 77
Column.... 32
Unable to obtain goal [java:prepare-filesystem] -- 
file:/home/Al/works/avalon/merlin/kernel/cli/:5:41: <attainGoal> No goal 
[avalon:artifact]
Total time: 52 seconds


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [merlin] release candidate 3.2 preparation

Posted by Stephen McConnell <mc...@apache.org>.
The cvs updating is complete.
Am currently fighting with the NT service which is not picking up 
${merlin.dir}.
More news to follow (hopefully soon).

Stephen.


Stephen McConnell wrote:

>
> I am about to migrate the revised merlin kenel api and impl, 
> command-line handler, unit test framework, and plugin from sandbox to 
> the avalon/merlin/kernel directory.   Once that is done I'll be 
> putting together a release candidate for 3.2 hopefully this evening 
> together with a summary of changes, short-list of actions for 
> completion, and notes concerning install changes.
>
> Cheers, Steve.
>
> (p.s. yes - I know I referred to this as 3.3 before but after doing 
> all of the refactoring it turns out that 3.2 is ok as the release 
> designation)
>
> SJM
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: dev-unsubscribe@avalon.apache.org

Posted by David Duddleston <da...@i2a.com>.
Ooppsss... Sorry... 

-david

> -----Original Message-----
> From: David Duddleston [mailto:david@i2a.com]
> Sent: Monday, December 08, 2003 8:02 AM
> To: Avalon Developers List
> Subject: dev-unsubscribe@avalon.apache.org
> 
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.541 / Virus Database: 335 - Release Date: 11/14/2003
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.541 / Virus Database: 335 - Release Date: 11/14/2003
> 
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.541 / Virus Database: 335 - Release Date: 11/14/2003


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


dev-unsubscribe@avalon.apache.org

Posted by David Duddleston <da...@i2a.com>.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.541 / Virus Database: 335 - Release Date: 11/14/2003


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org