I have a question concerning this. You have an /avalon directory and an environment variable for AVALON_HOME. What is inside your avalon directory? When I downloaded the avalon binary all it unpacked was a /docs and and 3 jar files. This was the Avalon Framework 4.1.5.
Also, when a response to this email was to have the MERLIN_HOME point to /avalon/merlin/target/merlin, I couldn't find that directory either. When my extraction of Merlin occured, the following directories were created: /bin /config and /system This is my current directory setup (windows XP) C:/Avalon C:/Avalon/avalon-framework/ C:/Avalon/avalon-framwork/docs C:/Avalon/excalibur-fortress-1.0 C:/Avalon/excalibur-fortress-1.0/docs C:/Avalon/excalibur-fortress-1.0/servlet C:/Avalon/excalibur-fortress-1.0/test C:/Avalon/Maven 1.0-rc1 C:/Avalon/Maven 1.0-rc1/bin C:/Avalon/Maven 1.0-rc1/lib C:/Avalon/Maven 1.0-rc1/plugins C:/Avalon/Maven 1.0-rc1/repository C:/Avalon/Merlin/plugins C:/Avalon/Merlin/tutorial C:/Avalon/Merlin/merlin/bin C:/Avalon/Merlin/merlin/config C:/Avalon/Merlin/merlin/system C:/Java I couldn't find any documentation on how to set up the folder hierarchy. So I'm wondering if what I have is correct, or totally out the ball park? Thanks, Thai Lam On Mon, 1 Mar 2004 [EMAIL PROTECTED] wrote: > > on the page http://avalon.apache.org/repository/start/install/index.html, > im trying to follow the instructions and am having trouble. must be > something silly im doing but im tired of ripping my hair out. > > I downloaded all of avalon from cvs into a dir called /dev_sandbox using > > $ cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login > $ cvs -z3 -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co avalon > > that made it reside in /dev_sandbox/avalon > > in case it helps, the following env variables are set > > ANT_HOME=/opt/apache-ant-1.6.1 > MAVEN_HOME=/dev_sandbox/maven > AVALON_HOME=/dev_sandbox/avalon > MERLIN_HOME=/dev_sandbox/avalon/merlin > JAVA_HOME=/usr/java > > If I then follow these directions, and cd to $AVALON_HOME/util and start > maven, I get the error: > > [EMAIL PROTECTED] avalon]# cd util/ > [EMAIL PROTECTED] util]# maven > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.1-SNAPSHOT > > Starting the reactor... > > Our processing order: > > Avalon Util Criteria > Avalon Environment Utilities > Avalon Property Defaults > Avalon Exception Utilities > Avalon Extension API > Avalon Extension Framework > Avalon Plugin > > +---------------------------------------- > | Building: Avalon Util Criteria > | Memory: 2M/3M > +---------------------------------------- > Starting the reactor... > BUILD FAILED > File...... file:/dev_sandbox/avalon/util/maven.xml > Element... maven:reactor > Line...... 53 > Column.... 31 > Unable to obtain goal [avalon:build] -- > file:/dev_sandbox/avalon/util/maven.xml:53:31: <maven:reactor> Error > getting projects > Total time: 4 seconds > Finished at: Mon Mar 01 18:37:34 PST 2004 > > Anyone know what that error is ? (I also get a maven build error if I try > and do maven in ../repository) > > Note: If however, I do the maven command from the avalon dir iteslf, It > seems to build successfully > > I have attached the offending maven.xml in case it is needed: > > <project default="avalon:build" xmlns:maven="jelly:maven" > xmlns:j="jelly:core" xmlns:util="jelly:util" xmlns:ant="jelly:ant"> > > <!-- > ============================================================================== > > switches > ============================================================================== > > --> > > <ant:property name="avalon.snapshot" value="true"/> > > <!-- > ============================================================================== > > dependent properties > ============================================================================== > > --> > > <ant:property name="maven.dist.assembly.dir" > value="${maven.build.dir}/temp"/> > <ant:property name="maven.dist.bin.archive.dir" > value="${maven.dist.assembly.dir}/bin"/> > <ant:property name="maven.dist.src.archive.dir" > value="${maven.dist.assembly.dir}/src"/> > <ant:property name="maven.dist.bin.assembly.dir" > value="${maven.dist.assembly.dir}/bin/${pom.artifactId}"/> > <ant:property name="maven.dist.src.assembly.dir" > value="${maven.dist.assembly.dir}/src/${pom.artifactId}"/> > <ant:property name="maven.dist.dir" > value="${maven.build.dir}/distributions"/> > > <!-- > ============================================================================== > > structural properties > ============================================================================== > > --> > > <ant:property name="pom.organization.identifier" value="ASF"/> > <ant:property name="pom.specificationVersion" value="1.0"/> > > <!-- > ============================================================================== > > build the utilities package > ============================================================================== > > --> > > <goal name="avalon:build" description="Build the Repository."> > > <maven:reactor basedir="${basedir}" > includes="**/project.xml" > excludes="**/target/**,project.xml" > goals="" > banner="Building:" > ignoreFailures="false" > postProcessing="true" /> > <ant:copy todir="${maven.build.dir}/jars"> > <j:forEach var="child" items="${reactorProjects}"> > <ant:fileset dir="${child.file.parentFile}/target"> > <ant:include > name="${child.artifactId}-${child.currentVersion}.jar"/> > </ant:fileset> > </j:forEach> > </ant:copy> > <j:forEach var="child" items="${reactorProjects}"> > <j:set var="path" > value="${child.artifactId}-${child.currentVersion}.jar"/> > <checksum file="${maven.build.dir}/jars/${path}"/> > <j:if test="${maven_gpg_exe != null}"> > <ant:exec executable="${maven_gpg_exe}"> > <ant:arg value="-a"/> > <ant:arg value="--yes"/> > <ant:arg value="-b"/> > <ant:arg value="${maven.build.dir}/jars/${path}"/> > </ant:exec> > </j:if> > </j:forEach> > </goal> > > <goal name="avalon:clean" prereqs="clean"> > <maven:reactor > basedir="${basedir}" > includes="**/project.xml" > excludes="project.xml,**/target/**" > goals="clean:clean" > banner="Cleaning subproject:" > ignoreFailures="true"/> > </goal> > > <goal name="avalon:site"> > <maven:reactor basedir="${basedir}" > includes="project.xml" > goals="xjavadoc,site" > banner="Building site:" > ignoreFailures="false"/> > </goal> > > <goal name="avalon:dist" prereqs="avalon:build,avalon:site,xdist"> > </goal> > > <goal name="xdist" > prereqs="xdist:build" > description="Build a complete distribution."> > </goal> > > <goal > name="xdist:build" > prereqs="xdist:build-bin,xdist:build-src" > description="Build a complete distribution."> > </goal> > > <goal > name="xdist:build-setup" > description="Set up directories for a distribution build"> > <ant:delete dir="${maven.dist.dir}"/> > <ant:mkdir dir="${maven.dist.dir}"/> > <j:choose> > <j:when test="${avalon.snapshot}"> > <maven:snapshot project="${pom}"/> > <j:set var="timestamp" value="${snapshotSignature.substring(12)}"/> > <j:set var="build.name" value="${maven.final.name}-${timestamp}"/> > <echo>Snapshot Packaging: ${timestamp}</echo> > </j:when> > <j:otherwise> > <j:set var="build.name" value="${maven.final.name}"/> > <echo>Release Packaging: ${pom.currentVersion}</echo> > </j:otherwise> > </j:choose> > </goal> > > <goal > name="xdist:build-bin" > prereqs="xdist:build-setup,xdist:prepare-bin-filesystem" > description="Build the binary distribution."> > > <!-- Create a tar.gz file --> > <ant:tar longfile="gnu" > tarfile="${maven.dist.dir}/${build.name}-bin.tar"> > <ant:tarfileset dir="${maven.dist.bin.archive.dir}"/> > </ant:tar> > <ant:gzip > zipfile="${maven.dist.dir}/${build.name}-bin.tar.gz" > src="${maven.dist.dir}/${build.name}-bin.tar" > /> > <ant:delete file="${maven.dist.dir}/${build.name}-bin.tar"/> > <checksum file="${maven.dist.dir}/${build.name}-bin.tar.gz"/> > <j:if test="${maven_gpg_exe != null}"> > <ant:exec executable="${maven_gpg_exe}"> > <ant:arg value="-a"/> > <ant:arg value="-b"/> > <ant:arg value="${maven.dist.dir}/${build.name}-bin.tar.gz"/> > </ant:exec> > </j:if> > > <!-- Create a zip file --> > <ant:zip zipfile="${maven.dist.dir}/${build.name}-bin.zip"> > <ant:zipfileset dir="${maven.dist.bin.archive.dir}"/> > </ant:zip> > <checksum file="${maven.dist.dir}/${build.name}-bin.zip"/> > <j:if test="${maven_gpg_exe != null}"> > <ant:exec executable="${maven_gpg_exe}"> > <ant:arg value="-a"/> > <ant:arg value="-b"/> > <ant:arg value="${maven.dist.dir}/${build.name}-bin.zip"/> > </ant:exec> > </j:if> > </goal> > > <goal > name="xdist:build-src" > prereqs="xdist:build-setup,xdist:prepare-src-filesystem" > description="Build the source distribution."> > > <!-- Create a tar.gz file --> > <ant:tar longfile="gnu" > tarfile="${maven.dist.dir}/${build.name}-src.tar"> > <ant:tarfileset dir="${maven.dist.src.archive.dir}"/> > </ant:tar> > <ant:gzip > zipfile="${maven.dist.dir}/${build.name}-src.tar.gz" > src="${maven.dist.dir}/${build.name}-src.tar" > /> > <ant:delete file="${maven.dist.dir}/${build.name}-src.tar"/> > <checksum file="${maven.dist.dir}/${build.name}-src.tar.gz"/> > <j:if test="${maven_gpg_exe != null}"> > <ant:exec executable="${maven_gpg_exe}"> > <ant:arg value="-a"/> > <ant:arg value="-b"/> > <ant:arg value="${maven.dist.dir}/${build.name}-src.tar.gz"/> > </ant:exec> > </j:if> > > <!-- Create a zip file --> > <ant:zip zipfile="${maven.dist.dir}/${build.name}-src.zip"> > <ant:zipfileset dir="${maven.dist.src.archive.dir}"/> > </ant:zip> > <checksum file="${maven.dist.dir}/${build.name}-src.zip"/> > <j:if test="${maven_gpg_exe != null}"> > <ant:exec executable="${maven_gpg_exe}"> > <ant:arg value="-a"/> > <ant:arg value="-b"/> > <ant:arg value="${maven.dist.dir}/${build.name}-src.zip"/> > </ant:exec> > </j:if> > </goal> > > <goal > name="xdist:prepare-bin-filesystem" > description="Builds the binary files."> > > <ant:delete dir="${maven.dist.bin.assembly.dir}"/> > <ant:mkdir dir="${maven.dist.bin.assembly.dir}"/> > <ant:echo> > +-------------------------------------------------------+ > | C R E A T I N G B I N A R Y D I S T R I B U T I O N | > +-------------------------------------------------------+ > </ant:echo> > <ant:copy todir="${maven.dist.bin.assembly.dir}"> > <ant:fileset dir="."> > <ant:include name="LICENSE*"/> > <ant:include name="README*"/> > </ant:fileset> > </ant:copy> > > <!-- Copy Jars --> > <ant:copy todir="${maven.dist.bin.assembly.dir}"> > <ant:fileset dir="${maven.build.dir}"> > <ant:include name="jars/*.*"/> > <ant:include name="docs/**"/> > </ant:fileset> > </ant:copy> > </goal> > > <goal > name="xdist:prepare-src-filesystem" > description="Builds the source distribution file system."> > <ant:delete dir="${maven.dist.src.assembly.dir}" /> > <ant:mkdir dir="${maven.dist.src.assembly.dir}" /> > > <ant:echo> > +-------------------------------------------------------+ > | C R E A T I N G S O U R C E D I S T R I B U T I O N | > +-------------------------------------------------------+ > </ant:echo> > > <ant:copy todir="${maven.dist.src.assembly.dir}"> > <ant:fileset dir="."> > <ant:include name="LICENSE*"/> > <ant:include name="project.properties"/> > <ant:include name="maven.xml"/> > <ant:include name="project.xml"/> > </ant:fileset> > </ant:copy> > > <maven:reactor basedir="${basedir}" > includes="**/project.xml" > excludes="**/target/**,project.xml" > banner="Building:" > ignoreFailures="false" > postProcessing="true" /> > <ant:copy todir="${maven.dist.src.assembly.dir}"> > <j:forEach var="child" items="${reactorProjects}"> > <ant:fileset dir="${child.file.parentFile}"> > <ant:exclude name="**/target/**"/> > <ant:exclude name="**/*.log"/> > </ant:fileset> > </j:forEach> > </ant:copy> > > <ant:copy todir="${maven.dist.src.assembly.dir}/xdocs"> > <ant:fileset dir="xdocs"/> > </ant:copy> > > </goal> > > > <goal name="xjavadoc"> > <ant:mkdir dir="${maven.build.dir}/docs/api" /> > <ant:property name="copyright" > value="Copyright &copy; ${year} ${pom.organization.name}. All > Rights Reserved." /> > <ant:property name="title" value="${pom.name} ${pom.currentVersion}"/> > <ant:javadoc destdir="${maven.build.dir}/docs/api" > doctitle="<h1>${title}</h1>" > noindex="false" author="true" use="true" > windowtitle="${title}" > bottom="${copyright}" > additionalparam="-breakiterator -J-Xmx128m " > packagenames="*,org.*"> > <j:forEach var="packageGroup" items="${pom.packageGroups}"> > <group title="${packageGroup.title}" > packages="${packageGroup.packages}"/> > </j:forEach> > <sourcepath path="${basedir}/defaults/src/java"/> > <sourcepath path="${basedir}/env/src/java"/> > <sourcepath path="${basedir}/exception/src/java"/> > <sourcepath path="${basedir}/criteria/src/java"/> > <sourcepath path="${basedir}/extension/api/src/java"/> > <sourcepath path="${basedir}/extension/impl/src/java"/> > <classpath> > <path refid="maven.dependency.classpath"/> > </classpath> > <link href="http://java.sun.com/j2se/1.4.2/docs/api/" /> > </ant:javadoc> > </goal> > > </project> > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
