river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Firmstone <j...@zeus.net.au>
Subject Re: QA tests and spaces in file names
Date Thu, 15 Jul 2010 08:29:16 GMT
To run the tests manually, do the following:

   1. Copy the following files to JTlib-tmp; jsk-lib.jar,
      jsk-platform.jar, jsk-resources.jar, phoenix-init.jar, jsk-policy.jar
   2. Execute the following jtreg command from the trunk directory,
      change the paths to suit your environment.
   3. $ jtreg -verbose:all,nopass
      -jdk /usr/jdk/jdk1.5.0_15 -Djsk.home="/opt/src/river/trunk"
      -Djavatest.maxOutputSize=500000 -Djtlib.tmp=./qa/jtreg/JTlib-tmp

not sure if -cpa:./qa/jtreg/JTlib-tmp/* works, feel free to check.  
-cpa: stands for class path append.

Don't worry about any test failures, this might be due to the command, 
we're just checking if it's an Ant problem.

I can't actually test the command right now because I'm nowhere near my 
dev box and putty doesn't allow that many lines in a command.



Patricia Shanahan wrote:
> I've just tested 1.8.0, which is before the change in question, and it 
> still fails the same way. However, it is probably worth trying using 
> 1.7.1 just to remove Ant version as an issue.
> Patricia
> Peter Firmstone wrote:
>> I'm using ant version 1.7.1
>> Peter.
>> Patricia Shanahan wrote:
>>> Is anyone using the latest Ant version to run the River jtreg tests?
>>> I'm asking because of the following comment on the Commons 
>>> Developers mailing list:
>>> "Some change in Ant has broken the property handling in the Jelly/Ant
>>> integration.  By manually replacing jars in my local repository I found
>>> out that the tests pass with Ant 1.8.0 but fail with 1.8.1.
>>> Given that Ant's property handling has changed dramatically in 1.8.x 
>>> and
>>> Ant even marked this as a backwards incompatible change I'm rather
>>> surprised it still works with 1.8.0."
>>> I had not used Ant for a while when I started trying to get involved 
>>> in River, so I downloaded the latest.
>>> Patricia

View raw message