Cameron:
I've located the problem. Basically I've been separating magic from avalon (objective is to make it more usable in external projects). In that process I'm no longer including the external jars in the magic bar file. Instead there is a separate bar file containing mailapi and jms but this bar isn't being loaded because a unbar task does not exist (at least not yet).
I'm going to experiment a little and see what we can do to have the avalon setup target do the magic setup plus downloading and installing of the avalon supplementary content.
Cheers, Steve.
Cameron Fieber wrote:
On Sun, 2004-07-04 at 10:53, Stephen McConnell wrote:
Did you type ...
$ ant setup $ ant
I did, but I'll do a fresh attempt. $ rm -rf ~/.ant ~/.magic $ svn co http://svn.apache.org/repos/asf/avalon/trunk avalon ... Checked out revision 22578. $ cd avalon $ ant setup -l ~/ant-setup.log $ ant -l ~/ant-1st.log -fails to download mailapi-1.3.1.jar, so I manually copied it $ ant -l ~/ant-2nd.log BUILD SUCCESSFUL
Not sure what changed this time, although I noticed the revision number is up a few from when I first ran into trouble with the avalon-finder-test. Also I'm on a high latency network connection, so if there is any attempt to make a network request for the artifact, it is possible that could have caused issues.
I'm attaching ant-setup.log and ant-1st.log in case it will help track down why mailapi isn't being installed.
Anyhow, seems to be working now, thanks!
-Cameron
The "ant setup" should take care of the mapilapi stuff for you. The "ant" command should build the entire avalon without problem.
It is now failing on avalon-finder-test with the message: Message: Unknown artifact: [artifact:jar:avalon/finder/avalon-finder-impl#1.0.0-DEV] The file
~/.magic/main/avalon/finder/avalon-finder-impl-1.0.0-DEV.jar
exists, so I'm not sure why this one would be happening.
Umm - doesn't sound right. I have a separate checkout of avalon and
its working fine. Could you do an update and then "ant setup" followed by
"ant" and let me know what happens?
Cheers, Steve.
--
|---------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org | |---------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------
setup:
check-magic-home:
declare-magic-home:
setup-proxy:
setup-antlib: [mkdir] Created dir: /home/cfieber/.ant/lib
create-magic-home: [echo] Preparing magic system using /home/cfieber/.magic [echo] Using home directory: /home/cfieber/.magic [mkdir] Created dir: /home/cfieber/.magic [echo] Using cache: /home/cfieber/.magic/main [mkdir] Created dir: /home/cfieber/.magic/main [echo] Using doc repository: /home/cfieber/.magic/docs [mkdir] Created dir: /home/cfieber/.magic/docs [mkdir] Created dir: /home/cfieber/.magic/main/avalon/tools/bars [get] Getting: http://www.dpml.net/avalon/tools/bars/avalon-tools.bar [unzip] Expanding: /home/cfieber/.magic/main/avalon/tools/bars/avalon-tools.bar into /home/cfieber/.magic/main/avalon/tools [copy] Copying 1 file to /home/cfieber/.magic [mkdir] Created dir: /home/cfieber/.magic/templates [copy] Warning: modified in the future. [copy] Copying 2 files to /home/cfieber/.magic/templates [mkdir] Created dir: /home/cfieber/.magic/themes [copy] Warning: modified in the future. [copy] Warning: modern modified in the future. [copy] Warning: modern/html modified in the future. [copy] Warning: modern/html/resources modified in the future. [copy] Warning: modern/html/resources/images modified in the future. [copy] Warning: modern/html/resources/styles modified in the future. [copy] Copying 4 files to /home/cfieber/.magic/themes [copy] Warning: avalon-tools-magic.jar modified in the future. [copy] Copying 1 file to /home/cfieber/.ant/lib
setup-junit: [echo] Resolving junit... [get] Getting: http://www.dpml.net/junit/jars/junit-3.8.1.jar
setup: [echo] Setup complete.
BUILD SUCCESSFUL Total time: 6 seconds
------------------------------------------------------------------------
verify:
default: import: /home/cfieber/development/avalon/central/system/index.xml import: /home/cfieber/development/avalon/tools/index.xml import: /home/cfieber/development/avalon/runtime/index.xml import: /home/cfieber/development/avalon/planet/index.xml Resource count: 65
default: [x:reactor] Candidates: 55 [x:reactor] Preparing build sequence. ------------------------------------------------------------------------ [avalon/util/avalon-util-criteria] [avalon/logkit/avalon-logkit] [avalon/tools/avalon-tools-magic] [avalon/util/avalon-util-env] [avalon/util/avalon-util-defaults] [avalon/util/avalon-util-i18n] [avalon/util/avalon-util-exception] [avalon/repository/avalon-repository-api] [avalon/repository/avalon-repository-util] [avalon/repository/avalon-repository-spi] [avalon/repository/avalon-repository-main] [avalon/framework/avalon-framework-api] [avalon/framework/avalon-framework-legacy] [avalon/framework/avalon-framework-impl] [avalon/util/avalon-util-configuration] [avalon/meta/avalon-meta-api] [avalon/meta/avalon-meta-spi] [avalon/meta/avalon-meta-impl] [avalon/meta/avalon-meta-tools] [avalon/util/avalon-util-lifecycle] [avalon/test/avalon-test-playground] [avalon/test/avalon-test-components] [avalon/repository/avalon-repository-cli] [avalon/repository/avalon-repository-impl] [avalon/repository/avalon-repository-test] [avalon/logging/avalon-logging-api] [avalon/logging/avalon-logging-spi] [avalon/logging/avalon-logging-impl] [avalon/logging/avalon-logging-logkit-api] [avalon/logging/avalon-logging-logkit-datagram] [avalon/logging/avalon-logging-logkit-socket] [avalon/logging/avalon-logging-logkit-syslog] [avalon/logging/avalon-logging-log4j] [avalon/logging/avalon-logging-logkit-impl] [avalon/logging/avalon-logging-test] [avalon/test/avalon-test-teste] [avalon/test/avalon-test-testd] [avalon/test/avalon-test-testc] [avalon/test/avalon-test-testb] [avalon/test/avalon-test-testa] [avalon/test/avalon-test-includes] [avalon/test/avalon-test-dynamics] [avalon/util/avalon-util-extension-api] [avalon/util/avalon-util-extension-impl] [avalon/composition/avalon-composition-api] [avalon/composition/avalon-composition-spi] [avalon/composition/avalon-composition-impl] [avalon/activation/avalon-activation-api] [avalon/activation/avalon-activation-impl] [avalon/merlin/avalon-merlin-api] [avalon/merlin/avalon-merlin-impl] [avalon/merlin/avalon-merlin-cli] [avalon/runtime] [avalon/site] [avalon/merlin/avalon-merlin-unit] ------------------------------------------------------------------------
info: ------------------------------------------------------------------------ name: avalon-util-criteria ------------------------------------------------------------------------
init:
prepare: [x:prepare] creating target directory [mkdir] Created dir: /home/cfieber/development/avalon/runtime/util/criteria/target [x:prepare] creating test directory [mkdir] Created dir: /home/cfieber/development/avalon/runtime/util/criteria/target/test [mkdir] Created dir: /home/cfieber/development/avalon/runtime/util/criteria/target/build/main [copy] Copying 5 files to /home/cfieber/development/avalon/runtime/util/criteria/target/build/main [copy] Copying 1 file to /home/cfieber/development/avalon/runtime/util/criteria/target/build/main
build: [mkdir] Created dir: /home/cfieber/development/avalon/runtime/util/criteria/target/classes [javac] Compiling 5 source files to /home/cfieber/development/avalon/runtime/util/criteria/target/classes
package: [mkdir] Created dir: /home/cfieber/development/avalon/runtime/util/criteria/target/deliverables/jars [jar] Building jar: /home/cfieber/development/avalon/runtime/util/criteria/target/deliverables/jars/avalon-util-criteria-1.1.0.jar [x:jar] Creating md5 checksum
test:
install: [mkdir] Created dir: /home/cfieber/.magic/main/avalon/util [copy] Copying 2 files to /home/cfieber/.magic/main/avalon/util
info: ------------------------------------------------------------------------ name: avalon-logkit ------------------------------------------------------------------------
init:
prepare: [x:prepare] creating target directory [mkdir] Created dir: /home/cfieber/development/avalon/runtime/logkit/target [x:prepare] creating test directory [mkdir] Created dir: /home/cfieber/development/avalon/runtime/logkit/target/test [mkdir] Created dir: /home/cfieber/development/avalon/runtime/logkit/target/build/main [copy] Copying 61 files to /home/cfieber/development/avalon/runtime/logkit/target/build/main [copy] Copying 10 files to /home/cfieber/development/avalon/runtime/logkit/target/build/main [mkdir] Created dir: /home/cfieber/development/avalon/runtime/logkit/target/build/test [copy] Copying 11 files to /home/cfieber/development/avalon/runtime/logkit/target/build/test [copy] Copying 1 file to /home/cfieber/development/avalon/runtime/logkit/target/build
build: [mkdir] Created dir: /home/cfieber/development/avalon/runtime/logkit/target/classes [get] Getting: http://www.dpml.net/avalonx/supplemental/jars/mailapi-1.3.1.jar [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Can't get http://www.dpml.net/avalonx/supplemental/jars/mailapi-1.3.1.jar to /home/cfieber/.magic/main/avalonx/supplemental/jars/mailapi-1.3.1.jar [get] Getting: http://www.apache.org/dist/java-repository/avalonx/supplemental/jars/mailapi-1.3.1.jar [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Can't get http://www.apache.org/dist/java-repository/avalonx/supplemental/jars/mailapi-1.3.1.jar to /home/cfieber/.magic/main/avalonx/supplemental/jars/mailapi-1.3.1.jar [get] Getting: http://www.ibiblio.org/maven/avalonx/supplemental/jars/mailapi-1.3.1.jar [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Can't get http://www.ibiblio.org/maven/avalonx/supplemental/jars/mailapi-1.3.1.jar to /home/cfieber/.magic/main/avalonx/supplemental/jars/mailapi-1.3.1.jar
BUILD FAILED /home/cfieber/development/avalon/build.xml:30: Following error occured while executing this line /home/cfieber/development/avalon/central/system/build/reactor.xml:39: Following error occured while executing this line /home/cfieber/development/avalon/central/system/build/standard.xml:23: java.io.FileNotFoundException: avalonx/supplemental/jars/mailapi-1.3.1.jar
Total time: 7 seconds
------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
|---------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org | |---------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]