This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 350 - ant dom[1|2]-core-dist build copies jsunit from wrong location
Summary: ant dom[1|2]-core-dist build copies jsunit from wrong location
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 2 (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-28 20:54 UTC by Bob Clary
Modified: 2003-11-19 16:24 UTC (History)
0 users

See Also:


Attachments
patch v 0 (2.65 KB, patch)
2003-09-28 20:55 UTC, Bob Clary
Details
patch v 1 (5.02 KB, patch)
2003-09-29 01:07 UTC, Bob Clary
Details
patch v 2 (1.57 KB, patch)
2003-11-19 10:57 UTC, Bob Clary
Details

Description Bob Clary 2003-09-28 20:54:35 UTC
dom2-core-dist:
    [mkdir] Created dir:
E:\cygwin\home\bclary\cvs-w3\2001\DOM-Test-Suite\build\level2\core\resources
    [mkdir] Created dir:
E:\cygwin\home\bclary\cvs-w3\2001\DOM-Test-Suite\build\level2\core\java
     [copy] Copying 1 file to
E:\cygwin\home\bclary\cvs-w3\2001\DOM-Test-Suite\build\level2\core
     [copy] Copying 5 files to
E:\cygwin\home\bclary\cvs-w3\2001\DOM-Test-Suite\build\level2\core\resources
     [copy] Copying 1 file to
E:\cygwin\home\bclary\cvs-w3\2001\DOM-Test-Suite\build\level2\core\java
     [copy] Copying 1 file to
E:\cygwin\home\bclary\cvs-w3\2001\DOM-Test-Suite\build\level2\core\java
     [copy] Copying 1 file to
E:\cygwin\home\bclary\cvs-w3\2001\DOM-Test-Suite\build\level2\core\java
     [copy] Copying 1 file to
E:\cygwin\home\bclary\cvs-w3\2001\DOM-Test-Suite\build\level2\core\java

BUILD FAILED
file:E:/cygwin/home/bclary/cvs-w3/2001/DOM-Test-Suite/build.xml:1681: Warning:
Could not find file E:\cygwin\home\bclary\cvs-w3\2001
\DOM-Test-Suite\lib\jsunit\testRunner.html to copy.

ant dom2-core-dist attempts to copy files from ${lib.dir}/jsunit however
jsunit.zip was not unzipped into ${lib.dir} by jsunit-get. In fact, jsunit-get
unzips jsunit.zip into ${build.dir} while performing some replacement edits to
fix two bugs in jsunit prior to 1.3.3. 

dom2-core-dist should copy from ${build.dir}/ecmascript/jsunit instead of
${lib.dir}/jsunit
Comment 1 Bob Clary 2003-09-28 20:55:47 UTC
Created attachment 46 [details]
patch v 0
Comment 2 Bob Clary 2003-09-29 01:05:43 UTC
same issue for dom1 core
Comment 3 Bob Clary 2003-09-29 01:07:32 UTC
Created attachment 47 [details]
patch v 1

changes for dom1-core-dist and dom2-core-dist
Comment 4 Bob Clary 2003-11-19 10:47:04 UTC
ant dom1-core-dist results in:

BUILD FAILED
... /2001/DOM-Test-Suite/build.xml:594: 
...\2001\DOM-Test-Suite\lib\jsunit\app not found.
Comment 5 Bob Clary 2003-11-19 10:57:26 UTC
Created attachment 59 [details]
patch v 2

add dom 1 core that was missed.
Comment 6 Curt Arnold 2003-11-19 11:24:36 UTC
Second patch applied