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 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

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

Back to the top