From: <rl...@jb...> - 2005-08-03 21:19:49
|
Looking at your log file I see a number of things that raise flags. First off: _buildmagic:init: | [property] Loading /opt/java/jboss-cvs/jboss-4.0/build/local.properties | Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/config/LibrarySet.class from /opt/java/jboss-cvs/jboss-4.0/tools/lib/README | Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/MissingAttributeException.class from /opt/java/jboss-cvs/jboss-4.0/tools/lib/README | Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/jboss/tools/buildmagic/task/module/ExecuteModules.class from /opt/java/jboss-cvs/jboss-4.0/tools/lib/README The target _buildmagic:init: is being executed here. This target is located in tools/etc/buildmagic/buildmagic.ent. The target works like this (important stuff in bold): <!-- Setup the project environment. --> | <dirname property="project.root" file="${basedir}"/> | <property name="project.build" value="${project.root}/build"/> | <property name="project.tools" value="${project.root}/tools"/> | <property name="project.thirdparty" value="${project.root}/thirdparty"/> | | <!-- Setup the module environment. --> | <property name="module.root" value="${basedir}"/> | <property file="${module.root}/local.properties"/> | <property name="module.source" value="${module.root}/src"/> | <property name="module.output" value="${module.root}/output"/> | <property name="module.tools" value="${module.root}/tools"/> | <property name="module.thirdparty" value="${module.root}/thirdparty"/> | | <!-- Load Buildmagic extention tasks. --> | <property name="buildmagic.local.classpath" value="."/> | <path id="buildmagic.task.classpath"> | <fileset dir="${project.tools}/lib"> | <include name="*"/> | </fileset> | <pathelement location="${project.tools}/lib"/> | <pathelement location="${project.tools}/etc"/> | <pathelement location="${project.tools}"/> | <pathelement path="${buildmagic.local.classpath}"/> | </path> | <taskdef file="${project.tools}/etc/buildmagic/autoload.properties" | classpathref="buildmagic.task.classpath"/> | <taskdef name="property" classname="org.jboss.tools.buildmagic.task.Property" | classpathref="buildmagic.task.classpath"/> Basically, 1) Read in a property file 2) Make a classpath 3) Create some taskdefs From your logfile, it looks like it is trying to resolve the task definiton to this classpath: /opt/java/jboss-cvs/jboss-4.0/tools/lib/README Which is obviously bad. Things for you to verify: Are all of the files in tools/lib? You should be able to see many jars there. What does buildmagic.task.classpath resolve to? You can add an echo message to the init target and verify this. Something like: <property name="cp" refid="buildmagic.task.classpath"/> | <echo message="Classpath is ${cp}"/> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888286#3888286 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888286 |