Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] CBI Eclipse Platform moved



On 3/27/2012 1:10 PM, Paul Webster wrote:
On Tue, Mar 27, 2012 at 3:40 PM, Ludmila Shikhvarg <Ludmila.Shikhvarg@xxxxxxxxxx> wrote:
Hi Everyone,

I've faced the problem to run automated tests with 3.x branch on windows.
Here are the steps:
1. copy org.eclipse.sdk.epp-win32. win32.x86.zip & eclipse-junit-tests-1.0.0- SNAPSHOT-bundle.zip in to D:/eclipse_CBI/test dir and unzip eclipse-junit-tests-1.0.0- SNAPSHOT-bundle.zip
2. runtests.bat -noclean -vm C:\jdk1.8.0\bin\java
unzip:  cannot find any matches for wildcard specification "eclipse-SDK-*.zip".

No zipfiles found.
checkdir:  cannot create extraction directory: eclipse/dropins
The system cannot find the path specified.
Error: Unable to access jarfile eclipse\plugins\org.eclipse. equinox.launcher_1.3.0. v20111107-1631.jar

3. Rename org.eclipse.sdk.epp-win32. win32.x86.zip to eclipse-SDK-win32.win32.x86. zip


setRuntimeArchive:
   [echo] setRuntimeArchive os win32 ws win32 arch x86
   [echo] runtimeArchive eclipse-SDK-201203150406- win32.zip !!!


It looks like at the very least it needs to be named eclipse-SDK-201203150406-win32.zip
Hi Paul,

I renamed org.eclipse.sdk.epp-win32. win32.x86.zip to eclipse-SDK-201203150406- win32.zip, but still the same error:
> runtests.bat -noclean -vm java
caution: filename not matched:  plugins/org.eclipse.test*
Buildfile: test.xml

all:

setJVMfromUserSpecified:

setJVMProperties:

equinoxp2:

junit:

setJVMfromUserSpecified:

setJVMProperties:

equinoxp2ui:

junit:

pdeui:

junit:

setRuntimeArchive:
     [echo] setRuntimeArchive os win32 ws win32 arch x86
     [echo] runtimeArchive eclipse-SDK-201203150406-win32.zip !!!

init:
    [mkdir] Created dir: D:\eclipse_CBI\test\results\xml
    [mkdir] Created dir: D:\eclipse_CBI\test\results\html
    [mkdir] Created dir: D:\eclipse_CBI\test\results\win32.win32.x86

setup:
     [echo] trying to find org.eclipse.pde.ui.tests_*
     [echo] trying to find

runSuite:

genResults:
     [copy] Warning: Could not find file D:\eclipse_CBI\test\eclipse\org.eclipse.pde.ui.tests.xml to copy.

BUILD FAILED
D:\eclipse_CBI\test\test.xml:945: The following error occurred while executing this line:
D:\eclipse_CBI\test\test.xml:640: The following error occurred while executing this line:
D:\eclipse_CBI\test\test.xml:407: The following error occurred while executing this line:
D:\eclipse_CBI\test\test.xml:432: The following error occurred while executing this line:
D:\eclipse_CBI\test\test.xml:469: stylesheet D:\eclipse_CBI\test\eclipse\plugins\org.eclipse.test_3.3.100.201203150406\JUNIT.XSL doesn't exist.

Total time: 1 second
An error has occurred. See the log file
D:\eclipse_CBI\test\workspace\.metadata\.log.

Any other suggestion?

-Ludmila

The runtests unzip an SDK to run the ant test file.

The test.xml ant test file unzips the SDK again, uses p2 to install the tests into that SDK, and expects them to be in directory (as opposed to jar) format so it can find eclipse/plugins/org.whatever.test_XXX/test.xml

In your error message, the test.xml can't extract the test SDK to install the tests into, and that more or less stops.

Later,
PW

--
Paul Webster
Hi floor.  Make me a sammich! - GIR


_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev

Back to the top