DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33532>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33532





------- Additional Comments From [EMAIL PROTECTED]  2005-02-12 18:16 -------
To prevent this from happening again, it might be a good idea to add a
"testjars" target that runs the unit tests against the distribution jars. I
don't know the velocity build well enough to do this correctly, but here is what
I learned chasing down the gump failure.

I was able reproduce the gump build failure (and verify that Brett's patch fixes
things) by making a making a copy of testcases.xml with the classpath modified 
to be

<path id="classpath">
  <fileset dir="${build.dir}">
    <include name="*.jar"/>
  </fileset>
  <pathelement location="${junit.jar}"/>
  <pathelement location="lib/servlet.jar"/>
  <pathelement location="lib/jdom-1.0.jar"/>
  <pathelement location="lib/werken.xpath.jar"/>
  <pathelement location="lib/antlr-runtime.jar"/>
</path>

then adding 

<target name="testjar"
  depends="compile,jar"
  description="--> Run the testcases against the jars">
  <ant antfile="testcases2.xml" target="test-all"/>
</target>

to build.xml and making dist depend on it.  

Before the patch, testjars as defined above fails in test-template with a
NoClassDefFoundError looking for collections LRUMap.  After the patch it 
succeeds.

The servlet jar is needed only by test-servlet and the other three are needed
only by test-anakia.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to